mirror of
https://github.com/itflow-org/itflow
synced 2026-03-02 11:54:52 +00:00
Adjust contact_important field to after contact_password_reset_token instead
This commit is contained in:
@@ -383,7 +383,7 @@ if(LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION){
|
|||||||
|
|
||||||
// Add contact_important field to those who don't have it (installed before March 2022)
|
// Add contact_important field to those who don't have it (installed before March 2022)
|
||||||
try {
|
try {
|
||||||
mysqli_query($mysqli, "ALTER TABLE `contacts` ADD `contact_important` tinyint(1) NOT NULL DEFAULT 0 AFTER contact_password_hash;");
|
mysqli_query($mysqli, "ALTER TABLE `contacts` ADD `contact_important` tinyint(1) NOT NULL DEFAULT 0 AFTER contact_password_reset_token;");
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// Field already exists - that's fine
|
// Field already exists - that's fine
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user