#23331 Add parent project field to database

This commit is contained in:
Roger Dueck
2023-05-01 13:25:55 -06:00
parent c6cb29381e
commit c5927e04bb
2 changed files with 2 additions and 0 deletions

View File

@@ -411,3 +411,4 @@ CREATE TABLE llx_c_invoice_subtype (
ALTER TABLE llx_c_invoice_subtype ADD UNIQUE INDEX uk_c_invoice_subtype (entity, code);
ALTER TABLE llx_projet ADD COLUMN fk_project int DEFAULT NULL;

View File

@@ -20,6 +20,7 @@
create table llx_projet
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_project integer DEFAULT NULL, -- parent project rowid
fk_soc integer,
datec datetime, -- date creation project
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,