1
0
Fork 0
peertube/server/models/migrations.ts

28 lines
578 B
TypeScript
Raw Normal View History

2019-04-18 05:28:17 -04:00
import { ModelAttributeColumnOptions } from 'sequelize'
declare namespace Migration {
2019-04-18 05:28:17 -04:00
interface Boolean extends ModelAttributeColumnOptions {
defaultValue: boolean | null
}
2019-04-18 05:28:17 -04:00
interface String extends ModelAttributeColumnOptions {
defaultValue: string | null
}
2019-04-18 05:28:17 -04:00
interface Integer extends ModelAttributeColumnOptions {
defaultValue: number | null
}
2019-04-18 05:28:17 -04:00
interface BigInteger extends ModelAttributeColumnOptions {
defaultValue: number | null
}
2018-07-26 04:45:10 -04:00
2019-04-18 05:28:17 -04:00
interface UUID extends ModelAttributeColumnOptions {
defaultValue: null
2018-07-26 04:45:10 -04:00
}
}
export {
Migration
}