From 7a8d64833de8873afb92982b3f5bfff59b30c542 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 2 Sep 2022 11:02:06 -0700 Subject: es6 migration --- db/normalized/users.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/normalized/users.js') diff --git a/db/normalized/users.js b/db/normalized/users.js index 2c2004c0..dd239f24 100644 --- a/db/normalized/users.js +++ b/db/normalized/users.js @@ -1,4 +1,4 @@ -exports.up = function(knex) { +export const up = function(knex) { return knex.schema.createTable('users', function(t) { t.increments('id').unsigned().primary(); @@ -13,6 +13,6 @@ exports.up = function(knex) { }) }; -exports.down = function(knex) { +export const down = function(knex) { return knex.schema.dropTable('users'); }; \ No newline at end of file -- cgit v1.2.3