aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrations
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-07-20 13:37:45 -0700
committerAdam Soltys <[email protected]>2021-07-20 13:37:45 -0700
commitefc974b334bab526674b404c10e749b2c2222cd7 (patch)
tree5cbf994104236b207aef7fbaa1eba5feab9061cd /db/migrations
parentec17ed24db4e3f9dd825166095f9f0382c35cfeb (diff)
downloadcoinos-server-efc974b334bab526674b404c10e749b2c2222cd7.tar.gz
coinos-server-efc974b334bab526674b404c10e749b2c2222cd7.zip
drop down migration
Diffstat (limited to 'db/migrations')
-rw-r--r--db/migrations/20210714123456_add_fks_merge.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/db/migrations/20210714123456_add_fks_merge.js b/db/migrations/20210714123456_add_fks_merge.js
index ecdd08f3..5e7e6c8a 100644
--- a/db/migrations/20210714123456_add_fks_merge.js
+++ b/db/migrations/20210714123456_add_fks_merge.js
@@ -37,11 +37,4 @@ exports.up = function(knex) {
}
exports.down = function(knex) {
- return Promise.all([
- knex.schema.table("users", function(t) {
- t.dropColumn("email");
- t.dropColumn("phone");
- t.dropColumn("admin");
- })
- ])
-} \ No newline at end of file
+}