Skip to content

Commit 6e5a5e1

Browse files
committed
Added items to the seed
1 parent 8c0fba5 commit 6e5a5e1

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

database/auth.db3

0 Bytes
Binary file not shown.

database/seeds/02-items.js

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,87 @@ exports.seed = function (knex) {
99
user_id: 1,
1010
total_count: 2000,
1111
count: 2
12+
},
13+
{
14+
name: 'master-ball',
15+
pokeid: 1,
16+
costAmount: 0,
17+
user_id: 3,
18+
total_count: 0,
19+
count: 8
20+
21+
},
22+
{
23+
name: 'heal-ball',
24+
pokeid: 14,
25+
costAmount: 300,
26+
user_id: 1,
27+
total_count: 1500,
28+
count: 5
29+
30+
},
31+
{
32+
name: 'antidote',
33+
pokeid: 18,
34+
costAmount: 200,
35+
user_id: 1,
36+
total_count: 4200,
37+
count: 21
38+
39+
},
40+
{
41+
name: 'abomasite',
42+
pokeid: 713,
43+
costAmount: 0,
44+
user_id: 2,
45+
total_count: 0,
46+
count: 14
47+
48+
},
49+
{
50+
name: 'poke-toy',
51+
pokeid: 618,
52+
costAmount: 100,
53+
user_id: 2,
54+
total_count: 5600,
55+
count: 56
56+
57+
},
58+
{
59+
name: 'ghost-gem',
60+
pokeid: 603,
61+
costAmount: 200,
62+
user_id: 2,
63+
total_count: 4600,
64+
count: 23
65+
66+
},
67+
{
68+
name: 'level-ball',
69+
pokeid: 450,
70+
costAmount: 0,
71+
user_id: 3,
72+
total_count: 0,
73+
count: 2
74+
75+
},
76+
{
77+
name: 'zinc',
78+
pokeid: 52,
79+
costAmount: 10000,
80+
user_id: 1,
81+
total_count: 950000,
82+
count: 95
83+
84+
},
85+
{
86+
name: 'iron',
87+
pokeid: 47,
88+
costAmount: 10000,
89+
user_id: 23,
90+
total_count: 210000,
91+
count: 21
92+
1293
}
1394
]);
1495
});

0 commit comments

Comments
 (0)