veekun_pokedex/pokedex/data/csv/pokemon_egg_groups.csv
Eevee 634ef3ed1e Fixed a slew of foriegn key import problems. #29
Curse's type_id was 0, which is bogus; this has been fixed by creating a
real ????? type.
Fourth-gen moves all had zero as a contest effect id, which was also
bogus.
Pokémon 494 and 495 were junk and have been scrapped entirely.
pokemon_form_groups's description column was too short.

pokedex's connect() now takes kwargs passed to sessionmaker().

A more major change: some tables, like pokemon, are self-referential and
contain rows that refer to rows later in the table (for example, Pikachu
evolves from Pichu, which has a higher id).  At the moment such a row is
loaded, the foreign key is thus bogus.  I solved this by turning on
autocommit and wrapping add() in a try block, then attempting to readd
every failed row again after the rest of the table is finished.  Slows
the import down a bit, but makes it work perfectly with foreign key
checks on.
2009-07-03 23:12:13 -04:00

3.9 KiB

1pokemon_idegg_group_id
211
321
431
541
651
761
871
981
1091
11291
12321
13331
14341
15791
16801
171041
181051
191081
201111
211121
221151
231311
241431
251521
261531
271541
281581
291591
301601
311791
321801
331811
341991
352461
362471
372481
382521
392531
402541
412581
422591
432601
442931
452941
462951
473041
483051
493061
503571
513871
523881
533891
544081
554091
564101
574111
584431
594441
604451
614591
624601
634631
644641
6572
6682
6792
68542
69552
70602
71612
72622
73792
74802
75862
76872
771162
781172
791312
801382
811392
821402
831412
841472
851482
861492
871582
881592
891602
901832
911842
921862
931942
941952
951992
962222
972232
982242
992252
1002262
1012302
1022582
1032592
1042602
1052702
1062712
1072722
1082782
1092792
1102832
1112842
1123412
1133422
1143492
1153502
1163632
1173642
1183652
1193662
1203672
1213682
1223692
1233932
1243942
1253952
1263992
1274002
1284182
1294192
1304222
1314232
1324892
1334902
134103
135113
136123
137133
138143
139153
140463
141473
142483
143493
1441233
1451273
1461653
1471663
1481673
1491683
1501933
1512043
1522053
1532073
1542123
1552133
1562143
1572653
1582663
1592673
1602683
1612693
1622833
1632843
1642903
1652913
1663133
1673143
1683283
1693293
1703303
1714013
1724023
1734123
1744133
1754143
1764153
1774163
1784513
1794523
1804693
1814723
1824993
1835003
184164
185174
186184
187214
188224
189414
190424
191834
192844
193854
1941424
1951634
1961644
1971694
1981764
1991774
2001784
2011984
2022274
2032764
2042774
2052784
2062794
2073334
2083344
2093964
2103974
2113984
2124304
2134414
2144684
215195
216205
217235
218245
219255
220265
221275
222285
223295
224325
225335
226345
227375
228385
229505
230515
231525
232535
233545
234555
235565
236575
237585
238595
239775
240785
241835
242865
243875
2441115
2451125
2461285
2471335
2481345
2491355
2501365
2511555
2521565
2531575
2541615
2551625
2561795
2571805
2581815
2591905
2601945
2611955
2621965
2631975
2642035
2652065
2662095
2672105
2682155
2692165
2702175
2712205
2722215
2732255
2742285
2752295
2762315
2772325
2782345
2792355
2802415
2812555
2822565
2832575
2842615
2852625
2862635
2872645
2882735
2892745
2902755
2912875
2922885
2932895
2942935
2952945
2962955
2973005
2983015
2993035
3003095
3013105
3023205
3033215
3043225
3053235
3063245
3073255
3083265
3093275
3103355
3113365
3123525
3133595
3143635
3153645
3163655
3173905
3183915
3193925
3203935
3213945
3223955
3233995
3244005
3254035
3264045
3274055
3284175
3294185
3304195
3314245
3324275
3334285
3344315
3354325
3364345
3374355
3384485
3394495
3404505
3414615
3424645
3434705
3444715
3454735
346256
347266
348356
349366
350396
351406
3521136
3531766
3541836
3551846
3561876
3571886
3581896
3592096
3602106
3612426
3622856
3632866
3643006
3653016
3663036
3673116
3683126
3693156
3703516
3713616
3723626
3734076
3744176
3754206
3764216
3774686
3784786
3794896
3804906
38117
38227
38337
384437
385447
386457
387467
388477
389697
390707
391717
3921027
3931037
3941147
3951527
3961537
3971547
3981827
3991877
4001887
4011897
4021917
4031927
4042707
4052717
4062727
4072737
4082747
4092757
4102857
4112867
4123157
4133317
4143327
4153577
4163877
4173887
4183897
4194077
4204207
4214217
4224557
4234597
4244607
4254657
426638
427648
428658
429668
430678
431688
432968
433978
4341068
4351078
4361228
4371248
4381258
4391268
4402378
4412968
4422978
4433028
4443078
4453088
4463138
4473148
4483278
4493318
4503328
4513908
4523918
4533928
4544278
4554288
4564488
4574538
4584548
4594668
4604678
461729
462739
463909
464919
465989
466999
4671209
4681219
4691389
4701399
4711409
4721419
4732229
4743419
4753429
4763459
4773469
4783479
4793489
4804519
4814529
4827410
4837510
4847610
4858110
4868210
4879510
48810010
48910110
49013710
49118510
49220810
49323310
49429210
49529910
49633710
49733810
49834310
49934410
50036110
50136210
50237410
50337510
50437610
50543610
50643710
50746210
50847410
50947610
51047810
5118811
5128911
5139211
5149311
5159411
51610911
51711011
51820011
51920211
52021811
52121911
52228011
52328111
52428211
52531611
52631711
52735111
52835311
52935411
53035511
53135611
53235811
53342211
53442311
53542511
53642611
53742911
53844211
53947511
54047711
54147911
54250311
54350411
54450511
54550611
54650711
54711812
54811912
54912912
55013012
55117012
55217112
55321112
55422312
55522412
55631812
55731912
55832012
55932112
56033912
56134012
56236912
56337012
56445612
56545712
56613213
567414
568514
569614
5702314
5712414
57211614
57311714
57412914
57513014
57614714
57714814
57814914
57923014
58025214
58125314
58225414
58333314
58433414
58533614
58634914
58735014
58837114
58937214
59037314
59144314
59244414
59344514
5943015
5953115
59614415
59714515
59814615
59915015
60015115
60117215
60217315
60317415
60417515
60520115
60623615
60723815
60823915
60924015
61024315
61124415
61224515
61324915
61425015
61525115
61629815
61736015
61837715
61937815
62037915
62138015
62238115
62338215
62438315
62538415
62638515
62738615
62840615
62943315
63043815
63143915
63244015
63344615
63444715
63545815
63648015
63748115
63848215
63948315
64048415
64148515
64248615
64348715
64448815
64549115
64649215
64749315
64849615
64949715
65049815
65150115
65250215