diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 11:02:06 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 11:02:06 -0700 |
| commit | 7a8d64833de8873afb92982b3f5bfff59b30c542 (patch) | |
| tree | bc92e20c7d5127d3b6b17f7b8d3190e08579f49e /db/migrations/s2 | |
| parent | b06e117af96a38b163384f6a343f1de7c8996724 (diff) | |
| download | coinos-server-7a8d64833de8873afb92982b3f5bfff59b30c542.tar.gz coinos-server-7a8d64833de8873afb92982b3f5bfff59b30c542.zip | |
es6 migration
Diffstat (limited to 'db/migrations/s2')
| -rw-r--r-- | db/migrations/s2/user_adjustments.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrations/s2/user_adjustments.js b/db/migrations/s2/user_adjustments.js index 010bbc76..cbe17977 100644 --- a/db/migrations/s2/user_adjustments.js +++ b/db/migrations/s2/user_adjustments.js @@ -1,5 +1,5 @@ -exports.up = function(knex) { +export const up = function(knex) { return Promise.all([ // move security fields to separate t (potentially different access permissions) @@ -48,7 +48,7 @@ exports.up = function(knex) { }; -exports.down = function(knex) { +export const down = function(knex) { return Promise.all([ knex.schema.table('users', function (t) { t.dropColumn('uuid'); |
