| version 1.4, 2011/11/29 20:04:59 |
version 1.5, 2012/05/02 12:58:15 |
| Line 42 function ezin_admin_maintenance_main($re |
|
| Line 42 function ezin_admin_maintenance_main($re |
|
| * 1.1 2011-05-15 22:38 |
* 1.1 2011-05-15 22:38 |
| * 1.2 2011-05-24 16:47 - integrovane do admin rozhrania Metafox |
* 1.2 2011-05-24 16:47 - integrovane do admin rozhrania Metafox |
| * 1.3 2011-06-09 18:40 - doplnene testy v CONFIG DATA, spustanie testov synchronizovane |
* 1.3 2011-06-09 18:40 - doplnene testy v CONFIG DATA, spustanie testov synchronizovane |
| |
* 1.4 2011-06-17 16:48 - doplnene testy pre Sources |
| |
* 1.5 2012-05-02 14:28 - prepisanie verzii updatov |
| * |
* |
| */ |
*/ |
| |
|
| Line 504 function ezin_admin_maintenance_main($re |
|
| Line 506 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'alter table ezin_polls add column changed_dt datetime' |
'repair' => 'alter table ezin_polls add column changed_dt datetime' |
| ); |
); |
| |
|
| // ----[ UPDATE 0.8.14 ]---- |
// ----[ UPDATE 0.9.0 ]---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| 'description' => 'Update 0.8.14' |
'description' => 'Update 0.9.0' |
| ); |
); |
| |
|
| // Home text for global sections |
// Home text for global sections |
| Line 763 function ezin_admin_maintenance_main($re |
|
| Line 765 function ezin_admin_maintenance_main($re |
|
| 'description' => 'transform value from old type to new - 5', |
'description' => 'transform value from old type to new - 5', |
| 'repair' => 'UPDATE `ezin_sections` SET `type2` = "", `display` = "", `select` = "" WHERE `type` = "disabled"' |
'repair' => 'UPDATE `ezin_sections` SET `type2` = "", `display` = "", `select` = "" WHERE `type` = "disabled"' |
| ); |
); |
| |
|
| |
// ----[ UPDATE 0.9.1 ]---- |
| |
$tests[] = array( |
| |
'type' => 'comment', |
| |
'description' => 'Update 0.9.1' |
| |
); |
| |
|
| |
// Ezin-sources table |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Ezin-sources table', |
| |
'test' => 'show tables like "ezin_sources"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'ezin_sources', |
| |
'repair' => 'CREATE TABLE `ezin_sources` ( |
| |
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , |
| |
`source_type` ENUM( "rss" ) NOT NULL , |
| |
`section_id` INT NOT NULL , |
| |
`url` VARCHAR( 255 ) NOT NULL , |
| |
`normal_refresh_time` INT NOT NULL, |
| |
`fail_refresh_time` INT NOT NULL, |
| |
`connection_timeout` INT NOT NULL, |
| |
`created_id` int(10) default NULL, |
| |
`created_by` varchar(60) default NULL, |
| |
`created_dt` datetime default NULL, |
| |
`changed_id` int(10) default NULL, |
| |
`changed_by` varchar(60) default NULL, |
| |
`changed_dt` datetime default NULL |
| |
)' |
| |
); |
| |
|
| // ---- CONFIG - DESCRIPTION ---- |
// ---- CONFIG - DESCRIPTION ---- |
| $tests[] = array( |
$tests[] = array( |