/[openfoncier]/trunk/data/pgsql/init_data.sql
ViewVC logotype

Diff of /trunk/data/pgsql/init_data.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2267 by softime, Tue Sep 10 08:16:35 2013 UTC revision 2397 by softime, Fri Oct 11 15:18:10 2013 UTC
# Line 30  INSERT INTO om_utilisateur (om_utilisate Line 30  INSERT INTO om_utilisateur (om_utilisate
30  (13, 'Visualisation DA', '[email protected]', 'visuda', 'f8d59fd856bf844a90f0968e8acd8cac', 1, 'db', 10),  (13, 'Visualisation DA', '[email protected]', 'visuda', 'f8d59fd856bf844a90f0968e8acd8cac', 1, 'db', 10),
31  (14, 'Qualificateur', '[email protected]', 'qualif', 'c7f6e8776497fc37bc20c6eae9db1c9d', 1, 'db', 7),  (14, 'Qualificateur', '[email protected]', 'qualif', 'c7f6e8776497fc37bc20c6eae9db1c9d', 1, 'db', 7),
32  (15, 'Divisionnaire', '[email protected]', 'divi', 'a8124c681eeedd309a78db78c6d087b9', 1, 'db', 11),  (15, 'Divisionnaire', '[email protected]', 'divi', 'a8124c681eeedd309a78db78c6d087b9', 1, 'db', 11),
33  (16, 'Chef de service', '[email protected]', 'chef', 'cbb4581ba3ada1ddef9b431eef2660ce', 1, 'db', 12)  (16, 'Chef de service', '[email protected]', 'chef', 'cbb4581ba3ada1ddef9b431eef2660ce', 1, 'db', 12),
34    (17, 'ldap_instructeur', '[email protected]', 'ldap_instructeur', '84b07083423cf92950e2eb1e2fb1995f', 1, 'ldap', 3),
35    (18, 'ldap_service', '[email protected]', 'ldap_service', 'dfcf7011422a7f19a16e0f92287a37d6', 1, 'ldap', 4)
36  ;  ;
37    
38  ---  ---
# Line 73  INSERT INTO instructeur VALUES Line 75  INSERT INTO instructeur VALUES
75  , NULL, NULL),  , NULL, NULL),
76  (4, 'Pierre Martin', NULL, 22,  (4, 'Pierre Martin', NULL, 22,
77  (SELECT om_utilisateur FROM om_utilisateur WHERE login='divi')  (SELECT om_utilisateur FROM om_utilisateur WHERE login='divi')
78    , NULL, NULL),
79    (5, 'ldap_instructeur', NULL, 22,
80    (SELECT om_utilisateur from om_utilisateur where login='ldap_instructeur')
81  , NULL, NULL)  , NULL, NULL)
82  ;  ;
83    
84    
 ---  
 --- AFFECTATION AUTOMATIQUE  
 ---  
   
 INSERT INTO affectation_automatique VALUES (1, NULL, NULL, NULL, 1, NULL);  
 INSERT INTO affectation_automatique VALUES (2, NULL, NULL, NULL, 2, 1);  
 INSERT INTO affectation_automatique VALUES (3, NULL, NULL, NULL, 3, 3);  
   
85    
86  ---  ---
87  --- ARCHITECTES  --- ARCHITECTES
# Line 126  COPY arrondissement (arrondissement, lib Line 123  COPY arrondissement (arrondissement, lib
123    
124    
125  --  --
126    -- Data for Name: quartier; Type: TABLE DATA; Schema: openads; Owner: postgres
127    --
128    
129    COPY quartier (quartier, arrondissement, code_impots, libelle) FROM stdin;
130    1       1       801     01 – BELSUNCE
131    2       1       802     02 – CHAPITRE
132    3       1       803     03 – NOAILLE
133    4       1       804     04 – OPERA
134    5       1       805     05 – ST. CHARLES
135    6       1       806     06 – THIERS
136    7       2       807     01 – ARENC
137    8       2       808     02 – LES GRANDS CARMES
138    9       2       809     03 – HOTEL DE VILLE
139    10      2       810     04 – JOLIETTE
140    11      3       811     01 – BELLE DE MAI
141    12      3       812     03 – ST. LAZARE
142    13      3       813     04 – ST. MAURONT
143    14      3       814     02 – LA VILETTE
144    15      4       815     01 – LA BLANCARDE
145    16      4       816     02 – LES CHARTREUX
146    17      4       817     03 – CHUTES LAVIES
147    18      4       818     04 – CINQ AVENUES
148    19      5       819     01 – BAILLE
149    20      5       820     02 – LE CAMAS
150    21      5       821     03 – LA CONCEPTION
151    22      5       822     04 – ST. PIERRE
152    23      6       823     01 – CASTELLANE
153    24      6       824     02 – LODI
154    25      6       825     03 – N. DAME DU MONT
155    26      6       826     04 – PALAIS DE JUSTICE
156    27      6       827     05 – PREFECTURE
157    28      6       828     06 – VAUBAN
158    29      7       829     01 – BOMPARD
159    30      7       830     02 – ENDOUME
160    31      7       831     07 – LES ILES
161    32      7       832     03 – PHARO
162    33      7       833     04 – ROUCAS BLANC
163    34      7       834     06 – ST LAMBERT
164    35      7       835     05 – ST. VICTOR
165    36      8       836     01 – BONNEVEINE
166    37      8       837     02 – LES GOUDES
167    38      8       838     03 – MONTREDON
168    39      8       839     04 – PERIER
169    40      8       840     05 – LA PLAGE
170    41      8       841     06 – LA POINTE ROUGE
171    42      8       842     07 – ROUET
172    43      8       843     09 – ST. GINIEZ
173    44      8       844     08 – STE ANNE
174    45      8       845     10 – VIEILLE CHAPELLE
175    46      9       846     01 – LES BAUMETTES
176    47      9       847     02 – LE CABOT
177    48      9       848     03 – CARPAGNE
178    49      9       849     04 – MAZARGUES
179    50      9       850     05 – LA PANOUSE
180    51      9       851     06 – LE REDON
181    52      9       852     08 – SORMIOU
182    53      9       853     07 – STE MARGUERITE
183    54      9       854     09 – VAUFREGES
184    55      10      855     01 – CAPELETTE
185    56      10      856     02 – MENPENTI
186    57      10      857     03 – PONT DE VIVAUX
187    58      10      858     04 – ST. LOUP
188    59      10      859     05 – ST. TRONC
189    60      10      860     06 – LA TIMONE
190    61      11      861     01 – LES ACCATES
191    62      11      862     02 – LA BARASSE
192    63      11      863     03 – LES CAMOINS
193    64      11      864     04 – EOURES
194    65      11      865     05 – LA MILLIERE
195    66      11      866     06 – LA POMME
196    67      11      867     07 – ST. MARCEL
197    68      11      868     08 – ST. MENET
198    69      11      869     09 – LA TREILLE
199    70      11      870     10 – LA VALBARELLE
200    71      11      871     11 – LA VALENTINE
201    72      12      872     01 – LES CAILLOLS
202    73      12      873     02 – LA FOURRAGERE
203    74      12      874     03 – MONTOLIVET
204    75      12      875     04 – ST. BARNABE
205    76      12      876     05 – ST. JEAN DU DESERT
206    77      12      877     06 – ST. JULIEN
207    78      12      878     07 – LES TROIS LUCS
208    79      13      879     01 – CHÂTEAU GOMBERT
209    80      13      880     02 – LA CROIX ROUGE
210    81      13      881     03 – MALPASSE
211    82      13      882     04 – LES MEDECINS
212    83      13      883     05 – LES MOURETS
213    84      13      884     06 – LES OLIVES
214    85      13      885     07 – PALAMA
215    86      13      886     08 – LA ROSE
216    87      13      887     09 – ST. JEROME
217    88      13      888     10 – ST. JUST
218    89      13      889     11 – ST. MITRE
219    90      14      890     01 – LES ARNAVAUX
220    91      14      891     02 – BON SECOURS
221    92      14      892     03 – LE CANET
222    93      14      893     04 – LE MERLAN
223    94      14      894     05 – ST. BARTHELEMY
224    95      14      895     06 – ST. JOSEPH
225    96      14      896     07 – STE MARTHE
226    97      15      897     01 – LES AYGALADES
227    98      15      898     02 – BOREL
228    99      15      899     03 – LA CABUCELLE
229    100     15      900     04 – LA CALADE
230    101     15      901     05 – LES CROTTES
231    102     15      902     06 – LA DELORME
232    103     15      903     07 – N. DAME LIMITE
233    104     15      904     08 – ST. ANTOINE
234    105     15      905     09 – ST. LOUIS
235    106     15      906     10 – VERDURON
236    107     15      907     11 – LA VISTE
237    108     16      908     01 – L'ESTAQUE
238    109     16      909     02 – LES RIAUX
239    110     16      910     03 – ST. ANDRE
240    111     16      911     04 – ST. HENRI
241    \.
242    
243    
244    --
245    -- Data for Name: affectation_automatique; Type: TABLE DATA; Schema: openads; Owner: postgres
246    --
247    
248    COPY affectation_automatique (affectation_automatique, arrondissement, quartier, section, instructeur, dossier_autorisation_type_detaille) FROM stdin;
249    3       \N      \N      \N      3       3
250    4       1       1       \N      4       1
251    2       1       2       \N      2       1
252    1       \N      \N      \N      1       1
253    \.
254    
255    
256    --
257    -- Name: affectation_automatique_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
258    --
259    
260    SELECT pg_catalog.setval('affectation_automatique_seq', 5, false);
261    
262    
263    --
264  -- Name: arrondissement_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres  -- Name: arrondissement_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
265  --  --
266    
# Line 457  SELECT pg_catalog.setval('donnees_techni Line 592  SELECT pg_catalog.setval('donnees_techni
592    
593    
594  --  --
595    -- Data for Name: dossier_autorisation_parcelle; Type: TABLE DATA; Schema: openads; Owner: postgres
596    --
597    
598    COPY dossier_autorisation_parcelle (dossier_autorisation_parcelle, dossier_autorisation, parcelle, libelle) FROM stdin;
599    1       AZ0130551200001 \N      805AB0009
600    2       AZ0130551200001 \N      806AB0001
601    3       AZ0130551200001 \N      806AB0002
602    4       AZ0130551200001 \N      806AB0003
603    5       AZ0130551200001 \N      806AB0004
604    6       AZ0130551200001 \N      806AB0005
605    \.
606    
607    
608    --
609    -- Name: dossier_autorisation_parcelle_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
610    --
611    
612    SELECT pg_catalog.setval('dossier_autorisation_parcelle_seq', 7, false);
613    
614    --
615  -- Data for Name: dossier_commission; Type: TABLE DATA; Schema: openads; Owner: postgres  -- Data for Name: dossier_commission; Type: TABLE DATA; Schema: openads; Owner: postgres
616  --  --
617    
# Line 473  SELECT pg_catalog.setval('dossier_commis Line 628  SELECT pg_catalog.setval('dossier_commis
628    
629    
630  --  --
631    -- Data for Name: dossier_parcelle; Type: TABLE DATA; Schema: openads; Owner: postgres
632    --
633    
634    COPY dossier_parcelle (dossier_parcelle, dossier, parcelle, libelle) FROM stdin;
635    1       PD0130551200001P0       \N      805AB0009
636    2       AZ0130551200001P0       \N      806AB0001
637    3       AZ0130551200001P0       \N      806AB0002
638    4       AZ0130551200001P0       \N      806AB0003
639    5       AZ0130551200001P0       \N      806AB0004
640    6       AZ0130551200001P0       \N      806AB0005
641    \.
642    
643    
644    --
645    -- Name: dossier_parcelle_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
646    --
647    
648    SELECT pg_catalog.setval('dossier_parcelle_seq', 7, false);
649    
650    
651    --
652  -- Name: instruction_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres  -- Name: instruction_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
653  --  --
654    
# Line 503  SELECT pg_catalog.setval('lien_demande_d Line 679  SELECT pg_catalog.setval('lien_demande_d
679    
680    
681  --  --
 -- Data for Name: lien_demande_type_etat_dossier_autorisation; Type: TABLE DATA; Schema: openads; Owner: postgres  
 --  
   
 COPY lien_demande_type_etat_dossier_autorisation (lien_demande_type_etat_dossier_autorisation, demande_type, etat_dossier_autorisation) FROM stdin;  
 1       17      2  
 2       18      2  
 3       19      2  
 4       20      2  
 5       21      2  
 6       22      2  
 7       23      2  
 8       24      2  
 \.  
   
   
 --  
 -- Name: lien_demande_type_etat_dossier_autorisation_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres  
 --  
   
 SELECT pg_catalog.setval('lien_demande_type_etat_dossier_autorisation_seq', 9, false);  
   
   
 --  
682  -- Data for Name: lien_dossier_autorisation_demandeur; Type: TABLE DATA; Schema: openads; Owner: postgres  -- Data for Name: lien_dossier_autorisation_demandeur; Type: TABLE DATA; Schema: openads; Owner: postgres
683  --  --
684    
# Line 600  COPY lien_service_om_utilisateur (lien_s Line 753  COPY lien_service_om_utilisateur (lien_s
753  5       8       8  5       8       8
754  6       8       15  6       8       15
755  7       7       77  7       7       77
756    8       18      1
757  \.  \.
758    
759    
# Line 607  COPY lien_service_om_utilisateur (lien_s Line 761  COPY lien_service_om_utilisateur (lien_s
761  -- Name: lien_service_om_utilisateur_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres  -- Name: lien_service_om_utilisateur_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
762  --  --
763    
764  SELECT pg_catalog.setval('lien_service_om_utilisateur_seq', 8, false);  SELECT pg_catalog.setval('lien_service_om_utilisateur_seq', 9, false);
765    
766    
767  --  --
# Line 751  SELECT pg_catalog.setval('lot_seq', 3, f Line 905  SELECT pg_catalog.setval('lot_seq', 3, f
905    
906    
907  --  --
 -- Data for Name: quartier; Type: TABLE DATA; Schema: openads; Owner: postgres  
 --  
   
 COPY quartier (quartier, arrondissement, code_impots, libelle) FROM stdin;  
 1       1       801     01 – BELSUNCE  
 2       1       802     02 – CHAPITRE  
 3       1       803     03 – NOAILLE  
 4       1       804     04 – OPERA  
 5       1       805     05 – ST. CHARLES  
 6       1       806     06 – THIERS  
 7       2       807     01 – ARENC  
 8       2       808     02 – LES GRANDS CARMES  
 9       2       809     03 – HOTEL DE VILLE  
 10      2       810     04 – JOLIETTE  
 11      3       811     01 – BELLE DE MAI  
 12      3       812     03 – ST. LAZARE  
 13      3       813     04 – ST. MAURONT  
 14      3       814     02 – LA VILETTE  
 15      4       815     01 – LA BLANCARDE  
 16      4       816     02 – LES CHARTREUX  
 17      4       817     03 – CHUTES LAVIES  
 18      4       818     04 – CINQ AVENUES  
 19      5       819     01 – BAILLE  
 20      5       820     02 – LE CAMAS  
 21      5       821     03 – LA CONCEPTION  
 22      5       822     04 – ST. PIERRE  
 23      6       823     01 – CASTELLANE  
 24      6       824     02 – LODI  
 25      6       825     03 – N. DAME DU MONT  
 26      6       826     04 – PALAIS DE JUSTICE  
 27      6       827     05 – PREFECTURE  
 28      6       828     06 – VAUBAN  
 29      7       829     01 – BOMPARD  
 30      7       830     02 – ENDOUME  
 31      7       831     07 – LES ILES  
 32      7       832     03 – PHARO  
 33      7       833     04 – ROUCAS BLANC  
 34      7       834     06 – ST LAMBERT  
 35      7       835     05 – ST. VICTOR  
 36      8       836     01 – BONNEVEINE  
 37      8       837     02 – LES GOUDES  
 38      8       838     03 – MONTREDON  
 39      8       839     04 – PERIER  
 40      8       840     05 – LA PLAGE  
 41      8       841     06 – LA POINTE ROUGE  
 42      8       842     07 – ROUET  
 43      8       843     09 – ST. GINIEZ  
 44      8       844     08 – STE ANNE  
 45      8       845     10 – VIEILLE CHAPELLE  
 46      9       846     01 – LES BAUMETTES  
 47      9       847     02 – LE CABOT  
 48      9       848     03 – CARPAGNE  
 49      9       849     04 – MAZARGUES  
 50      9       850     05 – LA PANOUSE  
 51      9       851     06 – LE REDON  
 52      9       852     08 – SORMIOU  
 53      9       853     07 – STE MARGUERITE  
 54      9       854     09 – VAUFREGES  
 55      10      855     01 – CAPELETTE  
 56      10      856     02 – MENPENTI  
 57      10      857     03 – PONT DE VIVAUX  
 58      10      858     04 – ST. LOUP  
 59      10      859     05 – ST. TRONC  
 60      10      860     06 – LA TIMONE  
 61      11      861     01 – LES ACCATES  
 62      11      862     02 – LA BARASSE  
 63      11      863     03 – LES CAMOINS  
 64      11      864     04 – EOURES  
 65      11      865     05 – LA MILLIERE  
 66      11      866     06 – LA POMME  
 67      11      867     07 – ST. MARCEL  
 68      11      868     08 – ST. MENET  
 69      11      869     09 – LA TREILLE  
 70      11      870     10 – LA VALBARELLE  
 71      11      871     11 – LA VALENTINE  
 72      12      872     01 – LES CAILLOLS  
 73      12      873     02 – LA FOURRAGERE  
 74      12      874     03 – MONTOLIVET  
 75      12      875     04 – ST. BARNABE  
 76      12      876     05 – ST. JEAN DU DESERT  
 77      12      877     06 – ST. JULIEN  
 78      12      878     07 – LES TROIS LUCS  
 79      13      879     01 – CHÂTEAU GOMBERT  
 80      13      880     02 – LA CROIX ROUGE  
 81      13      881     03 – MALPASSE  
 82      13      882     04 – LES MEDECINS  
 83      13      883     05 – LES MOURETS  
 84      13      884     06 – LES OLIVES  
 85      13      885     07 – PALAMA  
 86      13      886     08 – LA ROSE  
 87      13      887     09 – ST. JEROME  
 88      13      888     10 – ST. JUST  
 89      13      889     11 – ST. MITRE  
 90      14      890     01 – LES ARNAVAUX  
 91      14      891     02 – BON SECOURS  
 92      14      892     03 – LE CANET  
 93      14      893     04 – LE MERLAN  
 94      14      894     05 – ST. BARTHELEMY  
 95      14      895     06 – ST. JOSEPH  
 96      14      896     07 – STE MARTHE  
 97      15      897     01 – LES AYGALADES  
 98      15      898     02 – BOREL  
 99      15      899     03 – LA CABUCELLE  
 100     15      900     04 – LA CALADE  
 101     15      901     05 – LES CROTTES  
 102     15      902     06 – LA DELORME  
 103     15      903     07 – N. DAME LIMITE  
 104     15      904     08 – ST. ANTOINE  
 105     15      905     09 – ST. LOUIS  
 106     15      906     10 – VERDURON  
 107     15      907     11 – LA VISTE  
 108     16      908     01 – L'ESTAQUE  
 109     16      909     02 – LES RIAUX  
 110     16      910     03 – ST. ANDRE  
 111     16      911     04 – ST. HENRI  
 \.  
   
   
 --  
908  -- Name: quartier_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres  -- Name: quartier_seq; Type: SEQUENCE SET; Schema: openads; Owner: postgres
909  --  --
910    

Legend:
Removed from v.2267  
changed lines
  Added in v.2397

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26