Update DB to match
This commit is contained in:
@@ -1592,8 +1592,10 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||||||
if (CURRENT_DATABASE_VERSION == '1.0.4') {
|
if (CURRENT_DATABASE_VERSION == '1.0.4') {
|
||||||
//Insert queries here required to update to DB version 1.0.5
|
//Insert queries here required to update to DB version 1.0.5
|
||||||
mysqli_query($mysqli, "ALTER TABLE `tickets` ADD `ticket_schedule` DATETIME DEFAULT NULL AFTER `ticket_billable`");
|
mysqli_query($mysqli, "ALTER TABLE `tickets` ADD `ticket_schedule` DATETIME DEFAULT NULL AFTER `ticket_billable`");
|
||||||
// // Then, update the database to the next sequential version
|
mysqli_query($mysqli, "ALTER TABLE `email_queue` ADD `email_cal_str` VARCHAR(1024) DEFAULT NULL AFTER `email_content`");
|
||||||
|
// Then, update the database to the next sequential version
|
||||||
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.0.5'");
|
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.0.5'");
|
||||||
|
}
|
||||||
|
|
||||||
// if (CURRENT_DATABASE_VERSION == '1.0.5') {
|
// if (CURRENT_DATABASE_VERSION == '1.0.5') {
|
||||||
// // Insert queries here required to update to DB version 1.0.6
|
// // Insert queries here required to update to DB version 1.0.6
|
||||||
|
|||||||
@@ -5,5 +5,5 @@
|
|||||||
* It is used in conjunction with database_updates.php
|
* It is used in conjunction with database_updates.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEFINE("LATEST_DATABASE_VERSION", "1.0.4");
|
DEFINE("LATEST_DATABASE_VERSION", "1.0.5");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user