Removed Task Descriptions as the name says it all

This commit is contained in:
johnnyq
2024-04-06 22:07:29 -04:00
parent e6e6c38db2
commit e3ff8854f9
6 changed files with 22 additions and 24 deletions

View File

@@ -1835,10 +1835,18 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.2.2'");
}
// if (CURRENT_DATABASE_VERSION == '1.2.2') {
// // Insert queries here required to update to DB version 1.2.3
if (CURRENT_DATABASE_VERSION == '1.2.2') {
mysqli_query($mysqli, "ALTER TABLE `tasks` DROP `task_description`");
mysqli_query($mysqli, "ALTER TABLE `task_templates` DROP `task_template_description`");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.2.3'");
}
// if (CURRENT_DATABASE_VERSION == '1.2.3') {
// // Insert queries here required to update to DB version 1.2.4
// // Then, update the database to the next sequential version
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.2.3");
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.2.4");
// }
} else {