diff options
Diffstat (limited to 'db/normalized/referrals.js')
| -rw-r--r-- | db/normalized/referrals.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/normalized/referrals.js b/db/normalized/referrals.js index f09c98f4..7380f2cf 100644 --- a/db/normalized/referrals.js +++ b/db/normalized/referrals.js @@ -1,4 +1,4 @@ -exports.up = function(knex) { +export const up = function(knex) { return knex.schema.createTable('referrals', function(t) { t.increments('id').unsigned().primary(); t.int('user_id').nullable(); @@ -15,6 +15,6 @@ exports.up = function(knex) { }) }; -exports.down = function(knex) { +export const down = function(knex) { return knex.schema.dropTable('referrals'); }; |
