From 11673e844bdaf562c1eafd5d0a7ccc7012cc8948 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 19:20:27 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- ee/tabby-db/schema/schema.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ee/tabby-db/schema/schema.sql b/ee/tabby-db/schema/schema.sql index 7877f0cfe181..30bee964deb0 100644 --- a/ee/tabby-db/schema/schema.sql +++ b/ee/tabby-db/schema/schema.sql @@ -98,12 +98,6 @@ CREATE INDEX user_completions_completion_id_idx ON user_completions( ); CREATE INDEX idx_job_created_at ON job_runs(job, created_at); CREATE INDEX idx_repository_name ON repositories(name); -CREATE TABLE github_repository_provider( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - display_name TEXT NOT NULL, - access_token TEXT, - synced_at TIMESTAMP -); CREATE INDEX idx_user_completion_user_id_created_at_language ON user_completions( user_id, created_at, @@ -150,6 +144,12 @@ CREATE TABLE password_reset( created_at TIMESTAMP NOT NULL DEFAULT(DATETIME('now')), FOREIGN KEY(user_id) REFERENCES users(id) ); +CREATE TABLE github_repository_provider( + id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + display_name TEXT NOT NULL, + access_token TEXT, + synced_at TIMESTAMP +); CREATE TABLE gitlab_repository_provider( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, display_name TEXT NOT NULL,