mirror of https://github.com/itflow-org/itflow
Update DB to match
This commit is contained in:
parent
3d3587a525
commit
672e51b21a
|
|
@ -1592,8 +1592,10 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||
if (CURRENT_DATABASE_VERSION == '1.0.4') {
|
||||
//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`");
|
||||
// // 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'");
|
||||
}
|
||||
|
||||
// if (CURRENT_DATABASE_VERSION == '1.0.5') {
|
||||
// // 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
|
||||
*/
|
||||
|
||||
DEFINE("LATEST_DATABASE_VERSION", "1.0.4");
|
||||
DEFINE("LATEST_DATABASE_VERSION", "1.0.5");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue