diff options
Diffstat (limited to 'db/update.d/20_LogEntriesTable.php')
-rw-r--r-- | db/update.d/20_LogEntriesTable.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/update.d/20_LogEntriesTable.php b/db/update.d/20_LogEntriesTable.php deleted file mode 100644 index 5ea82efc..00000000 --- a/db/update.d/20_LogEntriesTable.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -if(sql_num_query("SHOW TABLES LIKE 'LogEntries'") == 0) { - sql_query("CREATE TABLE `LogEntries` ( - `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , - `timestamp` INT NOT NULL , - `nick` VARCHAR( 23 ) NOT NULL , - `message` TEXT NOT NULL , - INDEX ( `timestamp` ) - ) ENGINE = InnoDB;"); - $applied = true; -} - -if(sql_num_query("SHOW TABLES LIKE 'ChangeLog'") == 0) { - sql_query("DROP TABLE `ChangeLog`"); - $applied = true; -} - -?>
\ No newline at end of file |