Skip to content

Commit

Permalink
Fix :: Sql problem on resource table
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Aug 22, 2014
1 parent b602b70 commit cd5d3f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/install/mysql/tables/llx_c_type_resource.key.sql
Expand Up @@ -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);

2 changes: 1 addition & 1 deletion htdocs/install/mysql/tables/llx_c_type_resource.sql
Expand Up @@ -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;

0 comments on commit cd5d3f5

Please sign in to comment.