aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/vouchers.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/vouchers.js')
-rw-r--r--db/normalized/vouchers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/normalized/vouchers.js b/db/normalized/vouchers.js
index fa5e12a4..35d54de2 100644
--- a/db/normalized/vouchers.js
+++ b/db/normalized/vouchers.js
@@ -1,4 +1,4 @@
-exports.up = function(knex) {
+export const up = function(knex) {
return knex.schema.createTable('vouchers', function(t) {
t.increments('id').unsigned().primary();
@@ -11,8 +11,8 @@ exports.up = function(knex) {
t.timestamps();
})
-}
+};
-exports.down = function(knex) {
+export const down = function(knex) {
return knex.schema.dropTable('vouchers');
}; \ No newline at end of file