From 1ba7e20c1750aee75f6086f70134ec50ff556387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Fr=C3=B6hlich?= Date: Tue, 21 Jan 2014 00:06:16 +0100 Subject: [PATCH] Fixed comment syntax --- database/update1.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/update1.sql b/database/update1.sql index f575bc5..fb5354f 100644 --- a/database/update1.sql +++ b/database/update1.sql @@ -1,17 +1,17 @@ ---- create new table to record the database version +-- create new table to record the database version CREATE TABLE IF NOT EXISTS `schema_version` ( `id` int(11) PRIMARY KEY auto_increment, `version` int(11) NOT NULL UNIQUE, `when` datetime NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; ---- alter learnprogress by one column +-- alter learnprogress by one column ALTER TABLE `learnprogress` ADD `passed` int(11) NOT NULL DEFAULT '0'; ---- update new column passed with -1 +-- update new column passed with -1 UPDATE `learnprogress` SET `passed`=-1; ---- update schema version number +-- update schema version number INSERT INTO `schema_version` (`version`, `when`) VALUES ('1' , NOW() );