Skip to content

Commit

Permalink
Update database initialisation
Browse files Browse the repository at this point in the history
Update database initialisation, fixing issue saving commands
  • Loading branch information
samerton committed Aug 13, 2018
1 parent a4f2612 commit 0204ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/modules/Websend/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

try {
if(!$queries->tableExists('websend_commands')){
$queries->createTable('websend_commands', ' `id` int(11) NOT NULL AUTO_INCREMENT, `hook` varchar(64) NOT NULL, `command` text NOT NULL, `enabled` tinyint(1) NOT NULL DEFAULT \'0\', PRIMARY KEY (`id`)', "ENGINE=$engine DEFAULT CHARSET=$charset");
$queries->createTable('websend_commands', ' `id` int(11) NOT NULL AUTO_INCREMENT, `hook` varchar(64) NOT NULL, `commands` mediumtext NOT NULL, `enabled` tinyint(1) NOT NULL DEFAULT \'0\', PRIMARY KEY (`id`)', "ENGINE=$engine DEFAULT CHARSET=$charset");
}
} catch(Exception $e){
$ws_db_err = true;
Expand Down

0 comments on commit 0204ad5

Please sign in to comment.