Merge remote-tracking branch 'origin/doc' into doc

This commit is contained in:
Bernhard Fröhlich 2013-04-06 16:54:05 +02:00
commit 5d5739968d

View file

@ -3,15 +3,15 @@
`id` int(11) PRIMARY KEY auto_increment, `id` int(11) PRIMARY KEY auto_increment,
`version` int(11) NOT NULL UNIQUE, `version` int(11) NOT NULL UNIQUE,
`when` datetime NOT NULL `when` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci ) 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'; 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 `learnprogress` SET `passed`=-1;
--- update schema version number --- update schema version number
INSERT INTO `schema_version` INSERT INTO `schema_version`
(`version`, `when`) VALUES (`version`, `when`) VALUES
('1' , NOW() ); ('1' , NOW() );