mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +00:00
MySQL DB dump for addition of enable_cron
This commit is contained in:
3
db.sql
3
db.sql
@@ -621,6 +621,7 @@ CREATE TABLE `settings` (
|
|||||||
`config_invoice_overdue_reminders` varchar(200) DEFAULT NULL,
|
`config_invoice_overdue_reminders` varchar(200) DEFAULT NULL,
|
||||||
`config_quote_next_number` int(11) DEFAULT NULL,
|
`config_quote_next_number` int(11) DEFAULT NULL,
|
||||||
`config_quote_prefix` varchar(200) DEFAULT NULL,
|
`config_quote_prefix` varchar(200) DEFAULT NULL,
|
||||||
|
`config_enable_cron` int(1) NOT NULL,
|
||||||
PRIMARY KEY (`company_id`)
|
PRIMARY KEY (`company_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
@@ -804,4 +805,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 2019-08-14 11:11:26
|
-- Dump completed on 2019-08-15 22:34:10
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ if(isset($_POST['add_user'])){
|
|||||||
}
|
}
|
||||||
|
|
||||||
mysqli_query($mysqli,"INSERT INTO users SET name = '$name', email = '$email', password = '$password', avatar = '$path', created_at = NOW()");
|
mysqli_query($mysqli,"INSERT INTO users SET name = '$name', email = '$email', password = '$password', avatar = '$path', created_at = NOW()");
|
||||||
|
|
||||||
$user_id = mysqli_insert_id($mysqli);
|
$user_id = mysqli_insert_id($mysqli);
|
||||||
|
|
||||||
$_SESSION['alert_message'] = "User added";
|
$_SESSION['alert_message'] = "User added";
|
||||||
|
|||||||
Reference in New Issue
Block a user