mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
* Add scaffolding * Move migration * Add endpoints for gitauth * Add configuration files and tests! * Update typesgen * Convert configuration format for git auth * Fix unclosed database conn * Add overriding VS Code configuration * Fix Git screen * Write VS Code special configuration if providers exist * Enable automatic cloning from VS Code * Add tests for gitaskpass * Fix feature visibiliy * Add banner for too many configurations * Fix update loop for oauth token * Jon comments * Add deployment config page
11 lines
312 B
SQL
11 lines
312 B
SQL
CREATE TABLE IF NOT EXISTS git_auth_links (
|
|
provider_id text NOT NULL,
|
|
user_id uuid NOT NULL,
|
|
created_at timestamptz NOT NULL,
|
|
updated_at timestamptz NOT NULL,
|
|
oauth_access_token text NOT NULL,
|
|
oauth_refresh_token text NOT NULL,
|
|
oauth_expiry timestamptz NOT NULL,
|
|
UNIQUE(provider_id, user_id)
|
|
);
|