diff options
author | Joe Chen <jc@unknwon.io> | 2022-06-05 18:08:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 18:08:59 +0800 |
commit | 4cc3000b07edf80939cde550c6b259ecd980eadb (patch) | |
tree | 8fe4959117cdf2349d3fafc871fd13c289d4e617 /docs/dev | |
parent | a328e7ccc4f94e19cddfe5894636228663f5c7fa (diff) |
schemadoc: print table indexes (#7012)
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/database_schema.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/dev/database_schema.md b/docs/dev/database_schema.md index 82070f7e..a5d6641d 100644 --- a/docs/dev/database_schema.md +++ b/docs/dev/database_schema.md @@ -9,6 +9,8 @@ Mode | mode | BIGINT NOT NULL | BIGINT NOT NULL | INTEGER NOT NULL Primary keys: id +Indexes: + "access_user_repo_unique" UNIQUE (user_id, repo_id) ``` # Table "access_token" @@ -25,6 +27,8 @@ Primary keys: id UpdatedUnix | updated_unix | BIGINT | BIGINT | INTEGER Primary keys: id +Indexes: + "idx_access_token_user_id" (uid) ``` # Table "lfs_object" |