mirror of https://github.com/itflow-org/itflow
Update database, did not do increment
This commit is contained in:
parent
8c56426186
commit
141dad23fe
|
|
@ -1407,6 +1407,7 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
|
|||
//
|
||||
//if (CURRENT_DATABASE_VERSION == '0.8.8') {
|
||||
// Insert queries here required to update to DB version 0.8.9
|
||||
// mysqli_query($mysqli, "ALTER TABLE `invoice_items` ADD `item_order_id` INT(11) NOT NULL DEFAULT 0 AFTER `item_total`");
|
||||
//
|
||||
// Then, update the database to the next sequential version
|
||||
//mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.8.9'");
|
||||
|
|
|
|||
1
db.sql
1
db.sql
|
|
@ -682,6 +682,7 @@ CREATE TABLE `invoice_items` (
|
|||
`item_subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_total` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_order_id` int(11) NOT NULL DEFAULT 0,
|
||||
`item_created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`item_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||||
`item_archived_at` datetime DEFAULT NULL,
|
||||
|
|
|
|||
Loading…
Reference in New Issue