feat: 创建数据库
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- 初始配置锁行;可重复执行,绝不覆盖已经导入的页面、版本或 enabled=false。
|
||||
-- 不插入假用户、假题型或生产管理员;不启动任何调度器。
|
||||
BEGIN;
|
||||
SET LOCAL TIME ZONE 'UTC';
|
||||
|
||||
INSERT INTO public.page_configs (id, home, category, age, version)
|
||||
VALUES ('current', NULL, NULL, NULL, 0)
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
INSERT INTO public.settings (id, value, version)
|
||||
VALUES ('homeAutoRefresh', '{"enabled": true}'::jsonb, 0)
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user