aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/transfers.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/transfers.js')
-rw-r--r--db/normalized/transfers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/normalized/transfers.js b/db/normalized/transfers.js
index cefc66f7..aa81472f 100644
--- a/db/normalized/transfers.js
+++ b/db/normalized/transfers.js
@@ -1,4 +1,4 @@
-exports.up = function(knex) {
+export const up = function(knex) {
return knex.schema.createTable('transfers', function(t) {
t.increments('id').unsigned().primary();
@@ -23,7 +23,7 @@ exports.up = function(knex) {
})
};
-exports.down = function(knex) {
+export const down = function(knex) {
return knex.schema.dropTable('transfers');
};
@@ -49,7 +49,7 @@ return knex.schema.dropTable('transfers');
// context for path, memo, rate, preimage, address, received, fee, tip, confirmed, redeemcode ?
-const { DataTypes } = require('sequelize');
+import { DataTypes } from 'sequelize';
const attributes = {
id: {