database changes

parent 21882df4
Showing with 8 additions and 0 deletions
......@@ -15,3 +15,11 @@ En sails/src lanzar `npm install` para instalar nuevos paquetes
# Changes for new grid system
-- Rename columns
RENAME TABLE `scene` TO `grid`;
ALTER TABLE `stu_picto` CHANGE `id_scene` `id_grid` INTEGER(11) NOT NULL;
ALTER TABLE `student` CHANGE `id_active_scene` `id_active_grid` INTEGER(11) NULL;
-- Add new column
ALTER TABLE `stu_picto` ADD `id_child_grid` INTEGER(11) NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment