add MySQL + PG down.sql

This commit is contained in:
Ember Moth
2026-07-05 20:36:25 +08:00
parent 7b3a94308f
commit 67bfc9bd72
78 changed files with 778 additions and 0 deletions
@@ -0,0 +1,7 @@
INSERT INTO `system` (`category`, `key`, `value`, `type`, `desc`, `created_at`, `updated_at`)
SELECT 'site', 'CustomData', '{
"kr_website_id": ""
}', 'string', 'Custom Data', '2025-04-22 14:25:16.637', '2025-10-14 15:47:19.187'
WHERE NOT EXISTS (
SELECT 1 FROM `system` WHERE `category` = 'site' AND `key` = 'CustomData'
);