Fix: compatibility with postgesql
This commit is contained in:
parent
7565162516
commit
68f1a80501
@ -458,6 +458,7 @@ alter table llx_commandedet modify special_code integer UNSIGNED DEFAULT 0;
|
|||||||
alter table llx_facturedet modify special_code integer UNSIGNED DEFAULT 0;
|
alter table llx_facturedet modify special_code integer UNSIGNED DEFAULT 0;
|
||||||
alter table llx_propaldet modify special_code integer UNSIGNED DEFAULT 0;
|
alter table llx_propaldet modify special_code integer UNSIGNED DEFAULT 0;
|
||||||
alter table llx_societe modify special_code integer NULL;
|
alter table llx_societe modify special_code integer NULL;
|
||||||
|
alter table llx_c_forme_juridique code integer UNIQUE NOT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_adherent_options ADD INDEX uk_adherent_options (adhid);
|
ALTER TABLE llx_adherent_options ADD INDEX uk_adherent_options (adhid);
|
||||||
ALTER TABLE llx_bank_class ADD UNIQUE INDEX idx_bank_class_lineid (lineid);
|
ALTER TABLE llx_bank_class ADD UNIQUE INDEX idx_bank_class_lineid (lineid);
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
create table llx_c_forme_juridique
|
create table llx_c_forme_juridique
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(12) UNIQUE NOT NULL,
|
code integer UNIQUE NOT NULL,
|
||||||
fk_pays integer NOT NULL,
|
fk_pays integer NOT NULL,
|
||||||
libelle varchar(255),
|
libelle varchar(255),
|
||||||
isvatexempted tinyint DEFAULT 0 NOT NULL,
|
isvatexempted tinyint DEFAULT 0 NOT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user