mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-16 21:18:28 +00:00
Start moving migration stuff!
This commit is contained in:
11
migrations/dlu/mysql/6_property_behaviors.sql
Normal file
11
migrations/dlu/mysql/6_property_behaviors.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE properties_contents
|
||||
ADD COLUMN model_name TEXT NOT NULL DEFAULT "",
|
||||
ADD COLUMN model_description TEXT NOT NULL DEFAULT "",
|
||||
ADD COLUMN behavior_1 INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN behavior_2 INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN behavior_3 INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN behavior_4 INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN behavior_5 INT NOT NULL DEFAULT 0;
|
||||
|
||||
UPDATE properties_contents SET model_name = CONCAT("Objects_", lot, "_name") WHERE model_name = "";
|
||||
CREATE TABLE IF NOT EXISTS behaviors (id INT NOT NULL, behavior_info TEXT NOT NULL);
|
||||
Reference in New Issue
Block a user