2
0
forked from Wavyzz/dolibarr

Merge pull request #1843 from aspangaro/develop-patch1

Fix :: Sql problem on resource table
This commit is contained in:
Laurent Destailleur
2014-08-28 11:44:26 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -17,5 +17,5 @@
-- ========================================================================
ALTER TABLE llx_c_type_contact ADD UNIQUE INDEX uk_c_type_contact_id (element, source, code);
ALTER TABLE llx_c_type_resource ADD UNIQUE INDEX uk_c_type_resource_id (label, code);

View File

@@ -29,6 +29,6 @@ create table llx_c_type_resource
(
rowid integer PRIMARY KEY,
code varchar(32) NOT NULL,
libelle varchar(64) NOT NULL,
label varchar(64) NOT NULL,
active tinyint DEFAULT 1 NOT NULL
)ENGINE=innodb;