summaryrefslogtreecommitdiff
path: root/sql-files/main.sql
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-15 18:12:47 -0200
committershennetsind <ind@henn.et>2013-02-15 18:15:57 -0200
commit651d6857d7784f4f2a7412e0eae1681fc7ccd147 (patch)
tree49d2d35a0bf843c5584587e4b76756323f4f5cbb /sql-files/main.sql
parent79f839d5a871a33512b7c6c700542d9e2192f696 (diff)
downloadhercules-651d6857d7784f4f2a7412e0eae1681fc7ccd147.tar.gz
hercules-651d6857d7784f4f2a7412e0eae1681fc7ccd147.tar.bz2
hercules-651d6857d7784f4f2a7412e0eae1681fc7ccd147.tar.xz
hercules-651d6857d7784f4f2a7412e0eae1681fc7ccd147.zip
MySQL Update Checker: Updated
Added a primary key to the `sql_updates` table (special thanks to Trojal) Modified the parser to ignore new/empty lines and added support for "//" comments in the index file. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files/main.sql')
-rw-r--r--sql-files/main.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index fbdf40dde..42f57064e 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -639,7 +639,8 @@ CREATE TABLE IF NOT EXISTS `skill_homunculus` (
CREATE TABLE IF NOT EXISTS `sql_updates` (
`timestamp` int(11) unsigned NOT NULL,
- `ignored` enum('Yes','No') NOT NULL DEFAULT 'No'
+ `ignored` enum('Yes','No') NOT NULL DEFAULT 'No',
+ PRIMARY KEY (`timestamp`)
) ENGINE=MyISAM;
-- Existent updates to enter