Skip to content

Commit 834674d

Browse files
AllesandriaAllesandria
authored andcommitted
double check of RESOURCES table
1 parent a236f48 commit 834674d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
1+
//RESOURCES TABLE
22
exports.up = function (knex) {
33
return knex.schema.createTable('resources', tbl => {
44
tbl.increments('resource_id');
55
tbl.varchar('resource_name').notNullable().unique();
66
tbl.varchar('resource_description');
7-
})
7+
});
88

99

1010

1111
};
1212

1313

1414
exports.down = function (knex) {
15-
return knex.schema.dropTableIfExists('resources')
15+
return knex.schema.dropTableIfExists('resources');
1616

1717

1818
};

0 commit comments

Comments
 (0)