Improved validation, added tags field to objects, fixed and improved character delete logics
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `Object` ADD COLUMN `tags` JSON NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `Tile` MODIFY `tags` JSON NULL;
|
@ -22,7 +22,7 @@ datasource db {
|
||||
model Tile {
|
||||
id String @id @default(uuid())
|
||||
name String
|
||||
tags Json
|
||||
tags Json?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
@ -30,6 +30,7 @@ model Tile {
|
||||
model Object {
|
||||
id String @id @default(uuid())
|
||||
name String
|
||||
tags Json?
|
||||
origin_x Decimal @default(0)
|
||||
origin_y Decimal @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
|
Reference in New Issue
Block a user