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/ln_keys.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db/normalized/ln_keys.js') diff --git a/db/normalized/ln_keys.js b/db/normalized/ln_keys.js index 74f9ebad..7922e40e 100644 --- a/db/normalized/ln_keys.js +++ b/db/normalized/ln_keys.js @@ -1,4 +1,4 @@ -exports.up = function(knex) { +export const up = function(knex) { return knex.schema.createTable('ln_keys', function(t) { t.increments('id').unsigned().primary(); @@ -9,8 +9,8 @@ exports.up = function(knex) { t.timestamps(); }) -} +}; -exports.down = function(knex) { +export const down = function(knex) { return knex.schema.dropTable('ln_keys'); }; \ No newline at end of file -- cgit v1.2.3