|
|
|
@ -610,32 +610,35 @@ REPLACE INTO `exercise_tree` (`tree_id`, `name`, `image_url`, `active`) VALUES
|
|
|
|
|
(18, 'Thigh', 'images/2.1.4.squats.png', 1),
|
|
|
|
|
(19, 'Calf', 'images/2.1.4.squats.png', 1),
|
|
|
|
|
(20, 'Back', 'images/2.2.1.5.shoulders.png', 1);
|
|
|
|
|
(21, 'Test Center', 'images/2.2.1.5.shoulders.png', 1);
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `exercise_tree_parents` (
|
|
|
|
|
`exercise_tree_parents_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`exercise_tree_parent_id` int(11) NOT NULL DEFAULT 0,
|
|
|
|
|
`exercise_tree_child_id` int(11) NOT NULL DEFAULT 0,
|
|
|
|
|
`sort` INT(3) NULL DEFAULT '0',
|
|
|
|
|
PRIMARY KEY (`exercise_tree_parents_id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
|
|
|
|
|
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (15, 0, 3);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (16, 0, 4);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (17, 0, 5);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (18, 2, 6);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (19, 3, 7);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (20, 3, 8);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (21, 4, 9);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (22, 4, 10);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (23, 5, 11);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (24, 5, 12);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (25, 5, 13);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (26, 9, 14);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (27, 9, 15);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (28, 9, 16);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (29, 9, 17);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (30, 9, 18);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (31, 9, 19);
|
|
|
|
|
REPLACE INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`) VALUES (32, 9, 20);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (15, 0, 3, 3);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (16, 0, 4, 2);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (17, 0, 5, 4);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (18, 2, 6, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (20, 3, 8, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (19, 3, 7, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (21, 4, 9, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (22, 4, 10, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (32, 9, 20, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (31, 9, 19, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (30, 9, 18, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (29, 9, 17, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (28, 9, 16, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (27, 9, 15, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (26, 9, 14, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (46, 10, 20, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (47, 10, 15, 0);
|
|
|
|
|
INSERT INTO `exercise_tree_parents` (`exercise_tree_parents_id`, `exercise_tree_parent_id`, `exercise_tree_child_id`, `sort`) VALUES (49, 0, 21, 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Struktúra mentése tábla aitrainer2. exercise_tree_translation
|
|
|
|
@ -928,7 +931,7 @@ CREATE TABLE `tracking` (
|
|
|
|
|
`customer_id` INT(20) NOT NULL DEFAULT '0',
|
|
|
|
|
`date_add` DATETIME NOT NULL,
|
|
|
|
|
`event` CHAR(100) NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|
`event_value` CHAR(100) NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|
`event_value` TEXT NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|
`area` CHAR(100) NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|
`platform` CHAR(20) NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|
`version` CHAR(20) NULL DEFAULT NULL COLLATE 'utf8_hungarian_ci',
|
|
|
|
|