Version Estable
This commit is contained in:
13
prisma/migrations/20250917044008_modals/migration.sql
Normal file
13
prisma/migrations/20250917044008_modals/migration.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- RedefineTables
|
||||
PRAGMA defer_foreign_keys=ON;
|
||||
PRAGMA foreign_keys=OFF;
|
||||
CREATE TABLE "new_Guild" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"name" TEXT NOT NULL,
|
||||
"prefix" TEXT NOT NULL DEFAULT '!'
|
||||
);
|
||||
INSERT INTO "new_Guild" ("id", "name") SELECT "id", "name" FROM "Guild";
|
||||
DROP TABLE "Guild";
|
||||
ALTER TABLE "new_Guild" RENAME TO "Guild";
|
||||
PRAGMA foreign_keys=ON;
|
||||
PRAGMA defer_foreign_keys=OFF;
|
||||
Reference in New Issue
Block a user