Added Asset URI can be used for a remote link

This commit is contained in:
johnnyq
2023-09-09 23:40:18 -04:00
parent be7492ae73
commit 747e793e54
7 changed files with 47 additions and 3 deletions

View File

@@ -1306,6 +1306,14 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.9'");
}
if (CURRENT_DATABASE_VERSION == '0.7.9') {
//Insert queries here required to update to DB version 0.8.0
mysqli_query($mysqli, "ALTER TABLE `assets` ADD `asset_uri` VARCHAR(250) DEFAULT NULL AFTER `asset_mac`");
// Then, update the database to the next sequential version
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.8.0'");
}
//if (CURRENT_DATABASE_VERSION == '0.7.9') {
//Insert queries here required to update to DB version 0.8.0