feat(db): 0000 站点域——sites/site_config_revisions + 唯一约束

drizzle-kit 首个迁移从 0000 起编号(计划文案写 0001,以实际产出为准)。
迁移文件 + meta/_journal.json + snapshot 一并入库。

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-20 19:17:16 +08:00
parent 7720d66630
commit 63830f249e
5 changed files with 254 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1792494963444,
"tag": "0000_pale_sumo",
"breakpoints": true
}
]
}