Plugin: BigBlueButton: Add check on existing plugin_bbb_meeting_format table before creating

pull/4080/head
Yannick Warnier 4 years ago
parent 84cca097e3
commit 82e96ae9ff
  1. 12
      plugin/bbb/lib/bbb_plugin.class.php

@ -231,12 +231,12 @@ class BBBPlugin extends Plugin
);
Database::query(
"CREATE TABLE plugin_bbb_meeting_format (
id int unsigned not null PRIMARY KEY AUTO_INCREMENT,
meeting_id int unsigned not null,
format_type varchar(255) not null,
resource_url text not null
);"
"CREATE TABLE IF NOT EXISTS plugin_bbb_meeting_format (
id int unsigned not null PRIMARY KEY AUTO_INCREMENT,
meeting_id int unsigned not null,
format_type varchar(255) not null,
resource_url text not null
);"
);
// Copy icons into the main/img/icons folder

Loading…
Cancel
Save