Skip to content

Commit 11df4bf

Browse files
authored
Merge pull request #15 from leachcoding/jay-leach
Fixed errors
2 parents 91bf46d + ea39e6e commit 11df4bf

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

database/auth.db3

-12 KB
Binary file not shown.

database/migrations/20200305182952_create_tables.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ exports.up = function(knex) {
6666
tbl.integer('weight');
6767
tbl.string('type1').notNullable();
6868
tbl.string('type2').notNullable();
69-
tbl.index(['type1', 'type2'], 'types');
7069
tbl.integer('speed');
7170
tbl.integer('specialAttack');
7271
tbl.integer('specialDefense');
@@ -76,12 +75,10 @@ exports.up = function(knex) {
7675
tbl.string('abilities1').notNullable();
7776
tbl.string('abilities2').notNullable();
7877
tbl.string('abilities3').notNullable();
79-
tbl.index(['abilities1', 'abilities2', 'abilities3'], 'abilities');
8078
tbl.string('moves1').notNullable();
8179
tbl.string('moves2').notNullable();
8280
tbl.string('moves3').notNullable();
8381
tbl.string('moves4').notNullable();
84-
tbl.index(['moves1', 'moves2', 'moves3', 'moves4'], 'moves');
8582
tbl.integer('user_id')
8683
.unsigned()
8784
.notNullable()

0 commit comments

Comments
 (0)