Update DB to match

This commit is contained in:
o-psi 2024-02-08 21:41:31 +00:00
parent 3d3587a525
commit 672e51b21a
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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");