summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql3
-rw-r--r--sql-files/upgrades/2013-02-15--18-06.sql3
-rw-r--r--sql-files/upgrades/index.txt3
3 files changed, 7 insertions, 2 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
diff --git a/sql-files/upgrades/2013-02-15--18-06.sql b/sql-files/upgrades/2013-02-15--18-06.sql
new file mode 100644
index 000000000..066693c70
--- /dev/null
+++ b/sql-files/upgrades/2013-02-15--18-06.sql
@@ -0,0 +1,3 @@
+#1360951560
+ALTER TABLE `sql_updates` ADD PRIMARY KEY(`timestamp`);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560); \ No newline at end of file
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index e0c49cbce..3d4df8c23 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -1 +1,2 @@
-2013-02-14--16-15.sql \ No newline at end of file
+2013-02-14--16-15.sql
+2013-02-15--18-06.sql \ No newline at end of file