forked from noxious/server
DB adjustments
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `isEnemy` on the `Sprite` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `isPlayableCharacter` on the `Sprite` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `type` on the `Sprite` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE `Object` ADD COLUMN `frameHeight` INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN `frameSpeed` INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN `frameWidth` INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN `isAnimated` BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `Sprite` DROP COLUMN `isEnemy`,
|
||||
DROP COLUMN `isPlayableCharacter`,
|
||||
DROP COLUMN `type`,
|
||||
ADD COLUMN `frameHeight` INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN `frameWidth` INTEGER NOT NULL DEFAULT 0;
|
Reference in New Issue
Block a user