mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 03:04:50 +00:00
Feature - Login Message Part 1 - DB Structure
This commit is contained in:
@@ -1230,6 +1230,12 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||||||
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.0'");
|
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.0'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CURRENT_DATABASE_VERSION == '0.7.0') {
|
||||||
|
mysqli_query($mysqli, "ALTER TABLE `settings` ADD `config_login_message` TEXT DEFAULT NULL AFTER `config_client_portal_enable`");
|
||||||
|
|
||||||
|
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.7.1'");
|
||||||
|
}
|
||||||
|
|
||||||
//if (CURRENT_DATABASE_VERSION == '0.7.0') {
|
//if (CURRENT_DATABASE_VERSION == '0.7.0') {
|
||||||
//Insert queries here required to update to DB version 0.7.1
|
//Insert queries here required to update to DB version 0.7.1
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,4 @@
|
|||||||
* It is used in conjunction with database_updates.php
|
* It is used in conjunction with database_updates.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEFINE("LATEST_DATABASE_VERSION", "0.7.0");
|
DEFINE("LATEST_DATABASE_VERSION", "0.7.1");
|
||||||
|
|||||||
3
db.sql
3
db.sql
@@ -1199,6 +1199,7 @@ CREATE TABLE `settings` (
|
|||||||
`config_module_enable_itdoc` tinyint(1) NOT NULL DEFAULT 1,
|
`config_module_enable_itdoc` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
`config_module_enable_accounting` tinyint(1) NOT NULL DEFAULT 1,
|
`config_module_enable_accounting` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
`config_client_portal_enable` tinyint(1) NOT NULL DEFAULT 1,
|
`config_client_portal_enable` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`config_login_message` text DEFAULT NULL,
|
||||||
`config_login_key_required` tinyint(1) NOT NULL DEFAULT 0,
|
`config_login_key_required` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`config_login_key_secret` varchar(255) DEFAULT NULL,
|
`config_login_key_secret` varchar(255) DEFAULT NULL,
|
||||||
`config_module_enable_ticketing` tinyint(1) NOT NULL DEFAULT 1,
|
`config_module_enable_ticketing` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
@@ -1670,4 +1671,4 @@ CREATE TABLE `vendors` (
|
|||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2023-08-17 19:41:13
|
-- Dump completed on 2023-08-18 15:07:08
|
||||||
|
|||||||
Reference in New Issue
Block a user