mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added HG/SS machines.
This commit is contained in:
parent
7aa391c96f
commit
c2f2e077ce
3 changed files with 18664 additions and 137 deletions
|
@ -1,271 +1,699 @@
|
|||
machine_number,generation_id,move_id
|
||||
machine_number,version_group_id,move_id
|
||||
1,1,5
|
||||
1,2,223
|
||||
1,3,264
|
||||
1,4,264
|
||||
1,2,5
|
||||
1,3,223
|
||||
1,4,223
|
||||
1,5,264
|
||||
1,6,264
|
||||
1,7,264
|
||||
1,8,264
|
||||
1,9,264
|
||||
1,10,264
|
||||
2,1,13
|
||||
2,2,29
|
||||
2,3,337
|
||||
2,4,337
|
||||
2,2,13
|
||||
2,3,29
|
||||
2,4,29
|
||||
2,5,337
|
||||
2,6,337
|
||||
2,7,337
|
||||
2,8,337
|
||||
2,9,337
|
||||
2,10,337
|
||||
3,1,14
|
||||
3,2,174
|
||||
3,3,352
|
||||
3,4,352
|
||||
3,2,14
|
||||
3,3,174
|
||||
3,4,174
|
||||
3,5,352
|
||||
3,6,352
|
||||
3,7,352
|
||||
3,8,352
|
||||
3,9,352
|
||||
3,10,352
|
||||
4,1,18
|
||||
4,2,205
|
||||
4,3,347
|
||||
4,4,347
|
||||
4,2,18
|
||||
4,3,205
|
||||
4,4,205
|
||||
4,5,347
|
||||
4,6,347
|
||||
4,7,347
|
||||
4,8,347
|
||||
4,9,347
|
||||
4,10,347
|
||||
5,1,25
|
||||
5,2,46
|
||||
5,2,25
|
||||
5,3,46
|
||||
5,4,46
|
||||
5,5,46
|
||||
5,6,46
|
||||
5,7,46
|
||||
5,8,46
|
||||
5,9,46
|
||||
5,10,46
|
||||
6,1,92
|
||||
6,2,92
|
||||
6,3,92
|
||||
6,4,92
|
||||
6,5,92
|
||||
6,6,92
|
||||
6,7,92
|
||||
6,8,92
|
||||
6,9,92
|
||||
6,10,92
|
||||
7,1,32
|
||||
7,2,192
|
||||
7,3,258
|
||||
7,4,258
|
||||
7,2,32
|
||||
7,3,192
|
||||
7,4,192
|
||||
7,5,258
|
||||
7,6,258
|
||||
7,7,258
|
||||
7,8,258
|
||||
7,9,258
|
||||
7,10,258
|
||||
8,1,34
|
||||
8,2,249
|
||||
8,3,339
|
||||
8,4,339
|
||||
8,2,34
|
||||
8,3,249
|
||||
8,4,249
|
||||
8,5,339
|
||||
8,6,339
|
||||
8,7,339
|
||||
8,8,339
|
||||
8,9,339
|
||||
8,10,339
|
||||
9,1,36
|
||||
9,2,244
|
||||
9,3,331
|
||||
9,4,331
|
||||
9,2,36
|
||||
9,3,244
|
||||
9,4,244
|
||||
9,5,331
|
||||
9,6,331
|
||||
9,7,331
|
||||
9,8,331
|
||||
9,9,331
|
||||
9,10,331
|
||||
10,1,38
|
||||
10,2,237
|
||||
10,2,38
|
||||
10,3,237
|
||||
10,4,237
|
||||
10,5,237
|
||||
10,6,237
|
||||
10,7,237
|
||||
10,8,237
|
||||
10,9,237
|
||||
10,10,237
|
||||
11,1,61
|
||||
11,2,241
|
||||
11,2,61
|
||||
11,3,241
|
||||
11,4,241
|
||||
11,5,241
|
||||
11,6,241
|
||||
11,7,241
|
||||
11,8,241
|
||||
11,9,241
|
||||
11,10,241
|
||||
12,1,55
|
||||
12,2,230
|
||||
12,3,269
|
||||
12,4,269
|
||||
12,2,55
|
||||
12,3,230
|
||||
12,4,230
|
||||
12,5,269
|
||||
12,6,269
|
||||
12,7,269
|
||||
12,8,269
|
||||
12,9,269
|
||||
12,10,269
|
||||
13,1,58
|
||||
13,2,173
|
||||
13,3,58
|
||||
13,4,58
|
||||
13,2,58
|
||||
13,3,173
|
||||
13,4,173
|
||||
13,5,58
|
||||
13,6,58
|
||||
13,7,58
|
||||
13,8,58
|
||||
13,9,58
|
||||
13,10,58
|
||||
14,1,59
|
||||
14,2,59
|
||||
14,3,59
|
||||
14,4,59
|
||||
14,5,59
|
||||
14,6,59
|
||||
14,7,59
|
||||
14,8,59
|
||||
14,9,59
|
||||
14,10,59
|
||||
15,1,63
|
||||
15,2,63
|
||||
15,3,63
|
||||
15,4,63
|
||||
15,5,63
|
||||
15,6,63
|
||||
15,7,63
|
||||
15,8,63
|
||||
15,9,63
|
||||
15,10,63
|
||||
16,1,6
|
||||
16,2,196
|
||||
16,3,113
|
||||
16,4,113
|
||||
16,2,6
|
||||
16,3,196
|
||||
16,4,196
|
||||
16,5,113
|
||||
16,6,113
|
||||
16,7,113
|
||||
16,8,113
|
||||
16,9,113
|
||||
16,10,113
|
||||
17,1,66
|
||||
17,2,182
|
||||
17,2,66
|
||||
17,3,182
|
||||
17,4,182
|
||||
17,5,182
|
||||
17,6,182
|
||||
17,7,182
|
||||
17,8,182
|
||||
17,9,182
|
||||
17,10,182
|
||||
18,1,68
|
||||
18,2,240
|
||||
18,2,68
|
||||
18,3,240
|
||||
18,4,240
|
||||
18,5,240
|
||||
18,6,240
|
||||
18,7,240
|
||||
18,8,240
|
||||
18,9,240
|
||||
18,10,240
|
||||
19,1,69
|
||||
19,2,202
|
||||
19,2,69
|
||||
19,3,202
|
||||
19,4,202
|
||||
19,5,202
|
||||
19,6,202
|
||||
19,7,202
|
||||
19,8,202
|
||||
19,9,202
|
||||
19,10,202
|
||||
20,1,99
|
||||
20,2,203
|
||||
20,3,219
|
||||
20,4,219
|
||||
20,2,99
|
||||
20,3,203
|
||||
20,4,203
|
||||
20,5,219
|
||||
20,6,219
|
||||
20,7,219
|
||||
20,8,219
|
||||
20,9,219
|
||||
20,10,219
|
||||
21,1,72
|
||||
21,2,218
|
||||
21,2,72
|
||||
21,3,218
|
||||
21,4,218
|
||||
21,5,218
|
||||
21,6,218
|
||||
21,7,218
|
||||
21,8,218
|
||||
21,9,218
|
||||
21,10,218
|
||||
22,1,76
|
||||
22,2,76
|
||||
22,3,76
|
||||
22,4,76
|
||||
22,5,76
|
||||
22,6,76
|
||||
22,7,76
|
||||
22,8,76
|
||||
22,9,76
|
||||
22,10,76
|
||||
23,1,82
|
||||
23,2,231
|
||||
23,2,82
|
||||
23,3,231
|
||||
23,4,231
|
||||
23,5,231
|
||||
23,6,231
|
||||
23,7,231
|
||||
23,8,231
|
||||
23,9,231
|
||||
23,10,231
|
||||
24,1,85
|
||||
24,2,225
|
||||
24,3,85
|
||||
24,4,85
|
||||
24,2,85
|
||||
24,3,225
|
||||
24,4,225
|
||||
24,5,85
|
||||
24,6,85
|
||||
24,7,85
|
||||
24,8,85
|
||||
24,9,85
|
||||
24,10,85
|
||||
25,1,87
|
||||
25,2,87
|
||||
25,3,87
|
||||
25,4,87
|
||||
25,5,87
|
||||
25,6,87
|
||||
25,7,87
|
||||
25,8,87
|
||||
25,9,87
|
||||
25,10,87
|
||||
26,1,89
|
||||
26,2,89
|
||||
26,3,89
|
||||
26,4,89
|
||||
26,5,89
|
||||
26,6,89
|
||||
26,7,89
|
||||
26,8,89
|
||||
26,9,89
|
||||
26,10,89
|
||||
27,1,90
|
||||
27,2,216
|
||||
27,2,90
|
||||
27,3,216
|
||||
27,4,216
|
||||
27,5,216
|
||||
27,6,216
|
||||
27,7,216
|
||||
27,8,216
|
||||
27,9,216
|
||||
27,10,216
|
||||
28,1,91
|
||||
28,2,91
|
||||
28,3,91
|
||||
28,4,91
|
||||
28,5,91
|
||||
28,6,91
|
||||
28,7,91
|
||||
28,8,91
|
||||
28,9,91
|
||||
28,10,91
|
||||
29,1,94
|
||||
29,2,94
|
||||
29,3,94
|
||||
29,4,94
|
||||
29,5,94
|
||||
29,6,94
|
||||
29,7,94
|
||||
29,8,94
|
||||
29,9,94
|
||||
29,10,94
|
||||
30,1,100
|
||||
30,2,247
|
||||
30,2,100
|
||||
30,3,247
|
||||
30,4,247
|
||||
30,5,247
|
||||
30,6,247
|
||||
30,7,247
|
||||
30,8,247
|
||||
30,9,247
|
||||
30,10,247
|
||||
31,1,102
|
||||
31,2,189
|
||||
31,3,280
|
||||
31,4,280
|
||||
31,2,102
|
||||
31,3,189
|
||||
31,4,189
|
||||
31,5,280
|
||||
31,6,280
|
||||
31,7,280
|
||||
31,8,280
|
||||
31,9,280
|
||||
31,10,280
|
||||
32,1,104
|
||||
32,2,104
|
||||
32,3,104
|
||||
32,4,104
|
||||
32,5,104
|
||||
32,6,104
|
||||
32,7,104
|
||||
32,8,104
|
||||
32,9,104
|
||||
32,10,104
|
||||
33,1,115
|
||||
33,2,8
|
||||
33,3,115
|
||||
33,4,115
|
||||
33,2,115
|
||||
33,3,8
|
||||
33,4,8
|
||||
33,5,115
|
||||
33,6,115
|
||||
33,7,115
|
||||
33,8,115
|
||||
33,9,115
|
||||
33,10,115
|
||||
34,1,117
|
||||
34,2,207
|
||||
34,3,351
|
||||
34,4,351
|
||||
34,2,117
|
||||
34,3,207
|
||||
34,4,207
|
||||
34,5,351
|
||||
34,6,351
|
||||
34,7,351
|
||||
34,8,351
|
||||
34,9,351
|
||||
34,10,351
|
||||
35,1,118
|
||||
35,2,214
|
||||
35,3,53
|
||||
35,4,53
|
||||
35,2,118
|
||||
35,3,214
|
||||
35,4,214
|
||||
35,5,53
|
||||
35,6,53
|
||||
35,7,53
|
||||
35,8,53
|
||||
35,9,53
|
||||
35,10,53
|
||||
36,1,120
|
||||
36,2,188
|
||||
36,2,120
|
||||
36,3,188
|
||||
36,4,188
|
||||
36,5,188
|
||||
36,6,188
|
||||
36,7,188
|
||||
36,8,188
|
||||
36,9,188
|
||||
36,10,188
|
||||
37,1,121
|
||||
37,2,201
|
||||
37,2,121
|
||||
37,3,201
|
||||
37,4,201
|
||||
37,5,201
|
||||
37,6,201
|
||||
37,7,201
|
||||
37,8,201
|
||||
37,9,201
|
||||
37,10,201
|
||||
38,1,126
|
||||
38,2,126
|
||||
38,3,126
|
||||
38,4,126
|
||||
38,5,126
|
||||
38,6,126
|
||||
38,7,126
|
||||
38,8,126
|
||||
38,9,126
|
||||
38,10,126
|
||||
39,1,129
|
||||
39,2,129
|
||||
39,3,317
|
||||
39,4,317
|
||||
39,3,129
|
||||
39,4,129
|
||||
39,5,317
|
||||
39,6,317
|
||||
39,7,317
|
||||
39,8,317
|
||||
39,9,317
|
||||
39,10,317
|
||||
40,1,130
|
||||
40,2,111
|
||||
40,3,332
|
||||
40,4,332
|
||||
40,2,130
|
||||
40,3,111
|
||||
40,4,111
|
||||
40,5,332
|
||||
40,6,332
|
||||
40,7,332
|
||||
40,8,332
|
||||
40,9,332
|
||||
40,10,332
|
||||
41,1,135
|
||||
41,2,9
|
||||
41,3,259
|
||||
41,4,259
|
||||
41,2,135
|
||||
41,3,9
|
||||
41,4,9
|
||||
41,5,259
|
||||
41,6,259
|
||||
41,7,259
|
||||
41,8,259
|
||||
41,9,259
|
||||
41,10,259
|
||||
42,1,138
|
||||
42,2,138
|
||||
42,3,263
|
||||
42,4,263
|
||||
42,3,138
|
||||
42,4,138
|
||||
42,5,263
|
||||
42,6,263
|
||||
42,7,263
|
||||
42,8,263
|
||||
42,9,263
|
||||
42,10,263
|
||||
43,1,143
|
||||
43,2,197
|
||||
43,3,290
|
||||
43,4,290
|
||||
43,2,143
|
||||
43,3,197
|
||||
43,4,197
|
||||
43,5,290
|
||||
43,6,290
|
||||
43,7,290
|
||||
43,8,290
|
||||
43,9,290
|
||||
43,10,290
|
||||
44,1,156
|
||||
44,2,156
|
||||
44,3,156
|
||||
44,4,156
|
||||
44,5,156
|
||||
44,6,156
|
||||
44,7,156
|
||||
44,8,156
|
||||
44,9,156
|
||||
44,10,156
|
||||
45,1,86
|
||||
45,2,213
|
||||
45,2,86
|
||||
45,3,213
|
||||
45,4,213
|
||||
45,5,213
|
||||
45,6,213
|
||||
45,7,213
|
||||
45,8,213
|
||||
45,9,213
|
||||
45,10,213
|
||||
46,1,149
|
||||
46,2,168
|
||||
46,2,149
|
||||
46,3,168
|
||||
46,4,168
|
||||
46,5,168
|
||||
46,6,168
|
||||
46,7,168
|
||||
46,8,168
|
||||
46,9,168
|
||||
46,10,168
|
||||
47,1,153
|
||||
47,2,211
|
||||
47,2,153
|
||||
47,3,211
|
||||
47,4,211
|
||||
47,5,211
|
||||
47,6,211
|
||||
47,7,211
|
||||
47,8,211
|
||||
47,9,211
|
||||
47,10,211
|
||||
48,1,157
|
||||
48,2,7
|
||||
48,3,285
|
||||
48,4,285
|
||||
48,2,157
|
||||
48,3,7
|
||||
48,4,7
|
||||
48,5,285
|
||||
48,6,285
|
||||
48,7,285
|
||||
48,8,285
|
||||
48,9,285
|
||||
48,10,285
|
||||
49,1,161
|
||||
49,2,210
|
||||
49,3,289
|
||||
49,4,289
|
||||
49,2,161
|
||||
49,3,210
|
||||
49,4,210
|
||||
49,5,289
|
||||
49,6,289
|
||||
49,7,289
|
||||
49,8,289
|
||||
49,9,289
|
||||
49,10,289
|
||||
50,1,164
|
||||
50,2,171
|
||||
50,3,315
|
||||
50,4,315
|
||||
51,4,355
|
||||
52,4,411
|
||||
53,4,412
|
||||
54,4,206
|
||||
55,4,362
|
||||
56,4,374
|
||||
57,4,451
|
||||
58,4,203
|
||||
59,4,406
|
||||
60,4,409
|
||||
61,4,261
|
||||
62,4,318
|
||||
63,4,373
|
||||
64,4,153
|
||||
65,4,421
|
||||
66,4,371
|
||||
67,4,278
|
||||
68,4,416
|
||||
69,4,397
|
||||
70,4,148
|
||||
71,4,444
|
||||
72,4,419
|
||||
73,4,86
|
||||
74,4,360
|
||||
75,4,14
|
||||
76,4,446
|
||||
77,4,244
|
||||
78,4,445
|
||||
79,4,399
|
||||
80,4,157
|
||||
81,4,404
|
||||
82,4,214
|
||||
83,4,363
|
||||
84,4,398
|
||||
85,4,138
|
||||
86,4,447
|
||||
87,4,207
|
||||
88,4,365
|
||||
89,4,369
|
||||
90,4,164
|
||||
91,4,430
|
||||
92,4,433
|
||||
50,2,164
|
||||
50,3,171
|
||||
50,4,171
|
||||
50,5,315
|
||||
50,6,315
|
||||
50,7,315
|
||||
50,8,315
|
||||
50,9,315
|
||||
50,10,315
|
||||
51,8,355
|
||||
51,9,355
|
||||
51,10,355
|
||||
52,8,411
|
||||
52,9,411
|
||||
52,10,411
|
||||
53,8,412
|
||||
53,9,412
|
||||
53,10,412
|
||||
54,8,206
|
||||
54,9,206
|
||||
54,10,206
|
||||
55,8,362
|
||||
55,9,362
|
||||
55,10,362
|
||||
56,8,374
|
||||
56,9,374
|
||||
56,10,374
|
||||
57,8,451
|
||||
57,9,451
|
||||
57,10,451
|
||||
58,8,203
|
||||
58,9,203
|
||||
58,10,203
|
||||
59,8,406
|
||||
59,9,406
|
||||
59,10,406
|
||||
60,8,409
|
||||
60,9,409
|
||||
60,10,409
|
||||
61,8,261
|
||||
61,9,261
|
||||
61,10,261
|
||||
62,8,318
|
||||
62,9,318
|
||||
62,10,318
|
||||
63,8,373
|
||||
63,9,373
|
||||
63,10,373
|
||||
64,8,153
|
||||
64,9,153
|
||||
64,10,153
|
||||
65,8,421
|
||||
65,9,421
|
||||
65,10,421
|
||||
66,8,371
|
||||
66,9,371
|
||||
66,10,371
|
||||
67,8,278
|
||||
67,9,278
|
||||
67,10,278
|
||||
68,8,416
|
||||
68,9,416
|
||||
68,10,416
|
||||
69,8,397
|
||||
69,9,397
|
||||
69,10,397
|
||||
70,8,148
|
||||
70,9,148
|
||||
70,10,148
|
||||
71,8,444
|
||||
71,9,444
|
||||
71,10,444
|
||||
72,8,419
|
||||
72,9,419
|
||||
72,10,419
|
||||
73,8,86
|
||||
73,9,86
|
||||
73,10,86
|
||||
74,8,360
|
||||
74,9,360
|
||||
74,10,360
|
||||
75,8,14
|
||||
75,9,14
|
||||
75,10,14
|
||||
76,8,446
|
||||
76,9,446
|
||||
76,10,446
|
||||
77,8,244
|
||||
77,9,244
|
||||
77,10,244
|
||||
78,8,445
|
||||
78,9,445
|
||||
78,10,445
|
||||
79,8,399
|
||||
79,9,399
|
||||
79,10,399
|
||||
80,8,157
|
||||
80,9,157
|
||||
80,10,157
|
||||
81,8,404
|
||||
81,9,404
|
||||
81,10,404
|
||||
82,8,214
|
||||
82,9,214
|
||||
82,10,214
|
||||
83,8,363
|
||||
83,9,363
|
||||
83,10,363
|
||||
84,8,398
|
||||
84,9,398
|
||||
84,10,398
|
||||
85,8,138
|
||||
85,9,138
|
||||
85,10,138
|
||||
86,8,447
|
||||
86,9,447
|
||||
86,10,447
|
||||
87,8,207
|
||||
87,9,207
|
||||
87,10,207
|
||||
88,8,365
|
||||
88,9,365
|
||||
88,10,365
|
||||
89,8,369
|
||||
89,9,369
|
||||
89,10,369
|
||||
90,8,164
|
||||
90,9,164
|
||||
90,10,164
|
||||
91,8,430
|
||||
91,9,430
|
||||
91,10,430
|
||||
92,8,433
|
||||
92,9,433
|
||||
92,10,433
|
||||
101,1,15
|
||||
101,2,15
|
||||
101,3,15
|
||||
101,4,15
|
||||
101,5,15
|
||||
101,6,15
|
||||
101,7,15
|
||||
101,8,15
|
||||
101,9,15
|
||||
101,10,15
|
||||
102,1,19
|
||||
102,2,19
|
||||
102,3,19
|
||||
102,4,19
|
||||
102,5,19
|
||||
102,6,19
|
||||
102,7,19
|
||||
102,8,19
|
||||
102,9,19
|
||||
102,10,19
|
||||
103,1,57
|
||||
103,2,57
|
||||
103,3,57
|
||||
103,4,57
|
||||
103,5,57
|
||||
103,6,57
|
||||
103,7,57
|
||||
103,8,57
|
||||
103,9,57
|
||||
103,10,57
|
||||
104,1,70
|
||||
104,2,70
|
||||
104,3,70
|
||||
104,4,70
|
||||
104,5,70
|
||||
104,6,70
|
||||
104,7,70
|
||||
104,8,70
|
||||
104,9,70
|
||||
104,10,70
|
||||
105,1,148
|
||||
105,2,148
|
||||
105,3,148
|
||||
105,4,432
|
||||
106,2,250
|
||||
106,3,249
|
||||
106,4,249
|
||||
107,2,127
|
||||
105,4,148
|
||||
105,5,148
|
||||
105,6,148
|
||||
105,7,148
|
||||
105,8,432
|
||||
105,9,432
|
||||
105,10,250
|
||||
106,3,250
|
||||
106,4,250
|
||||
106,5,249
|
||||
106,6,249
|
||||
106,7,249
|
||||
106,8,249
|
||||
106,9,249
|
||||
106,10,249
|
||||
107,3,127
|
||||
107,4,127
|
||||
108,3,291
|
||||
108,4,431
|
||||
107,5,127
|
||||
107,6,127
|
||||
107,7,127
|
||||
107,8,127
|
||||
107,9,127
|
||||
107,10,127
|
||||
108,5,291
|
||||
108,6,291
|
||||
108,7,291
|
||||
108,8,431
|
||||
108,9,431
|
||||
108,10,431
|
||||
|
|
|
File diff suppressed because it is too large
Load diff
|
@ -176,7 +176,7 @@ class LocationAreaEncounterRate(TableBase):
|
|||
class Machine(TableBase):
|
||||
__tablename__ = 'machines'
|
||||
machine_number = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
|
||||
generation_id = Column(Integer, ForeignKey('generations.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||
move_id = Column(Integer, ForeignKey('moves.id'), nullable=False)
|
||||
|
||||
class MoveDamageClass(TableBase):
|
||||
|
@ -451,7 +451,7 @@ Generation.versions = relation(Version, secondary=VersionGroup.__table__)
|
|||
|
||||
LocationArea.location = relation(Location, backref='areas')
|
||||
|
||||
Machine.generation = relation(Generation)
|
||||
Machine.version_group = relation(VersionGroup)
|
||||
|
||||
Move.contest_effect = relation(ContestEffect, backref='moves')
|
||||
Move.contest_combo_next = association_proxy('contest_combo_first', 'second')
|
||||
|
|
Loading…
Reference in a new issue