aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/user_security.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/user_security.js')
-rw-r--r--db/normalized/user_security.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/normalized/user_security.js b/db/normalized/user_security.js
index 09afa7c6..919b2902 100644
--- a/db/normalized/user_security.js
+++ b/db/normalized/user_security.js
@@ -1,4 +1,4 @@
-exports.up = function(knex) {
+export const up = function(knex) {
return knex.schema.createTable('user_security', function(t) {
t.increments('id').unsigned().primary();
t.int('user_id').notNull();
@@ -17,6 +17,6 @@ exports.up = function(knex) {
})
};
-exports.down = function(knex) {
+export const down = function(knex) {
return knex.schema.dropTable('user_security');
}; \ No newline at end of file