diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index f7ca486508c..253df10e4c8 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -93,7 +93,8 @@ insert into llx_const(name, value, type, note) values ('MAIN_UPLOAD_DOC','1','ch create table llx_c_forme_juridique ( - code integer PRIMARY KEY, + rowid integer AUTO_INCREMENT PRIMARY KEY, + code integer UNIQUE, libelle varchar(255), active tinyint default 1