2018-07-25 16:01:25 -04:00
|
|
|
import * as Sequelize from 'sequelize'
|
|
|
|
|
|
|
|
declare namespace Migration {
|
|
|
|
interface Boolean extends Sequelize.DefineAttributeColumnOptions {
|
|
|
|
defaultValue: boolean | null
|
|
|
|
}
|
|
|
|
|
|
|
|
interface String extends Sequelize.DefineAttributeColumnOptions {
|
|
|
|
defaultValue: string | null
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Integer extends Sequelize.DefineAttributeColumnOptions {
|
|
|
|
defaultValue: number | null
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BigInteger extends Sequelize.DefineAttributeColumnOptions {
|
|
|
|
defaultValue: Sequelize.DataTypeBigInt | number | null
|
|
|
|
}
|
2018-07-26 04:45:10 -04:00
|
|
|
|
|
|
|
interface UUID extends Sequelize.DefineAttributeColumnOptions {
|
|
|
|
defaultValue: Sequelize.DataTypeUUIDv4 | null
|
|
|
|
}
|
2018-07-25 16:01:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export {
|
|
|
|
Migration
|
|
|
|
}
|