mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-08-29 05:52:08 -04:00
fix bugs
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
-- migrate:up
|
||||
INSERT INTO "system" ("category", "key", "value", "type", "desc", "created_at", "updated_at")
|
||||
SELECT 'subscribe', 'ShowTutorial', 'true', 'bool', 'Show tutorial section on the user document page', '2025-04-22 14:25:16.639', '2025-04-22 14:25:16.639'
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM "system" WHERE "category" = 'subscribe' AND "key" = 'ShowTutorial'
|
||||
);
|
||||
|
||||
-- migrate:down
|
||||
DELETE FROM "system" WHERE "category" = 'subscribe' AND "key" = 'ShowTutorial';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user