From 44dc622723584801f76ea28f68920eeec580c28f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 3 Sep 2005 16:44:43 +0000 Subject: [PATCH] Ajout de la table llx_societe_perms --- mysql/migration/1.1.0-2.0.0.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index 27bf08335b1..a89a6ca0da3 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -1788,4 +1788,15 @@ ALTER TABLE llx_contrat_contact ALTER TABLE llx_contrat_contact ADD CONSTRAINT idx_contrat_contact_fk_contrat FOREIGN KEY (fk_contrat) REFERENCES llx_contrat(rowid); + +create table llx_societe_perms +( + fk_soc integer, + fk_user integer, + pread tinyint unsigned DEFAULT 0, + pwrite tinyint unsigned DEFAULT 0, + pperms tinyint unsigned DEFAULT 0, + + UNIQUE INDEX(fk_soc, fk_user) +)type=innodb;