diff options
Diffstat (limited to 'db/normalized/deposits.js')
| -rw-r--r-- | db/normalized/deposits.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/normalized/deposits.js b/db/normalized/deposits.js index c14884ce..2a3c83fb 100644 --- a/db/normalized/deposits.js +++ b/db/normalized/deposits.js @@ -1,4 +1,4 @@ -exports.up = function(knex) { +export const up = function(knex) { return knex.schema.createTable('deposits', function(t) { t.increments('id').unsigned().primary(); @@ -9,9 +9,9 @@ exports.up = function(knex) { t.timestamps(); }) -} +}; -exports.down = function(knex) { +export const down = function(knex) { return knex.schema.dropTable('deposits'); }; |
