From 651d6857d7784f4f2a7412e0eae1681fc7ccd147 Mon Sep 17 00:00:00 2001 From: shennetsind 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 --- sql-files/upgrades/2013-02-15--18-06.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sql-files/upgrades/2013-02-15--18-06.sql (limited to 'sql-files/upgrades/2013-02-15--18-06.sql') 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 -- cgit v1.2.3-60-g2f50