ExerciseTree getActiveMenu items
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ ENGINE=InnoDB
|
||||
;
|
||||
|
||||
CREATE TABLE `exercise_tree` (
|
||||
`item_id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`tree_id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`parent_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`name` CHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
|
||||
`image_url` CHAR(200) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
ALTER TABLE `exercise_type`
|
||||
ADD COLUMN `tree_id` INT(12) DEFAULT 0 AFTER `exercise_type_id`;
|
||||
ALTER TABLE `exercise_type`
|
||||
ADD COLUMN `active` TINYINT(1) NULL DEFAULT NULL AFTER `unit_quantity_unit`;
|
||||
ALTER TABLE `exercise_type`
|
||||
DROP COLUMN `video`;
|
||||
|
||||
Reference in New Issue
Block a user