Add an is_main_series column to abilities.

This commit is contained in:
Lynn "Zhorken" Vaughan 2013-07-04 03:50:34 -04:00
parent f34f6bb72a
commit e0beddc573
2 changed files with 227 additions and 225 deletions

View file

@ -1,225 +1,225 @@
id,identifier,generation_id
1,stench,3
2,drizzle,3
3,speed-boost,3
4,battle-armor,3
5,sturdy,3
6,damp,3
7,limber,3
8,sand-veil,3
9,static,3
10,volt-absorb,3
11,water-absorb,3
12,oblivious,3
13,cloud-nine,3
14,compoundeyes,3
15,insomnia,3
16,color-change,3
17,immunity,3
18,flash-fire,3
19,shield-dust,3
20,own-tempo,3
21,suction-cups,3
22,intimidate,3
23,shadow-tag,3
24,rough-skin,3
25,wonder-guard,3
26,levitate,3
27,effect-spore,3
28,synchronize,3
29,clear-body,3
30,natural-cure,3
31,lightningrod,3
32,serene-grace,3
33,swift-swim,3
34,chlorophyll,3
35,illuminate,3
36,trace,3
37,huge-power,3
38,poison-point,3
39,inner-focus,3
40,magma-armor,3
41,water-veil,3
42,magnet-pull,3
43,soundproof,3
44,rain-dish,3
45,sand-stream,3
46,pressure,3
47,thick-fat,3
48,early-bird,3
49,flame-body,3
50,run-away,3
51,keen-eye,3
52,hyper-cutter,3
53,pickup,3
54,truant,3
55,hustle,3
56,cute-charm,3
57,plus,3
58,minus,3
59,forecast,3
60,sticky-hold,3
61,shed-skin,3
62,guts,3
63,marvel-scale,3
64,liquid-ooze,3
65,overgrow,3
66,blaze,3
67,torrent,3
68,swarm,3
69,rock-head,3
70,drought,3
71,arena-trap,3
72,vital-spirit,3
73,white-smoke,3
74,pure-power,3
75,shell-armor,3
76,air-lock,3
77,tangled-feet,4
78,motor-drive,4
79,rivalry,4
80,steadfast,4
81,snow-cloak,4
82,gluttony,4
83,anger-point,4
84,unburden,4
85,heatproof,4
86,simple,4
87,dry-skin,4
88,download,4
89,iron-fist,4
90,poison-heal,4
91,adaptability,4
92,skill-link,4
93,hydration,4
94,solar-power,4
95,quick-feet,4
96,normalize,4
97,sniper,4
98,magic-guard,4
99,no-guard,4
100,stall,4
101,technician,4
102,leaf-guard,4
103,klutz,4
104,mold-breaker,4
105,super-luck,4
106,aftermath,4
107,anticipation,4
108,forewarn,4
109,unaware,4
110,tinted-lens,4
111,filter,4
112,slow-start,4
113,scrappy,4
114,storm-drain,4
115,ice-body,4
116,solid-rock,4
117,snow-warning,4
118,honey-gather,4
119,frisk,4
120,reckless,4
121,multitype,4
122,flower-gift,4
123,bad-dreams,4
124,pickpocket,5
125,sheer-force,5
126,contrary,5
127,unnerve,5
128,defiant,5
129,defeatist,5
130,cursed-body,5
131,healer,5
132,friend-guard,5
133,weak-armor,5
134,heavy-metal,5
135,light-metal,5
136,multiscale,5
137,toxic-boost,5
138,flare-boost,5
139,harvest,5
140,telepathy,5
141,moody,5
142,overcoat,5
143,poison-touch,5
144,regenerator,5
145,big-pecks,5
146,sand-rush,5
147,wonder-skin,5
148,analytic,5
149,illusion,5
150,imposter,5
151,infiltrator,5
152,mummy,5
153,moxie,5
154,justified,5
155,rattled,5
156,magic-bounce,5
157,sap-sipper,5
158,prankster,5
159,sand-force,5
160,iron-barbs,5
161,zen-mode,5
162,victory-star,5
163,turboblaze,5
164,teravolt,5
10001,mountaineer,5
10002,wave-rider,5
10003,skater,5
10004,thrust,5
10005,perception,5
10006,parry,5
10007,instinct,5
10008,dodge,5
10009,jagged-edge,5
10010,frostbite,5
10011,tenacity,5
10012,pride,5
10013,deep-sleep,5
10014,power-nap,5
10015,spirit,5
10016,warm-blanket,5
10017,gulp,5
10018,herbivore,5
10019,sandpit,5
10020,hot-blooded,5
10021,medic,5
10022,life-force,5
10023,lunchbox,5
10024,nurse,5
10025,melee,5
10026,sponge,5
10027,bodyguard,5
10028,hero,5
10029,last-bastion,5
10030,stealth,5
10031,vanguard,5
10032,nomad,5
10033,sequence,5
10034,grass-cloak,5
10035,celebrate,5
10036,lullaby,5
10037,calming,5
10038,daze,5
10039,frighten,5
10040,interference,5
10041,mood-maker,5
10042,confidence,5
10043,fortune,5
10044,bonanza,5
10045,explode,5
10046,omnipotent,5
10047,share,5
10048,black-hole,5
10049,shadow-dash,5
10050,sprint,5
10051,disgust,5
10052,high-rise,5
10053,climber,5
10054,flame-boost,5
10055,aqua-boost,5
10056,run-up,5
10057,conqueror,5
10058,shackle,5
10059,decoy,5
10060,shield,5
id,identifier,generation_id,is_main_series
1,stench,3,1
2,drizzle,3,1
3,speed-boost,3,1
4,battle-armor,3,1
5,sturdy,3,1
6,damp,3,1
7,limber,3,1
8,sand-veil,3,1
9,static,3,1
10,volt-absorb,3,1
11,water-absorb,3,1
12,oblivious,3,1
13,cloud-nine,3,1
14,compoundeyes,3,1
15,insomnia,3,1
16,color-change,3,1
17,immunity,3,1
18,flash-fire,3,1
19,shield-dust,3,1
20,own-tempo,3,1
21,suction-cups,3,1
22,intimidate,3,1
23,shadow-tag,3,1
24,rough-skin,3,1
25,wonder-guard,3,1
26,levitate,3,1
27,effect-spore,3,1
28,synchronize,3,1
29,clear-body,3,1
30,natural-cure,3,1
31,lightningrod,3,1
32,serene-grace,3,1
33,swift-swim,3,1
34,chlorophyll,3,1
35,illuminate,3,1
36,trace,3,1
37,huge-power,3,1
38,poison-point,3,1
39,inner-focus,3,1
40,magma-armor,3,1
41,water-veil,3,1
42,magnet-pull,3,1
43,soundproof,3,1
44,rain-dish,3,1
45,sand-stream,3,1
46,pressure,3,1
47,thick-fat,3,1
48,early-bird,3,1
49,flame-body,3,1
50,run-away,3,1
51,keen-eye,3,1
52,hyper-cutter,3,1
53,pickup,3,1
54,truant,3,1
55,hustle,3,1
56,cute-charm,3,1
57,plus,3,1
58,minus,3,1
59,forecast,3,1
60,sticky-hold,3,1
61,shed-skin,3,1
62,guts,3,1
63,marvel-scale,3,1
64,liquid-ooze,3,1
65,overgrow,3,1
66,blaze,3,1
67,torrent,3,1
68,swarm,3,1
69,rock-head,3,1
70,drought,3,1
71,arena-trap,3,1
72,vital-spirit,3,1
73,white-smoke,3,1
74,pure-power,3,1
75,shell-armor,3,1
76,air-lock,3,1
77,tangled-feet,4,1
78,motor-drive,4,1
79,rivalry,4,1
80,steadfast,4,1
81,snow-cloak,4,1
82,gluttony,4,1
83,anger-point,4,1
84,unburden,4,1
85,heatproof,4,1
86,simple,4,1
87,dry-skin,4,1
88,download,4,1
89,iron-fist,4,1
90,poison-heal,4,1
91,adaptability,4,1
92,skill-link,4,1
93,hydration,4,1
94,solar-power,4,1
95,quick-feet,4,1
96,normalize,4,1
97,sniper,4,1
98,magic-guard,4,1
99,no-guard,4,1
100,stall,4,1
101,technician,4,1
102,leaf-guard,4,1
103,klutz,4,1
104,mold-breaker,4,1
105,super-luck,4,1
106,aftermath,4,1
107,anticipation,4,1
108,forewarn,4,1
109,unaware,4,1
110,tinted-lens,4,1
111,filter,4,1
112,slow-start,4,1
113,scrappy,4,1
114,storm-drain,4,1
115,ice-body,4,1
116,solid-rock,4,1
117,snow-warning,4,1
118,honey-gather,4,1
119,frisk,4,1
120,reckless,4,1
121,multitype,4,1
122,flower-gift,4,1
123,bad-dreams,4,1
124,pickpocket,5,1
125,sheer-force,5,1
126,contrary,5,1
127,unnerve,5,1
128,defiant,5,1
129,defeatist,5,1
130,cursed-body,5,1
131,healer,5,1
132,friend-guard,5,1
133,weak-armor,5,1
134,heavy-metal,5,1
135,light-metal,5,1
136,multiscale,5,1
137,toxic-boost,5,1
138,flare-boost,5,1
139,harvest,5,1
140,telepathy,5,1
141,moody,5,1
142,overcoat,5,1
143,poison-touch,5,1
144,regenerator,5,1
145,big-pecks,5,1
146,sand-rush,5,1
147,wonder-skin,5,1
148,analytic,5,1
149,illusion,5,1
150,imposter,5,1
151,infiltrator,5,1
152,mummy,5,1
153,moxie,5,1
154,justified,5,1
155,rattled,5,1
156,magic-bounce,5,1
157,sap-sipper,5,1
158,prankster,5,1
159,sand-force,5,1
160,iron-barbs,5,1
161,zen-mode,5,1
162,victory-star,5,1
163,turboblaze,5,1
164,teravolt,5,1
10001,mountaineer,5,0
10002,wave-rider,5,0
10003,skater,5,0
10004,thrust,5,0
10005,perception,5,0
10006,parry,5,0
10007,instinct,5,0
10008,dodge,5,0
10009,jagged-edge,5,0
10010,frostbite,5,0
10011,tenacity,5,0
10012,pride,5,0
10013,deep-sleep,5,0
10014,power-nap,5,0
10015,spirit,5,0
10016,warm-blanket,5,0
10017,gulp,5,0
10018,herbivore,5,0
10019,sandpit,5,0
10020,hot-blooded,5,0
10021,medic,5,0
10022,life-force,5,0
10023,lunchbox,5,0
10024,nurse,5,0
10025,melee,5,0
10026,sponge,5,0
10027,bodyguard,5,0
10028,hero,5,0
10029,last-bastion,5,0
10030,stealth,5,0
10031,vanguard,5,0
10032,nomad,5,0
10033,sequence,5,0
10034,grass-cloak,5,0
10035,celebrate,5,0
10036,lullaby,5,0
10037,calming,5,0
10038,daze,5,0
10039,frighten,5,0
10040,interference,5,0
10041,mood-maker,5,0
10042,confidence,5,0
10043,fortune,5,0
10044,bonanza,5,0
10045,explode,5,0
10046,omnipotent,5,0
10047,share,5,0
10048,black-hole,5,0
10049,shadow-dash,5,0
10050,sprint,5,0
10051,disgust,5,0
10052,high-rise,5,0
10053,climber,5,0
10054,flame-boost,5,0
10055,aqua-boost,5,0
10056,run-up,5,0
10057,conqueror,5,0
10058,shackle,5,0
10059,decoy,5,0
10060,shield,5,0

1 id identifier generation_id is_main_series
2 1 stench 3 1
3 2 drizzle 3 1
4 3 speed-boost 3 1
5 4 battle-armor 3 1
6 5 sturdy 3 1
7 6 damp 3 1
8 7 limber 3 1
9 8 sand-veil 3 1
10 9 static 3 1
11 10 volt-absorb 3 1
12 11 water-absorb 3 1
13 12 oblivious 3 1
14 13 cloud-nine 3 1
15 14 compoundeyes 3 1
16 15 insomnia 3 1
17 16 color-change 3 1
18 17 immunity 3 1
19 18 flash-fire 3 1
20 19 shield-dust 3 1
21 20 own-tempo 3 1
22 21 suction-cups 3 1
23 22 intimidate 3 1
24 23 shadow-tag 3 1
25 24 rough-skin 3 1
26 25 wonder-guard 3 1
27 26 levitate 3 1
28 27 effect-spore 3 1
29 28 synchronize 3 1
30 29 clear-body 3 1
31 30 natural-cure 3 1
32 31 lightningrod 3 1
33 32 serene-grace 3 1
34 33 swift-swim 3 1
35 34 chlorophyll 3 1
36 35 illuminate 3 1
37 36 trace 3 1
38 37 huge-power 3 1
39 38 poison-point 3 1
40 39 inner-focus 3 1
41 40 magma-armor 3 1
42 41 water-veil 3 1
43 42 magnet-pull 3 1
44 43 soundproof 3 1
45 44 rain-dish 3 1
46 45 sand-stream 3 1
47 46 pressure 3 1
48 47 thick-fat 3 1
49 48 early-bird 3 1
50 49 flame-body 3 1
51 50 run-away 3 1
52 51 keen-eye 3 1
53 52 hyper-cutter 3 1
54 53 pickup 3 1
55 54 truant 3 1
56 55 hustle 3 1
57 56 cute-charm 3 1
58 57 plus 3 1
59 58 minus 3 1
60 59 forecast 3 1
61 60 sticky-hold 3 1
62 61 shed-skin 3 1
63 62 guts 3 1
64 63 marvel-scale 3 1
65 64 liquid-ooze 3 1
66 65 overgrow 3 1
67 66 blaze 3 1
68 67 torrent 3 1
69 68 swarm 3 1
70 69 rock-head 3 1
71 70 drought 3 1
72 71 arena-trap 3 1
73 72 vital-spirit 3 1
74 73 white-smoke 3 1
75 74 pure-power 3 1
76 75 shell-armor 3 1
77 76 air-lock 3 1
78 77 tangled-feet 4 1
79 78 motor-drive 4 1
80 79 rivalry 4 1
81 80 steadfast 4 1
82 81 snow-cloak 4 1
83 82 gluttony 4 1
84 83 anger-point 4 1
85 84 unburden 4 1
86 85 heatproof 4 1
87 86 simple 4 1
88 87 dry-skin 4 1
89 88 download 4 1
90 89 iron-fist 4 1
91 90 poison-heal 4 1
92 91 adaptability 4 1
93 92 skill-link 4 1
94 93 hydration 4 1
95 94 solar-power 4 1
96 95 quick-feet 4 1
97 96 normalize 4 1
98 97 sniper 4 1
99 98 magic-guard 4 1
100 99 no-guard 4 1
101 100 stall 4 1
102 101 technician 4 1
103 102 leaf-guard 4 1
104 103 klutz 4 1
105 104 mold-breaker 4 1
106 105 super-luck 4 1
107 106 aftermath 4 1
108 107 anticipation 4 1
109 108 forewarn 4 1
110 109 unaware 4 1
111 110 tinted-lens 4 1
112 111 filter 4 1
113 112 slow-start 4 1
114 113 scrappy 4 1
115 114 storm-drain 4 1
116 115 ice-body 4 1
117 116 solid-rock 4 1
118 117 snow-warning 4 1
119 118 honey-gather 4 1
120 119 frisk 4 1
121 120 reckless 4 1
122 121 multitype 4 1
123 122 flower-gift 4 1
124 123 bad-dreams 4 1
125 124 pickpocket 5 1
126 125 sheer-force 5 1
127 126 contrary 5 1
128 127 unnerve 5 1
129 128 defiant 5 1
130 129 defeatist 5 1
131 130 cursed-body 5 1
132 131 healer 5 1
133 132 friend-guard 5 1
134 133 weak-armor 5 1
135 134 heavy-metal 5 1
136 135 light-metal 5 1
137 136 multiscale 5 1
138 137 toxic-boost 5 1
139 138 flare-boost 5 1
140 139 harvest 5 1
141 140 telepathy 5 1
142 141 moody 5 1
143 142 overcoat 5 1
144 143 poison-touch 5 1
145 144 regenerator 5 1
146 145 big-pecks 5 1
147 146 sand-rush 5 1
148 147 wonder-skin 5 1
149 148 analytic 5 1
150 149 illusion 5 1
151 150 imposter 5 1
152 151 infiltrator 5 1
153 152 mummy 5 1
154 153 moxie 5 1
155 154 justified 5 1
156 155 rattled 5 1
157 156 magic-bounce 5 1
158 157 sap-sipper 5 1
159 158 prankster 5 1
160 159 sand-force 5 1
161 160 iron-barbs 5 1
162 161 zen-mode 5 1
163 162 victory-star 5 1
164 163 turboblaze 5 1
165 164 teravolt 5 1
166 10001 mountaineer 5 0
167 10002 wave-rider 5 0
168 10003 skater 5 0
169 10004 thrust 5 0
170 10005 perception 5 0
171 10006 parry 5 0
172 10007 instinct 5 0
173 10008 dodge 5 0
174 10009 jagged-edge 5 0
175 10010 frostbite 5 0
176 10011 tenacity 5 0
177 10012 pride 5 0
178 10013 deep-sleep 5 0
179 10014 power-nap 5 0
180 10015 spirit 5 0
181 10016 warm-blanket 5 0
182 10017 gulp 5 0
183 10018 herbivore 5 0
184 10019 sandpit 5 0
185 10020 hot-blooded 5 0
186 10021 medic 5 0
187 10022 life-force 5 0
188 10023 lunchbox 5 0
189 10024 nurse 5 0
190 10025 melee 5 0
191 10026 sponge 5 0
192 10027 bodyguard 5 0
193 10028 hero 5 0
194 10029 last-bastion 5 0
195 10030 stealth 5 0
196 10031 vanguard 5 0
197 10032 nomad 5 0
198 10033 sequence 5 0
199 10034 grass-cloak 5 0
200 10035 celebrate 5 0
201 10036 lullaby 5 0
202 10037 calming 5 0
203 10038 daze 5 0
204 10039 frighten 5 0
205 10040 interference 5 0
206 10041 mood-maker 5 0
207 10042 confidence 5 0
208 10043 fortune 5 0
209 10044 bonanza 5 0
210 10045 explode 5 0
211 10046 omnipotent 5 0
212 10047 share 5 0
213 10048 black-hole 5 0
214 10049 shadow-dash 5 0
215 10050 sprint 5 0
216 10051 disgust 5 0
217 10052 high-rise 5 0
218 10053 climber 5 0
219 10054 flame-boost 5 0
220 10055 aqua-boost 5 0
221 10056 run-up 5 0
222 10057 conqueror 5 0
223 10058 shackle 5 0
224 10059 decoy 5 0
225 10060 shield 5 0

View file

@ -121,6 +121,8 @@ class Ability(TableBase):
info=dict(description="An identifier", format='identifier'))
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False,
info=dict(description="The ID of the generation this ability was introduced in", detail=True))
is_main_series = Column(Boolean, nullable=False, index=True,
info=dict(description="True iff the ability exists in the main series."))
create_translation_table('ability_names', Ability, 'names',
relation_lazy='joined',