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,4 +1,3 @@
|
||||
-- migrate:up
|
||||
CREATE TABLE IF NOT EXISTS "withdrawals" (
|
||||
"id" BIGINT GENERATED BY DEFAULT AS IDENTITY NOT NULL,
|
||||
"user_id" BIGINT NOT NULL,
|
||||
@@ -15,9 +14,3 @@ INSERT INTO "system" ("category", "key", "value", "type", "desc", "created_at",
|
||||
VALUES
|
||||
('invite', 'WithdrawalMethod', '', 'string', 'withdrawal method', '2025-04-22 14:25:16.637', '2025-04-22 14:25:16.637') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- migrate:down
|
||||
DROP TABLE IF EXISTS "withdrawals";
|
||||
DELETE FROM "system"
|
||||
WHERE "category" = 'invite'
|
||||
AND "key" = 'WithdrawalMethod';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user