Skip to content
Snippets Groups Projects
Commit aba2a51f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: foreign key to country use same type

parent ce1ca021
No related branches found
No related tags found
No related merge requests found
......@@ -160,3 +160,6 @@ INSERT INTO `llx_c_field_list` (`rowid`, `element`, `entity`, `name`, `alias`, `
(7, 'product_default', 1, 'p.stock', 'stock', 'Stock', 'right', 0, 0, '$conf->stock->enabled', 7),
(8, 'product_default', 1, 'p.envente', 'status', 'Status', 'right', 1, 0, '1', 8);
UPDATE llx_adherent SET pays = null where pays <= 0 and pays != '0';
ALTER table llx_adherent MODIFY pays integer;
......@@ -42,7 +42,7 @@ create table llx_adherent
adresse text,
cp varchar(30),
ville varchar(50),
pays varchar(50),
pays integer,
email varchar(255),
phone varchar(30),
phone_perso varchar(30),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment