Skip to content
Snippets Groups Projects
Commit 9ea2c484 authored by Otto Visser's avatar Otto Visser
Browse files

Merge branch 'add-missing-migrations' into 'development'

Add missing migrations

See merge request !632
parents 41400ec8 e9f60a74
Branches
Tags
2 merge requests!632Add missing migrations,!630New release
......@@ -846,6 +846,29 @@ databaseChangeLog:
referencedColumnNames: id
referencedTableName: lab
validate: true
- changeSet:
id: update-jitsi-direction-modes
author: Ruben Backx
changes:
- sql:
comment: Set all existing online labs to JITSI online mode
sql: insert into lab_online_modes (lab_id, online_modes) select id, 0 from lab where communication_method = 'JITSI_MEET';
- changeSet:
id: update-jitsi-direction-request-modes-1
author: Ruben Backx
changes:
- sql:
comment: (MariaDB) Set all existing online requests to JITSI online mode
dbms: mariadb
sql: update lab_request as lr inner join lab as l inner join request as r on r.session_id = l.id and r.id = lr.id set lr.online_mode = 0 where l.communication_method = 'JITSI_MEET';
- changeSet:
id: update-jitsi-direction-request-modes-2
author: Ruben Backx
changes:
- sql:
comment: (PGSQL) Set all existing online requests to JITSI online mode
dbms: postgresql
sql: update lab_request as lr set online_mode = 0 from lab as l, request as r where r.session_id = l.id and r.id = lr.id and l.communication_method = 'JITSI_MEET';
- changeSet:
id: 1665319404891-M1
author: Henry Page
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment