mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Rearranged evolution table; added new B/W evolutions. #378
There are now (well, have been for a while) multiple ways to evolve a Pokémon from its unique parent, so the current schema wasn't working. The parent Pokémon has moved back to the main pokemon table, and pokemon_evolution has grown an artificial primary key. New evolution methods for Milotic, Leafeon, Glaceon, Magnezone, and Probopass have been added.
This commit is contained in:
parent
08bfd753e0
commit
28d81cc25f
3 changed files with 1003 additions and 1009 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,321 +1,326 @@
|
||||||
from_pokemon_id,to_pokemon_id,evolution_trigger_id,trigger_item_id,minimum_level,gender,location_id,held_item_id,time_of_day,known_move_id,minimum_happiness,minimum_beauty,relative_physical_stats,party_pokemon_id,trade_pokemon_id
|
id,evolved_pokemon_id,evolution_trigger_id,trigger_item_id,minimum_level,gender,location_id,held_item_id,time_of_day,known_move_id,minimum_happiness,minimum_beauty,relative_physical_stats,party_pokemon_id,trade_pokemon_id
|
||||||
1,2,1,,16,,,,,,,,,,
|
1,2,1,,16,,,,,,,,,,
|
||||||
2,3,1,,32,,,,,,,,,,
|
2,3,1,,32,,,,,,,,,,
|
||||||
4,5,1,,16,,,,,,,,,,
|
3,5,1,,16,,,,,,,,,,
|
||||||
5,6,1,,36,,,,,,,,,,
|
4,6,1,,36,,,,,,,,,,
|
||||||
7,8,1,,16,,,,,,,,,,
|
5,8,1,,16,,,,,,,,,,
|
||||||
8,9,1,,36,,,,,,,,,,
|
6,9,1,,36,,,,,,,,,,
|
||||||
10,11,1,,7,,,,,,,,,,
|
7,11,1,,7,,,,,,,,,,
|
||||||
11,12,1,,10,,,,,,,,,,
|
8,12,1,,10,,,,,,,,,,
|
||||||
13,14,1,,7,,,,,,,,,,
|
9,14,1,,7,,,,,,,,,,
|
||||||
14,15,1,,10,,,,,,,,,,
|
10,15,1,,10,,,,,,,,,,
|
||||||
16,17,1,,18,,,,,,,,,,
|
11,17,1,,18,,,,,,,,,,
|
||||||
17,18,1,,36,,,,,,,,,,
|
12,18,1,,36,,,,,,,,,,
|
||||||
19,20,1,,20,,,,,,,,,,
|
13,20,1,,20,,,,,,,,,,
|
||||||
21,22,1,,20,,,,,,,,,,
|
14,22,1,,20,,,,,,,,,,
|
||||||
23,24,1,,22,,,,,,,,,,
|
15,24,1,,22,,,,,,,,,,
|
||||||
172,25,1,,,,,,,,220,,,,
|
16,25,1,,,,,,,,220,,,,
|
||||||
25,26,3,83,,,,,,,,,,,
|
17,26,3,83,,,,,,,,,,,
|
||||||
27,28,1,,22,,,,,,,,,,
|
18,28,1,,22,,,,,,,,,,
|
||||||
29,30,1,,16,,,,,,,,,,
|
19,30,1,,16,,,,,,,,,,
|
||||||
30,31,3,81,,,,,,,,,,,
|
20,31,3,81,,,,,,,,,,,
|
||||||
32,33,1,,16,,,,,,,,,,
|
21,33,1,,16,,,,,,,,,,
|
||||||
33,34,3,81,,,,,,,,,,,
|
22,34,3,81,,,,,,,,,,,
|
||||||
173,35,1,,,,,,,,220,,,,
|
23,35,1,,,,,,,,220,,,,
|
||||||
35,36,3,81,,,,,,,,,,,
|
24,36,3,81,,,,,,,,,,,
|
||||||
37,38,3,82,,,,,,,,,,,
|
25,38,3,82,,,,,,,,,,,
|
||||||
174,39,1,,,,,,,,220,,,,
|
26,39,1,,,,,,,,220,,,,
|
||||||
39,40,3,81,,,,,,,,,,,
|
27,40,3,81,,,,,,,,,,,
|
||||||
41,42,1,,22,,,,,,,,,,
|
28,42,1,,22,,,,,,,,,,
|
||||||
43,44,1,,21,,,,,,,,,,
|
29,44,1,,21,,,,,,,,,,
|
||||||
44,45,3,85,,,,,,,,,,,
|
30,45,3,85,,,,,,,,,,,
|
||||||
46,47,1,,24,,,,,,,,,,
|
31,47,1,,24,,,,,,,,,,
|
||||||
48,49,1,,31,,,,,,,,,,
|
32,49,1,,31,,,,,,,,,,
|
||||||
50,51,1,,26,,,,,,,,,,
|
33,51,1,,26,,,,,,,,,,
|
||||||
52,53,1,,28,,,,,,,,,,
|
34,53,1,,28,,,,,,,,,,
|
||||||
54,55,1,,33,,,,,,,,,,
|
35,55,1,,33,,,,,,,,,,
|
||||||
56,57,1,,28,,,,,,,,,,
|
36,57,1,,28,,,,,,,,,,
|
||||||
58,59,3,82,,,,,,,,,,,
|
37,59,3,82,,,,,,,,,,,
|
||||||
60,61,1,,25,,,,,,,,,,
|
38,61,1,,25,,,,,,,,,,
|
||||||
61,62,3,84,,,,,,,,,,,
|
39,62,3,84,,,,,,,,,,,
|
||||||
63,64,1,,16,,,,,,,,,,
|
40,64,1,,16,,,,,,,,,,
|
||||||
64,65,2,,,,,,,,,,,,
|
41,65,2,,,,,,,,,,,,
|
||||||
66,67,1,,28,,,,,,,,,,
|
42,67,1,,28,,,,,,,,,,
|
||||||
67,68,2,,,,,,,,,,,,
|
43,68,2,,,,,,,,,,,,
|
||||||
69,70,1,,21,,,,,,,,,,
|
44,70,1,,21,,,,,,,,,,
|
||||||
70,71,3,85,,,,,,,,,,,
|
45,71,3,85,,,,,,,,,,,
|
||||||
72,73,1,,30,,,,,,,,,,
|
46,73,1,,30,,,,,,,,,,
|
||||||
74,75,1,,25,,,,,,,,,,
|
47,75,1,,25,,,,,,,,,,
|
||||||
75,76,2,,,,,,,,,,,,
|
48,76,2,,,,,,,,,,,,
|
||||||
77,78,1,,40,,,,,,,,,,
|
49,78,1,,40,,,,,,,,,,
|
||||||
79,80,1,,37,,,,,,,,,,
|
50,80,1,,37,,,,,,,,,,
|
||||||
81,82,1,,30,,,,,,,,,,
|
51,82,1,,30,,,,,,,,,,
|
||||||
84,85,1,,31,,,,,,,,,,
|
52,85,1,,31,,,,,,,,,,
|
||||||
86,87,1,,34,,,,,,,,,,
|
53,87,1,,34,,,,,,,,,,
|
||||||
88,89,1,,38,,,,,,,,,,
|
54,89,1,,38,,,,,,,,,,
|
||||||
90,91,3,84,,,,,,,,,,,
|
55,91,3,84,,,,,,,,,,,
|
||||||
92,93,1,,25,,,,,,,,,,
|
56,93,1,,25,,,,,,,,,,
|
||||||
93,94,2,,,,,,,,,,,,
|
57,94,2,,,,,,,,,,,,
|
||||||
96,97,1,,26,,,,,,,,,,
|
58,97,1,,26,,,,,,,,,,
|
||||||
98,99,1,,28,,,,,,,,,,
|
59,99,1,,28,,,,,,,,,,
|
||||||
100,101,1,,30,,,,,,,,,,
|
60,101,1,,30,,,,,,,,,,
|
||||||
102,103,3,85,,,,,,,,,,,
|
61,103,3,85,,,,,,,,,,,
|
||||||
104,105,1,,28,,,,,,,,,,
|
62,105,1,,28,,,,,,,,,,
|
||||||
236,106,1,,20,,,,,,,,1,,
|
63,106,1,,20,,,,,,,,1,,
|
||||||
236,107,1,,20,,,,,,,,-1,,
|
64,107,1,,20,,,,,,,,-1,,
|
||||||
109,110,1,,35,,,,,,,,,,
|
65,110,1,,35,,,,,,,,,,
|
||||||
111,112,1,,42,,,,,,,,,,
|
66,112,1,,42,,,,,,,,,,
|
||||||
440,113,1,,,,,110,day,,,,,,
|
67,113,1,,,,,110,day,,,,,,
|
||||||
116,117,1,,32,,,,,,,,,,
|
68,117,1,,32,,,,,,,,,,
|
||||||
118,119,1,,33,,,,,,,,,,
|
69,119,1,,33,,,,,,,,,,
|
||||||
120,121,3,84,,,,,,,,,,,
|
70,121,3,84,,,,,,,,,,,
|
||||||
439,122,1,,,,,,,102,,,,,
|
71,122,1,,,,,,,102,,,,,
|
||||||
238,124,1,,30,,,,,,,,,,
|
72,124,1,,30,,,,,,,,,,
|
||||||
239,125,1,,30,,,,,,,,,,
|
73,125,1,,30,,,,,,,,,,
|
||||||
240,126,1,,30,,,,,,,,,,
|
74,126,1,,30,,,,,,,,,,
|
||||||
129,130,1,,20,,,,,,,,,,
|
75,130,1,,20,,,,,,,,,,
|
||||||
133,134,3,84,,,,,,,,,,,
|
76,134,3,84,,,,,,,,,,,
|
||||||
133,135,3,83,,,,,,,,,,,
|
77,135,3,83,,,,,,,,,,,
|
||||||
133,136,3,82,,,,,,,,,,,
|
78,136,3,82,,,,,,,,,,,
|
||||||
138,139,1,,40,,,,,,,,,,
|
79,139,1,,40,,,,,,,,,,
|
||||||
140,141,1,,40,,,,,,,,,,
|
80,141,1,,40,,,,,,,,,,
|
||||||
446,143,1,,,,,,,,220,,,,
|
81,143,1,,,,,,,,220,,,,
|
||||||
147,148,1,,30,,,,,,,,,,
|
82,148,1,,30,,,,,,,,,,
|
||||||
148,149,1,,55,,,,,,,,,,
|
83,149,1,,55,,,,,,,,,,
|
||||||
152,153,1,,16,,,,,,,,,,
|
84,153,1,,16,,,,,,,,,,
|
||||||
153,154,1,,32,,,,,,,,,,
|
85,154,1,,32,,,,,,,,,,
|
||||||
155,156,1,,14,,,,,,,,,,
|
86,156,1,,14,,,,,,,,,,
|
||||||
156,157,1,,36,,,,,,,,,,
|
87,157,1,,36,,,,,,,,,,
|
||||||
158,159,1,,18,,,,,,,,,,
|
88,159,1,,18,,,,,,,,,,
|
||||||
159,160,1,,30,,,,,,,,,,
|
89,160,1,,30,,,,,,,,,,
|
||||||
161,162,1,,15,,,,,,,,,,
|
90,162,1,,15,,,,,,,,,,
|
||||||
163,164,1,,20,,,,,,,,,,
|
91,164,1,,20,,,,,,,,,,
|
||||||
165,166,1,,18,,,,,,,,,,
|
92,166,1,,18,,,,,,,,,,
|
||||||
167,168,1,,22,,,,,,,,,,
|
93,168,1,,22,,,,,,,,,,
|
||||||
42,169,1,,,,,,,,220,,,,
|
94,169,1,,,,,,,,220,,,,
|
||||||
170,171,1,,27,,,,,,,,,,
|
95,171,1,,27,,,,,,,,,,
|
||||||
175,176,1,,,,,,,,220,,,,
|
96,176,1,,,,,,,,220,,,,
|
||||||
177,178,1,,25,,,,,,,,,,
|
97,178,1,,25,,,,,,,,,,
|
||||||
179,180,1,,15,,,,,,,,,,
|
98,180,1,,15,,,,,,,,,,
|
||||||
180,181,1,,30,,,,,,,,,,
|
99,181,1,,30,,,,,,,,,,
|
||||||
44,182,3,80,,,,,,,,,,,
|
100,182,3,80,,,,,,,,,,,
|
||||||
298,183,1,,,,,,,,220,,,,
|
101,183,1,,,,,,,,220,,,,
|
||||||
183,184,1,,18,,,,,,,,,,
|
102,184,1,,18,,,,,,,,,,
|
||||||
438,185,1,,,,,,,102,,,,,
|
103,185,1,,,,,,,102,,,,,
|
||||||
61,186,2,,,,,198,,,,,,,
|
104,186,2,,,,,198,,,,,,,
|
||||||
187,188,1,,18,,,,,,,,,,
|
105,188,1,,18,,,,,,,,,,
|
||||||
188,189,1,,27,,,,,,,,,,
|
106,189,1,,27,,,,,,,,,,
|
||||||
191,192,3,80,,,,,,,,,,,
|
107,192,3,80,,,,,,,,,,,
|
||||||
194,195,1,,20,,,,,,,,,,
|
108,195,1,,20,,,,,,,,,,
|
||||||
133,196,1,,,,,,day,,220,,,,
|
109,196,1,,,,,,day,,220,,,,
|
||||||
133,197,1,,,,,,night,,220,,,,
|
110,197,1,,,,,,night,,220,,,,
|
||||||
79,199,2,,,,,198,,,,,,,
|
111,199,2,,,,,198,,,,,,,
|
||||||
360,202,1,,15,,,,,,,,,,
|
112,202,1,,15,,,,,,,,,,
|
||||||
204,205,1,,31,,,,,,,,,,
|
113,205,1,,31,,,,,,,,,,
|
||||||
95,208,2,,,,,210,,,,,,,
|
114,208,2,,,,,210,,,,,,,
|
||||||
209,210,1,,23,,,,,,,,,,
|
115,210,1,,23,,,,,,,,,,
|
||||||
123,212,2,,,,,210,,,,,,,
|
116,212,2,,,,,210,,,,,,,
|
||||||
216,217,1,,30,,,,,,,,,,
|
117,217,1,,30,,,,,,,,,,
|
||||||
218,219,1,,38,,,,,,,,,,
|
118,219,1,,38,,,,,,,,,,
|
||||||
220,221,1,,33,,,,,,,,,,
|
119,221,1,,33,,,,,,,,,,
|
||||||
223,224,1,,25,,,,,,,,,,
|
120,224,1,,25,,,,,,,,,,
|
||||||
458,226,1,,,,,,,,,,,223,
|
121,226,1,,,,,,,,,,,223,
|
||||||
228,229,1,,24,,,,,,,,,,
|
122,229,1,,24,,,,,,,,,,
|
||||||
117,230,2,,,,,212,,,,,,,
|
123,230,2,,,,,212,,,,,,,
|
||||||
231,232,1,,25,,,,,,,,,,
|
124,232,1,,25,,,,,,,,,,
|
||||||
137,233,2,,,,,229,,,,,,,
|
125,233,2,,,,,229,,,,,,,
|
||||||
236,237,1,,20,,,,,,,,0,,
|
126,237,1,,20,,,,,,,,0,,
|
||||||
113,242,1,,,,,,,,220,,,,
|
127,242,1,,,,,,,,220,,,,
|
||||||
246,247,1,,30,,,,,,,,,,
|
128,247,1,,30,,,,,,,,,,
|
||||||
247,248,1,,55,,,,,,,,,,
|
129,248,1,,55,,,,,,,,,,
|
||||||
252,253,1,,16,,,,,,,,,,
|
130,253,1,,16,,,,,,,,,,
|
||||||
253,254,1,,36,,,,,,,,,,
|
131,254,1,,36,,,,,,,,,,
|
||||||
255,256,1,,16,,,,,,,,,,
|
132,256,1,,16,,,,,,,,,,
|
||||||
256,257,1,,36,,,,,,,,,,
|
133,257,1,,36,,,,,,,,,,
|
||||||
258,259,1,,16,,,,,,,,,,
|
134,259,1,,16,,,,,,,,,,
|
||||||
259,260,1,,36,,,,,,,,,,
|
135,260,1,,36,,,,,,,,,,
|
||||||
261,262,1,,18,,,,,,,,,,
|
136,262,1,,18,,,,,,,,,,
|
||||||
263,264,1,,20,,,,,,,,,,
|
137,264,1,,20,,,,,,,,,,
|
||||||
265,266,1,,7,,,,,,,,,,
|
138,266,1,,7,,,,,,,,,,
|
||||||
266,267,1,,10,,,,,,,,,,
|
139,267,1,,10,,,,,,,,,,
|
||||||
265,268,1,,7,,,,,,,,,,
|
140,268,1,,7,,,,,,,,,,
|
||||||
268,269,1,,10,,,,,,,,,,
|
141,269,1,,10,,,,,,,,,,
|
||||||
270,271,1,,14,,,,,,,,,,
|
142,271,1,,14,,,,,,,,,,
|
||||||
271,272,3,84,,,,,,,,,,,
|
143,272,3,84,,,,,,,,,,,
|
||||||
273,274,1,,14,,,,,,,,,,
|
144,274,1,,14,,,,,,,,,,
|
||||||
274,275,3,85,,,,,,,,,,,
|
145,275,3,85,,,,,,,,,,,
|
||||||
276,277,1,,22,,,,,,,,,,
|
146,277,1,,22,,,,,,,,,,
|
||||||
278,279,1,,25,,,,,,,,,,
|
147,279,1,,25,,,,,,,,,,
|
||||||
280,281,1,,20,,,,,,,,,,
|
148,281,1,,20,,,,,,,,,,
|
||||||
281,282,1,,30,,,,,,,,,,
|
149,282,1,,30,,,,,,,,,,
|
||||||
283,284,1,,22,,,,,,,,,,
|
150,284,1,,22,,,,,,,,,,
|
||||||
285,286,1,,23,,,,,,,,,,
|
151,286,1,,23,,,,,,,,,,
|
||||||
287,288,1,,18,,,,,,,,,,
|
152,288,1,,18,,,,,,,,,,
|
||||||
288,289,1,,36,,,,,,,,,,
|
153,289,1,,36,,,,,,,,,,
|
||||||
290,291,1,,20,,,,,,,,,,
|
154,291,1,,20,,,,,,,,,,
|
||||||
290,292,4,,,,,,,,,,,,
|
155,292,4,,,,,,,,,,,,
|
||||||
293,294,1,,20,,,,,,,,,,
|
156,294,1,,20,,,,,,,,,,
|
||||||
294,295,1,,40,,,,,,,,,,
|
157,295,1,,40,,,,,,,,,,
|
||||||
296,297,1,,24,,,,,,,,,,
|
158,297,1,,24,,,,,,,,,,
|
||||||
300,301,3,81,,,,,,,,,,,
|
159,301,3,81,,,,,,,,,,,
|
||||||
304,305,1,,32,,,,,,,,,,
|
160,305,1,,32,,,,,,,,,,
|
||||||
305,306,1,,42,,,,,,,,,,
|
161,306,1,,42,,,,,,,,,,
|
||||||
307,308,1,,37,,,,,,,,,,
|
162,308,1,,37,,,,,,,,,,
|
||||||
309,310,1,,26,,,,,,,,,,
|
163,310,1,,26,,,,,,,,,,
|
||||||
406,315,1,,,,,,day,,220,,,,
|
164,315,1,,,,,,day,,220,,,,
|
||||||
316,317,1,,26,,,,,,,,,,
|
165,317,1,,26,,,,,,,,,,
|
||||||
318,319,1,,30,,,,,,,,,,
|
166,319,1,,30,,,,,,,,,,
|
||||||
320,321,1,,40,,,,,,,,,,
|
167,321,1,,40,,,,,,,,,,
|
||||||
322,323,1,,33,,,,,,,,,,
|
168,323,1,,33,,,,,,,,,,
|
||||||
325,326,1,,32,,,,,,,,,,
|
169,326,1,,32,,,,,,,,,,
|
||||||
328,329,1,,35,,,,,,,,,,
|
170,329,1,,35,,,,,,,,,,
|
||||||
329,330,1,,45,,,,,,,,,,
|
171,330,1,,45,,,,,,,,,,
|
||||||
331,332,1,,32,,,,,,,,,,
|
172,332,1,,32,,,,,,,,,,
|
||||||
333,334,1,,35,,,,,,,,,,
|
173,334,1,,35,,,,,,,,,,
|
||||||
339,340,1,,30,,,,,,,,,,
|
174,340,1,,30,,,,,,,,,,
|
||||||
341,342,1,,30,,,,,,,,,,
|
175,342,1,,30,,,,,,,,,,
|
||||||
343,344,1,,36,,,,,,,,,,
|
176,344,1,,36,,,,,,,,,,
|
||||||
345,346,1,,40,,,,,,,,,,
|
177,346,1,,40,,,,,,,,,,
|
||||||
347,348,1,,40,,,,,,,,,,
|
178,348,1,,40,,,,,,,,,,
|
||||||
349,350,1,,,,,,,,,171,,,
|
179,350,1,,,,,,,,,171,,,
|
||||||
353,354,1,,37,,,,,,,,,,
|
180,354,1,,37,,,,,,,,,,
|
||||||
355,356,1,,37,,,,,,,,,,
|
181,356,1,,37,,,,,,,,,,
|
||||||
433,358,1,,,,,,night,,220,,,,
|
182,358,1,,,,,,night,,220,,,,
|
||||||
361,362,1,,42,,,,,,,,,,
|
183,362,1,,42,,,,,,,,,,
|
||||||
363,364,1,,32,,,,,,,,,,
|
184,364,1,,32,,,,,,,,,,
|
||||||
364,365,1,,44,,,,,,,,,,
|
185,365,1,,44,,,,,,,,,,
|
||||||
366,367,2,,,,,203,,,,,,,
|
186,367,2,,,,,203,,,,,,,
|
||||||
366,368,2,,,,,204,,,,,,,
|
187,368,2,,,,,204,,,,,,,
|
||||||
371,372,1,,30,,,,,,,,,,
|
188,372,1,,30,,,,,,,,,,
|
||||||
372,373,1,,50,,,,,,,,,,
|
189,373,1,,50,,,,,,,,,,
|
||||||
374,375,1,,20,,,,,,,,,,
|
190,375,1,,20,,,,,,,,,,
|
||||||
375,376,1,,45,,,,,,,,,,
|
191,376,1,,45,,,,,,,,,,
|
||||||
387,388,1,,18,,,,,,,,,,
|
192,388,1,,18,,,,,,,,,,
|
||||||
388,389,1,,32,,,,,,,,,,
|
193,389,1,,32,,,,,,,,,,
|
||||||
390,391,1,,14,,,,,,,,,,
|
194,391,1,,14,,,,,,,,,,
|
||||||
391,392,1,,36,,,,,,,,,,
|
195,392,1,,36,,,,,,,,,,
|
||||||
393,394,1,,16,,,,,,,,,,
|
196,394,1,,16,,,,,,,,,,
|
||||||
394,395,1,,36,,,,,,,,,,
|
197,395,1,,36,,,,,,,,,,
|
||||||
396,397,1,,14,,,,,,,,,,
|
198,397,1,,14,,,,,,,,,,
|
||||||
397,398,1,,34,,,,,,,,,,
|
199,398,1,,34,,,,,,,,,,
|
||||||
399,400,1,,15,,,,,,,,,,
|
200,400,1,,15,,,,,,,,,,
|
||||||
401,402,1,,10,,,,,,,,,,
|
201,402,1,,10,,,,,,,,,,
|
||||||
403,404,1,,15,,,,,,,,,,
|
202,404,1,,15,,,,,,,,,,
|
||||||
404,405,1,,30,,,,,,,,,,
|
203,405,1,,30,,,,,,,,,,
|
||||||
315,407,3,107,,,,,,,,,,,
|
204,407,3,107,,,,,,,,,,,
|
||||||
408,409,1,,30,,,,,,,,,,
|
205,409,1,,30,,,,,,,,,,
|
||||||
410,411,1,,30,,,,,,,,,,
|
206,411,1,,30,,,,,,,,,,
|
||||||
412,413,1,,20,female,,,,,,,,,
|
207,413,1,,20,female,,,,,,,,,
|
||||||
412,414,1,,20,male,,,,,,,,,
|
208,414,1,,20,male,,,,,,,,,
|
||||||
415,416,1,,21,female,,,,,,,,,
|
209,416,1,,21,female,,,,,,,,,
|
||||||
418,419,1,,26,,,,,,,,,,
|
210,419,1,,26,,,,,,,,,,
|
||||||
420,421,1,,25,,,,,,,,,,
|
211,421,1,,25,,,,,,,,,,
|
||||||
422,423,1,,30,,,,,,,,,,
|
212,423,1,,30,,,,,,,,,,
|
||||||
190,424,1,,,,,,,458,,,,,
|
213,424,1,,,,,,,458,,,,,
|
||||||
425,426,1,,28,,,,,,,,,,
|
214,426,1,,28,,,,,,,,,,
|
||||||
427,428,1,,,,,,,,220,,,,
|
215,428,1,,,,,,,,220,,,,
|
||||||
200,429,3,108,,,,,,,,,,,
|
216,429,3,108,,,,,,,,,,,
|
||||||
198,430,3,108,,,,,,,,,,,
|
217,430,3,108,,,,,,,,,,,
|
||||||
431,432,1,,38,,,,,,,,,,
|
218,432,1,,38,,,,,,,,,,
|
||||||
434,435,1,,34,,,,,,,,,,
|
219,435,1,,34,,,,,,,,,,
|
||||||
436,437,1,,33,,,,,,,,,,
|
220,437,1,,33,,,,,,,,,,
|
||||||
443,444,1,,24,,,,,,,,,,
|
221,444,1,,24,,,,,,,,,,
|
||||||
444,445,1,,48,,,,,,,,,,
|
222,445,1,,48,,,,,,,,,,
|
||||||
447,448,1,,,,,,day,,220,,,,
|
223,448,1,,,,,,day,,220,,,,
|
||||||
449,450,1,,34,,,,,,,,,,
|
224,450,1,,34,,,,,,,,,,
|
||||||
451,452,1,,40,,,,,,,,,,
|
225,452,1,,40,,,,,,,,,,
|
||||||
453,454,1,,37,,,,,,,,,,
|
226,454,1,,37,,,,,,,,,,
|
||||||
456,457,1,,31,,,,,,,,,,
|
227,457,1,,31,,,,,,,,,,
|
||||||
459,460,1,,40,,,,,,,,,,
|
228,460,1,,40,,,,,,,,,,
|
||||||
215,461,1,,,,,303,night,,,,,,
|
229,461,1,,,,,303,night,,,,,,
|
||||||
82,462,1,,,,10,,,,,,,,
|
230,462,1,,,,10,,,,,,,,
|
||||||
108,463,1,,,,,,,205,,,,,
|
231,463,1,,,,,,,205,,,,,
|
||||||
112,464,2,,,,,298,,,,,,,
|
232,464,2,,,,,298,,,,,,,
|
||||||
114,465,1,,,,,,,246,,,,,
|
233,465,1,,,,,,,246,,,,,
|
||||||
125,466,2,,,,,299,,,,,,,
|
234,466,2,,,,,299,,,,,,,
|
||||||
126,467,2,,,,,300,,,,,,,
|
235,467,2,,,,,300,,,,,,,
|
||||||
176,468,3,107,,,,,,,,,,,
|
236,468,3,107,,,,,,,,,,,
|
||||||
193,469,1,,,,,,,246,,,,,
|
237,469,1,,,,,,,246,,,,,
|
||||||
133,470,1,,,,8,,,,,,,,
|
238,470,1,,,,8,,,,,,,,
|
||||||
133,471,1,,,,48,,,,,,,,
|
239,471,1,,,,48,,,,,,,,
|
||||||
207,472,1,,,,,304,night,,,,,,
|
240,472,1,,,,,304,night,,,,,,
|
||||||
221,473,1,,,,,,,246,,,,,
|
241,473,1,,,,,,,246,,,,,
|
||||||
233,474,2,,,,,301,,,,,,,
|
242,474,2,,,,,301,,,,,,,
|
||||||
281,475,3,109,,male,,,,,,,,,
|
243,475,3,109,,male,,,,,,,,,
|
||||||
299,476,1,,,,10,,,,,,,,
|
244,476,1,,,,10,,,,,,,,
|
||||||
356,477,2,,,,,302,,,,,,,
|
245,477,2,,,,,302,,,,,,,
|
||||||
361,478,3,109,,female,,,,,,,,,
|
246,478,3,109,,female,,,,,,,,,
|
||||||
495,496,1,,17,,,,,,,,,,
|
247,496,1,,17,,,,,,,,,,
|
||||||
496,497,1,,36,,,,,,,,,,
|
248,497,1,,36,,,,,,,,,,
|
||||||
498,499,1,,17,,,,,,,,,,
|
249,499,1,,17,,,,,,,,,,
|
||||||
499,500,1,,36,,,,,,,,,,
|
250,500,1,,36,,,,,,,,,,
|
||||||
501,502,1,,17,,,,,,,,,,
|
251,502,1,,17,,,,,,,,,,
|
||||||
502,503,1,,36,,,,,,,,,,
|
252,503,1,,36,,,,,,,,,,
|
||||||
504,505,1,,20,,,,,,,,,,
|
253,505,1,,20,,,,,,,,,,
|
||||||
506,507,1,,16,,,,,,,,,,
|
254,507,1,,16,,,,,,,,,,
|
||||||
507,508,1,,32,,,,,,,,,,
|
255,508,1,,32,,,,,,,,,,
|
||||||
509,510,1,,20,,,,,,,,,,
|
256,510,1,,20,,,,,,,,,,
|
||||||
511,512,3,85,,,,,,,,,,,
|
257,512,3,85,,,,,,,,,,,
|
||||||
513,514,3,82,,,,,,,,,,,
|
258,514,3,82,,,,,,,,,,,
|
||||||
515,516,3,84,,,,,,,,,,,
|
259,516,3,84,,,,,,,,,,,
|
||||||
517,518,3,81,,,,,,,,,,,
|
260,518,3,81,,,,,,,,,,,
|
||||||
519,520,1,,21,,,,,,,,,,
|
261,520,1,,21,,,,,,,,,,
|
||||||
520,521,1,,32,,,,,,,,,,
|
262,521,1,,32,,,,,,,,,,
|
||||||
522,523,1,,27,,,,,,,,,,
|
263,523,1,,27,,,,,,,,,,
|
||||||
524,525,1,,25,,,,,,,,,,
|
264,525,1,,25,,,,,,,,,,
|
||||||
525,526,2,,,,,,,,,,,,
|
265,526,2,,,,,,,,,,,,
|
||||||
527,528,1,,,,,,,,220,,,,
|
266,528,1,,,,,,,,220,,,,
|
||||||
529,530,1,,31,,,,,,,,,,
|
267,530,1,,31,,,,,,,,,,
|
||||||
532,533,1,,25,,,,,,,,,,
|
268,533,1,,25,,,,,,,,,,
|
||||||
533,534,2,,,,,,,,,,,,
|
269,534,2,,,,,,,,,,,,
|
||||||
535,536,1,,25,,,,,,,,,,
|
270,536,1,,25,,,,,,,,,,
|
||||||
536,537,1,,36,,,,,,,,,,
|
271,537,1,,36,,,,,,,,,,
|
||||||
540,541,1,,20,,,,,,,,,,
|
272,541,1,,20,,,,,,,,,,
|
||||||
541,542,1,,,,,,,,220,,,,
|
273,542,1,,,,,,,,220,,,,
|
||||||
543,544,1,,22,,,,,,,,,,
|
274,544,1,,22,,,,,,,,,,
|
||||||
544,545,1,,30,,,,,,,,,,
|
275,545,1,,30,,,,,,,,,,
|
||||||
546,547,3,80,,,,,,,,,,,
|
276,547,3,80,,,,,,,,,,,
|
||||||
548,549,3,80,,,,,,,,,,,
|
277,549,3,80,,,,,,,,,,,
|
||||||
551,552,1,,29,,,,,,,,,,
|
278,552,1,,29,,,,,,,,,,
|
||||||
552,553,1,,40,,,,,,,,,,
|
279,553,1,,40,,,,,,,,,,
|
||||||
554,555,1,,35,,,,,,,,,,
|
280,555,1,,35,,,,,,,,,,
|
||||||
557,558,1,,34,,,,,,,,,,
|
281,558,1,,34,,,,,,,,,,
|
||||||
559,560,1,,39,,,,,,,,,,
|
282,560,1,,39,,,,,,,,,,
|
||||||
562,563,1,,34,,,,,,,,,,
|
283,563,1,,34,,,,,,,,,,
|
||||||
564,565,1,,37,,,,,,,,,,
|
284,565,1,,37,,,,,,,,,,
|
||||||
566,567,1,,37,,,,,,,,,,
|
285,567,1,,37,,,,,,,,,,
|
||||||
568,569,1,,36,,,,,,,,,,
|
286,569,1,,36,,,,,,,,,,
|
||||||
570,571,1,,30,,,,,,,,,,
|
287,571,1,,30,,,,,,,,,,
|
||||||
572,573,3,107,,,,,,,,,,,
|
288,573,3,107,,,,,,,,,,,
|
||||||
574,575,1,,32,,,,,,,,,,
|
289,575,1,,32,,,,,,,,,,
|
||||||
575,576,1,,41,,,,,,,,,,
|
290,576,1,,41,,,,,,,,,,
|
||||||
577,578,1,,32,,,,,,,,,,
|
291,578,1,,32,,,,,,,,,,
|
||||||
578,579,1,,41,,,,,,,,,,
|
292,579,1,,41,,,,,,,,,,
|
||||||
580,581,1,,35,,,,,,,,,,
|
293,581,1,,35,,,,,,,,,,
|
||||||
582,583,1,,35,,,,,,,,,,
|
294,583,1,,35,,,,,,,,,,
|
||||||
583,584,1,,47,,,,,,,,,,
|
295,584,1,,47,,,,,,,,,,
|
||||||
585,586,1,,34,,,,,,,,,,
|
296,586,1,,34,,,,,,,,,,
|
||||||
588,589,2,,,,,,,,,,,,616
|
297,589,2,,,,,,,,,,,,616
|
||||||
590,591,1,,39,,,,,,,,,,
|
298,591,1,,39,,,,,,,,,,
|
||||||
592,593,1,,40,,,,,,,,,,
|
299,593,1,,40,,,,,,,,,,
|
||||||
595,596,1,,36,,,,,,,,,,
|
300,596,1,,36,,,,,,,,,,
|
||||||
597,598,1,,40,,,,,,,,,,
|
301,598,1,,40,,,,,,,,,,
|
||||||
599,600,1,,38,,,,,,,,,,
|
302,600,1,,38,,,,,,,,,,
|
||||||
600,601,1,,49,,,,,,,,,,
|
303,601,1,,49,,,,,,,,,,
|
||||||
602,603,1,,39,,,,,,,,,,
|
304,603,1,,39,,,,,,,,,,
|
||||||
603,604,3,83,,,,,,,,,,,
|
305,604,3,83,,,,,,,,,,,
|
||||||
605,606,1,,42,,,,,,,,,,
|
306,606,1,,42,,,,,,,,,,
|
||||||
607,608,1,,41,,,,,,,,,,
|
307,608,1,,41,,,,,,,,,,
|
||||||
608,609,3,108,,,,,,,,,,,
|
308,609,3,108,,,,,,,,,,,
|
||||||
610,611,1,,38,,,,,,,,,,
|
309,611,1,,38,,,,,,,,,,
|
||||||
611,612,1,,48,,,,,,,,,,
|
310,612,1,,48,,,,,,,,,,
|
||||||
613,614,1,,37,,,,,,,,,,
|
311,614,1,,37,,,,,,,,,,
|
||||||
616,617,2,,,,,,,,,,,,588
|
312,617,2,,,,,,,,,,,,588
|
||||||
619,620,1,,50,,,,,,,,,,
|
313,620,1,,50,,,,,,,,,,
|
||||||
622,623,1,,43,,,,,,,,,,
|
314,623,1,,43,,,,,,,,,,
|
||||||
624,625,1,,52,,,,,,,,,,
|
315,625,1,,52,,,,,,,,,,
|
||||||
627,628,1,,54,,,,,,,,,,
|
316,628,1,,54,,,,,,,,,,
|
||||||
629,630,1,,54,,,,,,,,,,
|
317,630,1,,54,,,,,,,,,,
|
||||||
633,634,1,,50,,,,,,,,,,
|
318,634,1,,50,,,,,,,,,,
|
||||||
634,635,1,,64,,,,,,,,,,
|
319,635,1,,64,,,,,,,,,,
|
||||||
636,637,1,,59,,,,,,,,,,
|
320,637,1,,59,,,,,,,,,,
|
||||||
|
321,350,2,,,,,580,,,,,,,
|
||||||
|
322,462,1,,,,379,,,,,,,,
|
||||||
|
323,476,1,,,,379,,,,,,,,
|
||||||
|
324,470,1,,,,375,,,,,,,,
|
||||||
|
325,471,1,,,,380,,,,,,,,
|
||||||
|
|
|
|
@ -1068,6 +1068,8 @@ class Pokemon(TableBase):
|
||||||
info=dict(description=u"ID of the generation this species first appeared in"))
|
info=dict(description=u"ID of the generation this species first appeared in"))
|
||||||
evolution_chain_id = Column(Integer, ForeignKey('evolution_chains.id'),
|
evolution_chain_id = Column(Integer, ForeignKey('evolution_chains.id'),
|
||||||
info=dict(description=u"ID of the species' evolution chain (a.k.a. family)"))
|
info=dict(description=u"ID of the species' evolution chain (a.k.a. family)"))
|
||||||
|
evolves_from_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=True,
|
||||||
|
info=dict(description=u"The Pokémon species from which this one evolves"))
|
||||||
height = Column(Integer, nullable=False,
|
height = Column(Integer, nullable=False,
|
||||||
info=dict(description=u"The height of the Pokémon, in decimeters (tenths of a meter)"))
|
info=dict(description=u"The height of the Pokémon, in decimeters (tenths of a meter)"))
|
||||||
weight = Column(Integer, nullable=False,
|
weight = Column(Integer, nullable=False,
|
||||||
|
@ -1249,9 +1251,8 @@ class PokemonEvolution(TableBase):
|
||||||
Any condition may be null if it does not apply for a particular Pokémon.
|
Any condition may be null if it does not apply for a particular Pokémon.
|
||||||
"""
|
"""
|
||||||
__tablename__ = 'pokemon_evolution'
|
__tablename__ = 'pokemon_evolution'
|
||||||
from_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=False,
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
info=dict(description=u"The ID of the pre-evolution Pokémon."))
|
evolved_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=False,
|
||||||
to_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False,
|
|
||||||
info=dict(description=u"The ID of the post-evolution Pokémon."))
|
info=dict(description=u"The ID of the post-evolution Pokémon."))
|
||||||
evolution_trigger_id = Column(Integer, ForeignKey('evolution_triggers.id'), nullable=False,
|
evolution_trigger_id = Column(Integer, ForeignKey('evolution_triggers.id'), nullable=False,
|
||||||
info=dict(description=u"The ID of the evolution trigger."))
|
info=dict(description=u"The ID of the evolution trigger."))
|
||||||
|
@ -1988,11 +1989,13 @@ Pokemon.egg_groups = relation(EggGroup,
|
||||||
Pokemon.evolution_chain = relation(EvolutionChain,
|
Pokemon.evolution_chain = relation(EvolutionChain,
|
||||||
innerjoin=True,
|
innerjoin=True,
|
||||||
backref=backref('pokemon', order_by=Pokemon.order.asc()))
|
backref=backref('pokemon', order_by=Pokemon.order.asc()))
|
||||||
Pokemon.child_pokemon = relation(Pokemon,
|
Pokemon.parent_pokemon = relation(Pokemon,
|
||||||
primaryjoin=Pokemon.id==PokemonEvolution.from_pokemon_id,
|
primaryjoin=Pokemon.evolves_from_pokemon_id==Pokemon.id,
|
||||||
secondary=PokemonEvolution.__table__,
|
remote_side=[Pokemon.id],
|
||||||
secondaryjoin=PokemonEvolution.to_pokemon_id==Pokemon.id,
|
backref='child_pokemon')
|
||||||
backref=backref('parent_pokemon', uselist=False))
|
Pokemon.evolutions = relation(PokemonEvolution,
|
||||||
|
primaryjoin=Pokemon.id==PokemonEvolution.evolved_pokemon_id,
|
||||||
|
backref=backref('evolved_pokemon', innerjoin=True, lazy='joined'))
|
||||||
Pokemon.flavor_text = relation(PokemonFlavorText,
|
Pokemon.flavor_text = relation(PokemonFlavorText,
|
||||||
order_by=PokemonFlavorText.version_id.asc(),
|
order_by=PokemonFlavorText.version_id.asc(),
|
||||||
backref='pokemon')
|
backref='pokemon')
|
||||||
|
@ -2028,20 +2031,6 @@ Pokemon.types = relation(Type,
|
||||||
PokemonDexNumber.pokedex = relation(Pokedex,
|
PokemonDexNumber.pokedex = relation(Pokedex,
|
||||||
innerjoin=True, lazy='joined')
|
innerjoin=True, lazy='joined')
|
||||||
|
|
||||||
PokemonEvolution.from_pokemon = relation(Pokemon,
|
|
||||||
primaryjoin=PokemonEvolution.from_pokemon_id==Pokemon.id,
|
|
||||||
innerjoin=True,
|
|
||||||
backref='child_evolutions')
|
|
||||||
PokemonEvolution.to_pokemon = relation(Pokemon,
|
|
||||||
primaryjoin=PokemonEvolution.to_pokemon_id==Pokemon.id,
|
|
||||||
innerjoin=True,
|
|
||||||
backref=backref('parent_evolution', uselist=False))
|
|
||||||
PokemonEvolution.child_evolutions = relation(PokemonEvolution,
|
|
||||||
primaryjoin=PokemonEvolution.from_pokemon_id==PokemonEvolution.to_pokemon_id,
|
|
||||||
foreign_keys=[PokemonEvolution.to_pokemon_id],
|
|
||||||
backref=backref('parent_evolution',
|
|
||||||
remote_side=[PokemonEvolution.from_pokemon_id],
|
|
||||||
uselist=False))
|
|
||||||
PokemonEvolution.trigger = relation(EvolutionTrigger,
|
PokemonEvolution.trigger = relation(EvolutionTrigger,
|
||||||
innerjoin=True, lazy='joined',
|
innerjoin=True, lazy='joined',
|
||||||
backref='evolutions')
|
backref='evolutions')
|
||||||
|
|
Loading…
Reference in a new issue