Allow decimal values

This commit is contained in:
2024-07-06 22:34:18 +02:00
parent 73b0640637
commit 3c82f4f06b
2 changed files with 13 additions and 13 deletions

View File

@ -2,8 +2,8 @@
CREATE TABLE `Object` (
`id` VARCHAR(191) NOT NULL,
`name` VARCHAR(191) NOT NULL,
`origin_x` INTEGER NOT NULL DEFAULT 0,
`origin_y` INTEGER NOT NULL DEFAULT 0,
`origin_x` DECIMAL(65, 30) NOT NULL DEFAULT 0,
`origin_y` DECIMAL(65, 30) NOT NULL DEFAULT 0,
`createdAt` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`updatedAt` DATETIME(3) NOT NULL,