mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Contact Details now has a seperate page with related materials such as assets logins, started work on the UI for asset network interfaces, db structure updates for many to many relations between contacts and assets
This commit is contained in:
@@ -413,11 +413,17 @@ if(LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION){
|
||||
|
||||
}
|
||||
|
||||
//if(CURRENT_DATABASE_VERSION == '0.2.4'){
|
||||
// Insert queries here required to update to DB version 0.2.5
|
||||
if(CURRENT_DATABASE_VERSION == '0.2.4'){
|
||||
mysqli_query($mysqli, "CREATE TABLE `contact_assets` (`contact_id` int(11) NOT NULL,`asset_id` int(11) NOT NULL, PRIMARY KEY (`contact_id`,`asset_id`))");
|
||||
|
||||
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.5'");
|
||||
}
|
||||
|
||||
//if(CURRENT_DATABASE_VERSION == '0.2.5'){
|
||||
// Insert queries here required to update to DB version 0.2.6
|
||||
|
||||
// Then, update the database to the next sequential version
|
||||
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.5'");
|
||||
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.2.6'");
|
||||
//}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user