Diff for Metafox/admin/inc-db/maintenance.inc.php between version 1.16 and 1.17
| version 1.16, 2015/01/15 16:22:21 |
version 1.17, 2015/02/11 13:28:34 |
| Line 839 function ezin_admin_maintenance_main($re |
|
| Line 839 function ezin_admin_maintenance_main($re |
|
| ) ENGINE = InnoDB DEFAULT CHARSET=utf8;' |
) ENGINE = InnoDB DEFAULT CHARSET=utf8;' |
| ); |
); |
| |
|
| |
// Added phone into newsletter |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Added phone into newsletter', |
| |
'test' => 'describe ezin_nl_emails phone', |
| |
'method' => 'one', |
| |
'correct_answer' => 'phone', |
| |
'repair' => 'ALTER TABLE `ezin_nl_emails` ADD `phone` VARCHAR(64) AFTER `email`' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Remove index ezin_nl_emails_email and add ezin_nl_emails_emailphone', |
| |
'repair' => 'ALTER TABLE `ezin_nl_emails` DROP INDEX `ezin_nl_emails_email`, |
| |
ADD UNIQUE `ezin_nl_emails_emailphone` ( `email` , `phone` )' |
| |
); |
| |
|
| // ---- CONFIG - DESCRIPTION ---- |
// ---- CONFIG - DESCRIPTION ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
Platon Group <platon@platon.org> http://platon.org/
|
|