diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 16:59:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 16:59:02 +0200 |
commit | c2962505115563ad1510e8116f3b362887cac71f (patch) | |
tree | 530d930e48f45aad27b429621542a6bca1dc1b60 /server/initializers/database.ts | |
parent | a265f7f30fe5f25e742c99c6d43e79dfd46bf2a9 (diff) | |
download | PeerTube-c2962505115563ad1510e8116f3b362887cac71f.tar.gz PeerTube-c2962505115563ad1510e8116f3b362887cac71f.tar.zst PeerTube-c2962505115563ad1510e8116f3b362887cac71f.zip |
Remove sequelize deprecated operators
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index b410b0c18..dfad01581 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -64,6 +64,7 @@ const sequelize = new Sequelize(dbname, username, password, { | |||
64 | port: CONFIG.DATABASE.PORT, | 64 | port: CONFIG.DATABASE.PORT, |
65 | benchmark: isTestInstance(), | 65 | benchmark: isTestInstance(), |
66 | isolationLevel: Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE, | 66 | isolationLevel: Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE, |
67 | operatorsAliases: false, | ||
67 | 68 | ||
68 | logging: (message: string, benchmark: number) => { | 69 | logging: (message: string, benchmark: number) => { |
69 | let newMessage = message | 70 | let newMessage = message |