Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ce1eda606 |
@@ -0,0 +1,10 @@
|
|||||||
|
-- AlterTable: GeneratedQuotes — add columns missing from prior db push
|
||||||
|
ALTER TABLE "GeneratedQuotes" ADD COLUMN "quoteRegenParams" JSONB NOT NULL DEFAULT '{}';
|
||||||
|
ALTER TABLE "GeneratedQuotes" ADD COLUMN "quoteRegenHash" TEXT NOT NULL DEFAULT '';
|
||||||
|
ALTER TABLE "GeneratedQuotes" ADD COLUMN "downloads" JSONB NOT NULL DEFAULT '[]';
|
||||||
|
|
||||||
|
-- AlterTable: GeneratedQuotes — set default on existing quoteRegenData column
|
||||||
|
ALTER TABLE "GeneratedQuotes" ALTER COLUMN "quoteRegenData" SET DEFAULT '{}';
|
||||||
|
|
||||||
|
-- CreateIndex
|
||||||
|
CREATE UNIQUE INDEX "GeneratedQuotes_quoteRegenHash_key" ON "GeneratedQuotes"("quoteRegenHash");
|
||||||
Reference in New Issue
Block a user