diff options
Diffstat (limited to 'server/initializers/migrations/0070-user-video-quota.ts')
-rw-r--r-- | server/initializers/migrations/0070-user-video-quota.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/migrations/0070-user-video-quota.ts b/server/initializers/migrations/0070-user-video-quota.ts index dec4d46dd..37683432f 100644 --- a/server/initializers/migrations/0070-user-video-quota.ts +++ b/server/initializers/migrations/0070-user-video-quota.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import * as Promise from 'bluebird' | 2 | import * as Promise from 'bluebird' |
3 | import { Migration } from '../../models/migrations' | ||
3 | 4 | ||
4 | function up (utils: { | 5 | function up (utils: { |
5 | transaction: Sequelize.Transaction, | 6 | transaction: Sequelize.Transaction, |
@@ -13,7 +14,7 @@ function up (utils: { | |||
13 | type: Sequelize.BIGINT, | 14 | type: Sequelize.BIGINT, |
14 | allowNull: false, | 15 | allowNull: false, |
15 | defaultValue: -1 | 16 | defaultValue: -1 |
16 | } | 17 | } as Migration.BigInteger |
17 | 18 | ||
18 | return q.addColumn('Users', 'videoQuota', data) | 19 | return q.addColumn('Users', 'videoQuota', data) |
19 | .then(() => { | 20 | .then(() => { |