forked from Wavyzz/dolibarr
Merge pull request #1843 from aspangaro/develop-patch1
Fix :: Sql problem on resource table
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user