From 21071c4db015fc5807d2b402bcde338761dd65c6 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 3 Aug 2003 17:36:25 +0000 Subject: [PATCH] nouvelle version --- mysql/migration/0.3.0-0.4.0.sql | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/mysql/migration/0.3.0-0.4.0.sql b/mysql/migration/0.3.0-0.4.0.sql index 27ffa7300e5..08e81ea8aab 100644 --- a/mysql/migration/0.3.0-0.4.0.sql +++ b/mysql/migration/0.3.0-0.4.0.sql @@ -4,4 +4,20 @@ -- alter table llx_product add fk_product_type integer default 0 ; -alter table llx_product add duration varchar(6) ; \ No newline at end of file +alter table llx_product add duration varchar(6) ; + +create table llx_contrat +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, + enservice tinyint, + mise_en_service datetime, + fin_validite datetime, + date_cloture datetime, + fk_soc integer NOT NULL, + fk_product integer NOT NULL, + fk_facture integer NOT NULL default 0, + fk_user_author integer NOT NULL, + fk_user_mise_en_service integer NOT NULL, + fk_user_cloture integer NOT NULL +);