1
0
forked from noxious/server
2024-05-05 02:58:36 +02:00

13 lines
599 B
SQL

/*
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;