Skip to content

Commit a7517c5

Browse files
author
xyzjesper
committed
Added migrations
1 parent 8642119 commit a7517c5

File tree

20 files changed

+232
-0
lines changed

20 files changed

+232
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- AlterTable
2+
ALTER TABLE "public"."LevelSettings" ADD COLUMN "XPDropsMessageChannelId" TEXT,
3+
ADD COLUMN "XPStreaksMessageChannelId" TEXT;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- AlterTable
2+
ALTER TABLE "public"."LevelSettings" ADD COLUMN "XPStreaksIncreaseType" TEXT[];
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `UUID` on the `XPStreaks` table. All the data in the column will be lost.
5+
6+
*/
7+
-- DropIndex
8+
DROP INDEX "public"."XPStreaks_UUID_key";
9+
10+
-- AlterTable
11+
ALTER TABLE "public"."XPStreaks" DROP COLUMN "UUID";
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `ChannelId` on the `XPStreaks` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "public"."LevelSettings" ADD COLUMN "XPStreaksChannelId" TEXT;
9+
10+
-- AlterTable
11+
ALTER TABLE "public"."XPStreaks" DROP COLUMN "ChannelId";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `RemoveTypes` on the `XPStreaks` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "public"."XPStreaks" DROP COLUMN "RemoveTypes";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `XPStreaksChannelId` on the `LevelSettings` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "public"."LevelSettings" DROP COLUMN "XPStreaksChannelId";
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `XPDropsMessageChannelId` on the `LevelSettings` table. All the data in the column will be lost.
5+
- You are about to drop the column `XPDropsMessageType` on the `LevelSettings` table. All the data in the column will be lost.
6+
7+
*/
8+
-- AlterTable
9+
ALTER TABLE "public"."LevelSettings" DROP COLUMN "XPDropsMessageChannelId",
10+
DROP COLUMN "XPDropsMessageType",
11+
ADD COLUMN "XPDropsMessageTemplate" TEXT;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `ClaimType` on the `XPDrops` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "public"."XPDrops" DROP COLUMN "ClaimType",
9+
ADD COLUMN "LastSpawned" TEXT;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- AlterTable
2+
ALTER TABLE "public"."XPDrops" ALTER COLUMN "ExpireTime" SET DATA TYPE TEXT;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- AlterTable
2+
ALTER TABLE "public"."Levels" ADD COLUMN "ClaimedXPDrops" TEXT[],
3+
ADD COLUMN "CurrentStreakDay" INTEGER;
4+
5+
-- AlterTable
6+
ALTER TABLE "public"."TicketSetups" ADD COLUMN "TicketSettings" TEXT[];

0 commit comments

Comments
 (0)