From 651d6857d7784f4f2a7412e0eae1681fc7ccd147 Mon Sep 17 00:00:00 2001
From: shennetsind <ind@henn.et>
Date: Fri, 15 Feb 2013 18:12:47 -0200
Subject: 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>
---
 sql-files/main.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'sql-files/main.sql')

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
-- 
cgit v1.2.3-60-g2f50

