PeerTube/server/models/migrations.ts

28 lines
578 B
TypeScript
Raw Normal View History

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