aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/update.php b/update.php
index 5b4d99603..81c5f0aea 100644
--- a/update.php
+++ b/update.php
@@ -251,3 +251,13 @@ function update_1025() {
q("ALTER TABLE `user` ADD `maxreq` int(11) NOT NULL DEFAULT '10' AFTER `pwdreset` ");
}
+function update_1026() {
+ q("CREATE TABLE IF NOT EXISTS `hook` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `hook` CHAR( 255 ) NOT NULL ,
+ `file` CHAR( 255 ) NOT NULL ,
+ `function` CHAR( 255 ) NOT NULL
+ ) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
+}
+
+