forked from noxious/server
code refractor
This commit is contained in:
12
prisma/migrations/20240504233358_init/migration.sql
Normal file
12
prisma/migrations/20240504233358_init/migration.sql
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to alter the column `tiles` on the `Map` table. The data in that column could be lost. The data in that column will be cast from `VarChar(191)` to `Json`.
|
||||
- Added the required column `height` to the `Map` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `width` to the `Map` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE `Map` ADD COLUMN `height` INTEGER NOT NULL,
|
||||
ADD COLUMN `width` INTEGER NOT NULL,
|
||||
MODIFY `tiles` JSON NOT NULL;
|
Reference in New Issue
Block a user