aboutsummaryrefslogtreecommitdiff
path: root/src/db/orm.ts
diff options
context:
space:
mode:
authorTom Harley2018-02-20 16:21:30 +0000
committerTom Harley2018-02-20 16:21:30 +0000
commiteba2d2c0b0293e9dd146a377a85ff6c31e4b96cb (patch)
tree8351e174ee8ac7249f61286dd52bccd46f147a31 /src/db/orm.ts
parentminor fixes (diff)
parentMerge branch 'trh/yarn' into 'master' (diff)
downloadmedicine-eba2d2c0b0293e9dd146a377a85ff6c31e4b96cb.tar.gz
medicine-eba2d2c0b0293e9dd146a377a85ff6c31e4b96cb.zip

Merge branch ‘master’ into trh/payload-checker

Diffstat (limited to 'src/db/orm.ts')
-rw-r--r--src/db/orm.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/orm.ts b/src/db/orm.ts
index 02ae74b..01d8037 100644
--- a/src/db/orm.ts
+++ b/src/db/orm.ts
@@ -1,12 +1,12 @@
import { Sequelize } from 'sequelize-typescript';
-const seq = new Sequelize({
+const seq: Sequelize = new Sequelize({
database: 'be4',
dialect: 'postgres',
username: 'admin',
password: '',
operatorsAliases: false,
- modelPaths: [__dirname + '/model']
+ modelPaths: [`${__dirname}/model`]
});
export default seq;