forked from noxious/server
DB updates, removed all CRUD func's from repositories as prisma's func's are sufficient and reduces boilerplate.
This commit is contained in:
12
prisma/migrations/20240722001138_field_updates/migration.sql
Normal file
12
prisma/migrations/20240722001138_field_updates/migration.sql
Normal file
@ -0,0 +1,12 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `Item` MODIFY `description` VARCHAR(191) NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `Zone` MODIFY `width` INTEGER NOT NULL DEFAULT 10,
|
||||
MODIFY `height` INTEGER NOT NULL DEFAULT 10,
|
||||
MODIFY `tiles` JSON NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `ZoneObject` MODIFY `depth` INTEGER NOT NULL DEFAULT 0,
|
||||
MODIFY `position_x` INTEGER NOT NULL DEFAULT 0,
|
||||
MODIFY `position_y` INTEGER NOT NULL DEFAULT 0;
|
Reference in New Issue
Block a user