From a76a962e8e46113aca0f668f55399887372199dc Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 16 Feb 2004 12:50:35 +0000 Subject: [PATCH] Ajout lignes 0 dans departements et regions --- mysql/migration/1.1.0-1.2.0-RC1.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 45e2254d187..99b962db43e 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -165,7 +165,7 @@ create table llx_c_regions active tinyint default 1 )type=innodb; - +insert into llx_c_regions (rowid,code_region,cheflieu,tncc,nom) values (0,0,'0',0,'-'); insert into llx_c_regions (code_region,cheflieu,tncc,nom) values (01,'97105',3,'Guadeloupe'); insert into llx_c_regions (code_region,cheflieu,tncc,nom) values (02,'97209',3,'Martinique'); insert into llx_c_regions (code_region,cheflieu,tncc,nom) values (03,'97302',3,'Guyane'); @@ -209,6 +209,8 @@ create table llx_c_departements ALTER TABLE llx_c_departements ADD FOREIGN KEY (fk_region) REFERENCES llx_c_regions (code_region); +insert into llx_c_departements (rowid, fk_region, code_departement,cheflieu,tncc,ncc,nom) +values (0,0,0,'0',0,'-','-'); insert into llx_c_departements (fk_region, code_departement,cheflieu,tncc,ncc,nom) values (82,'01','01053',5,'AIN','Ain'); insert into llx_c_departements (fk_region, code_departement,cheflieu,tncc,ncc,nom)