Skip to content

Commit 9deb2a8

Browse files
author
Matti Maier
committed
install script fix
1 parent fe76081 commit 9deb2a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

BNote/install.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,12 +795,16 @@ function process_databaseConfig() {
795795
`group` int(11) NOT NULL
796796
) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
797797

798-
array_push($queries,
799-
"CREATE TABLE IF NOT EXISTS `rehearsal_group` (
798+
array_push($queries, "CREATE TABLE IF NOT EXISTS `rehearsal_group` (
800799
`rehearsal` int(11) NOT NULL,
801800
`group` int(11) NOT NULL
802801
) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
803802

803+
array_push($queries, "CREATE TABLE IF NOT EXISTS `concert_group` (
804+
`concert` int(11) NOT NULL,
805+
`group` int(11) NOT NULL
806+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
807+
804808
foreach($queries as $i => $query) {
805809
$db->execute($query);
806810
}

0 commit comments

Comments
 (0)