aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/orders.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/orders.js')
-rw-r--r--db/normalized/orders.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/db/normalized/orders.js b/db/normalized/orders.js
index 8d8418b6..06e83db1 100644
--- a/db/normalized/orders.js
+++ b/db/normalized/orders.js
@@ -1,4 +1,4 @@
-exports.up = function(knex) {
+export const up = function(knex) {
return knex.schema.createTable('orders', function(t) {
t.increments('id').unsigned().primary();
@@ -19,12 +19,11 @@ exports.up = function(knex) {
t.timestamps();
})
-}
-
+};
// Bid / Accepted ... separate into Bid (credit + debit), Accepted (credit + debit)
-exports.down = function(knex) {
+export const down = function(knex) {
return knex.schema.dropTable('orders');
};