56 lines
2.0 KiB
MySQL
56 lines
2.0 KiB
MySQL
|
|
||
|
DROP TABLE IF EXISTS `updates`;
|
||
|
CREATE TABLE `updates` (
|
||
|
`idupdate` INT AUTO_INCREMENT NOT NULL,
|
||
|
`version` VARCHAR(10) NOT NULL,
|
||
|
`filename` varchar(255) NOT NULL,
|
||
|
`script` varchar(255) NOT NULL,
|
||
|
`done` boolean NOT NULL,
|
||
|
PRIMARY KEY (`idupdate`)
|
||
|
) ENGINE=InnoDB;
|
||
|
|
||
|
INSERT INTO `updates` ( `version`, `filename`, `script`, `done`) VALUES
|
||
|
( 'base', 'null', '', 0),
|
||
|
('2.0', 'install_2.0.sql', '', 0),
|
||
|
('2.1', 'update_2.1.sql', 'update_2.1.php', 0),
|
||
|
('2.2', 'update_2.2.sql', 'update_2.2.php', 0),
|
||
|
('2.0', 'update_2.0.sql', '', 0),
|
||
|
('2.0.1', 'update_2.0.1.sql', '', 0),
|
||
|
('2.0.2', 'update_2.0.2.sql', '', 0),
|
||
|
('2.0.3', 'update_2.0.3.sql', '', 0),
|
||
|
('2.0.4', 'update_2.0.4.sql', '', 0),
|
||
|
('2.0.5', 'update_2.0.5.sql', '', 0),
|
||
|
('2.0.6', 'update_2.0.6.sql', '', 0),
|
||
|
('2.0.7', 'update_2.0.7.sql', '', 0),
|
||
|
('2.1.0', 'update_2.1.0.sql', '', 0),
|
||
|
('2.1.1', 'update_2.1.1.sql', '', 0),
|
||
|
('2.1.2', 'update_2.1.2.sql', '', 0),
|
||
|
('2.1.3', 'update_2.1.3.sql', '', 0),
|
||
|
('2.1.4', 'update_2.1.4.sql', '', 0),
|
||
|
('2.1.5', 'update_2.1.5.sql', '', 0),
|
||
|
('2.1.6', 'update_2.1.6.sql', '', 0),
|
||
|
('2.1.7', 'update_2.1.7.sql', '', 0),
|
||
|
('2.1.8', 'update_2.1.8.sql', '', 0),
|
||
|
('2.2.0', 'update_2.2.0.sql', '', 0),
|
||
|
('2.2.1', 'update_2.2.1.sql', '', 0),
|
||
|
('2.2.2', 'update_2.2.2.sql', '', 0),
|
||
|
('2.2.3', 'update_2.2.3.sql', '', 0),
|
||
|
('2.2.4', 'update_2.2.4.sql', '', 0),
|
||
|
('2.2.5', 'update_2.2.5.sql', '', 0),
|
||
|
('2.2.6', 'update_2.2.6.sql', '', 0),
|
||
|
('2.2.7', 'update_2.2.7.sql', '', 0),
|
||
|
('2.2.8', 'update_2.2.8.sql', '', 0),
|
||
|
('2.2.9', 'update_2.2.9.sql', 'update_2.2.9.php', 0),
|
||
|
('2.3.0', 'update_2.3.0.sql', '', 0),
|
||
|
('2.3.1', 'update_2.3.1.sql', '', 0),
|
||
|
('2.3.2', 'update_2.3.2.sql', '', 0),
|
||
|
('2.3.5', 'update_2.3.5.sql', '', 0),
|
||
|
('2.3.6', 'update_2.3.6.sql', '', 0),
|
||
|
('2.3.7', 'update_2.3.7.sql', '', 0),
|
||
|
('2.4.0', 'update_2.4.0.sql', '', 0),
|
||
|
('2.4.1', 'update_2.4.1.sql', '', 0),
|
||
|
('2.4.2', 'update_2.4.2.sql', '', 0),
|
||
|
('2.4.3', 'update_2.4.3.sql', '', 0),
|
||
|
('2.4.4', 'update_2.4.4.sql', '', 0),
|
||
|
('2.4.5', 'update_2.4.5.sql', '', 0);
|