diff options
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index aefb6da3a..1383bb33b 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -2,7 +2,6 @@ import { join } from 'path' | |||
2 | import { flattenDepth } from 'lodash' | 2 | import { flattenDepth } from 'lodash' |
3 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 3 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
4 | import * as Sequelize from 'sequelize' | 4 | import * as Sequelize from 'sequelize' |
5 | import * as Bluebird from 'bluebird' | ||
6 | 5 | ||
7 | import { CONFIG } from './constants' | 6 | import { CONFIG } from './constants' |
8 | // Do not use barrel, we need to load database first | 7 | // Do not use barrel, we need to load database first |
@@ -19,10 +18,6 @@ import { UserModel } from '../models/account/user-interface' | |||
19 | import { AccountVideoRateModel } from '../models/account/account-video-rate-interface' | 18 | import { AccountVideoRateModel } from '../models/account/account-video-rate-interface' |
20 | import { AccountFollowModel } from '../models/account/account-follow-interface' | 19 | import { AccountFollowModel } from '../models/account/account-follow-interface' |
21 | import { TagModel } from './../models/video/tag-interface' | 20 | import { TagModel } from './../models/video/tag-interface' |
22 | import { RequestModel } from './../models/request/request-interface' | ||
23 | import { RequestVideoQaduModel } from './../models/request/request-video-qadu-interface' | ||
24 | import { RequestVideoEventModel } from './../models/request/request-video-event-interface' | ||
25 | import { RequestToPodModel } from './../models/request/request-to-pod-interface' | ||
26 | import { PodModel } from './../models/pod/pod-interface' | 21 | import { PodModel } from './../models/pod/pod-interface' |
27 | import { OAuthTokenModel } from './../models/oauth/oauth-token-interface' | 22 | import { OAuthTokenModel } from './../models/oauth/oauth-token-interface' |
28 | import { OAuthClientModel } from './../models/oauth/oauth-client-interface' | 23 | import { OAuthClientModel } from './../models/oauth/oauth-client-interface' |