aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2023-08-23 00:15:30 -0400
committerGitHub <noreply@github.com>2023-08-23 00:15:30 -0400
commit069f1ed9a4651dd2598a513d94278a400a04e5a7 (patch)
tree4e2455a2aab10daba29985bffe15183ab09bb5d8 /docs/dev
parent1112a71ea5279a29666d54f07ef101480519fd16 (diff)
db: migrate `admin.go` to `notices.go` with GORM (#7536)
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/database_schema.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/dev/database_schema.md b/docs/dev/database_schema.md
index e33321e3..b49cca3e 100644
--- a/docs/dev/database_schema.md
+++ b/docs/dev/database_schema.md
@@ -116,3 +116,16 @@ Primary keys: repo_id, oid
Primary keys: id
```
+# Table "notice"
+
+```
+ FIELD | COLUMN | POSTGRESQL | MYSQL | SQLITE3
+--------------+--------------+------------+-----------------------+----------
+ ID | id | BIGSERIAL | BIGINT AUTO_INCREMENT | INTEGER
+ Type | type | BIGINT | BIGINT | INTEGER
+ Description | description | TEXT | TEXT | TEXT
+ CreatedUnix | created_unix | BIGINT | BIGINT | INTEGER
+
+Primary keys: id
+```
+