Skip to content

Commit 0204ad5

Browse files
committed
Update database initialisation
Update database initialisation, fixing issue saving commands
1 parent a4f2612 commit 0204ad5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

upload/modules/Websend/init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
try {
3737
if(!$queries->tableExists('websend_commands')){
38-
$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");
38+
$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");
3939
}
4040
} catch(Exception $e){
4141
$ws_db_err = true;

0 commit comments

Comments
 (0)