Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Apr 26, 2024
1 parent 1d53952 commit 70085da
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
14 changes: 8 additions & 6 deletions ee/tabby-db/schema/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ 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,
Expand Down Expand Up @@ -144,15 +150,11 @@ 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
);
CREATE TABLE gitlab_repository_provider(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
display_name TEXT NOT NULL,
access_token TEXT
access_token TEXT,
synced_at TIMESTAMP
);
CREATE TABLE gitlab_provided_repositories(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
Expand Down
8 changes: 8 additions & 0 deletions ee/tabby-db/schema/schema.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions ee/tabby-webserver/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ input UpdateRepositoryProviderInput {
type GitlabRepositoryProvider {
id: ID!
displayName: String!
connected: Boolean!
status: RepositoryProviderStatus!
}

enum Language {
Expand Down Expand Up @@ -119,6 +119,12 @@ type UserConnection {
pageInfo: PageInfo!
}

enum RepositoryProviderStatus {
READY
PENDING
ERROR
}

type DiskUsageStats {
events: DiskUsage!
indexedRepositories: DiskUsage!
Expand All @@ -142,7 +148,7 @@ type ServerInfo {
type GithubRepositoryProvider {
id: ID!
displayName: String!
connected: Boolean!
status: RepositoryProviderStatus!
}

input PasswordChangeInput {
Expand Down

0 comments on commit 70085da

Please sign in to comment.