fixed migration scripts

This commit is contained in:
anhefti 2021-02-10 18:36:38 +01:00
parent 7e40cec488
commit 2016254090
2 changed files with 6 additions and 9 deletions

View file

@ -15,13 +15,13 @@ CREATE TABLE IF NOT EXISTS `remote_proctoring_room` (
REFERENCES `exam` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
-- -----------------------------------------------------
-- Alter Table `remote_proctoring_room`
-- -----------------------------------------------------
ALTER TABLE `remote_proctoring_room`
ADD COLUMN IF NOT EXISTS `townhall_room` INT(1) NOT NULL DEFAULT 0;
-- -----------------------------------------------------
-- Alter Table `client_connection`
-- -----------------------------------------------------

View file

@ -1,6 +1,6 @@
INSERT INTO view (name, columns, position, template_id) VALUES
('proctoring', 12, 12, 0);
SET @proct_view_id = LAST_INSERT_ID();
@ -39,9 +39,9 @@ INSERT IGNORE INTO configuration_attribute VALUES
(1132, 'jitsiMeetSendAudio', 'CHECKBOX', null, null, null, null, 'true'),
(1133, 'jitsiMeetSendVideo', 'CHECKBOX', null, null, null, null, 'true')
;
UPDATE orientation SET width='4' WHERE id='68';
INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group_id, x_position, y_position, width, height, title) VALUES
(942, 0, 5, 'quitLink', 4, 5, 4, 1, 'NONE'),
@ -74,7 +74,4 @@ INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group
(1125, 0, @proct_view_id, 'ai_faces_angle', 0, 11, 6, 1, 'NONE'),
(1124, 0, @proct_view_id, 'ai_faces_angle', 0, 12, 6, 1, 'NONE'),
(1121, 0, @proct_view_id, 'ai_faces_angle', 0, 13, 6, 1, 'NONE')
;
;