aboutsummaryrefslogtreecommitdiff
path: root/src/db/orm.ts
diff options
context:
space:
mode:
authorTom Harley2018-02-08 17:13:34 +0000
committerTom Harley2018-02-08 17:13:34 +0000
commit2c520720c4292d0db159be2655742cd0f82e0880 (patch)
treef03ff7ba019fa07ffddd3949aae7e4a5456cdc75 /src/db/orm.ts
parentmodels should now do basic functioning (diff)
downloadmedicine-2c520720c4292d0db159be2655742cd0f82e0880.tar.gz
medicine-2c520720c4292d0db159be2655742cd0f82e0880.zip

configured server to use pg server on lab machines

Diffstat (limited to 'src/db/orm.ts')
-rw-r--r--src/db/orm.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/orm.ts b/src/db/orm.ts
index 7bfa5b4..78d5832 100644
--- a/src/db/orm.ts
+++ b/src/db/orm.ts
@@ -9,5 +9,4 @@ const seq = new Sequelize({
modelPaths: [__dirname + 'model']
});
-seq.authenticate()
- .then(() => console.log('Logged in!'));
+export default seq;