2019-04-18 04:28:17 -05:00
|
|
|
import { ModelAttributeColumnOptions } from 'sequelize'
|
2018-07-25 15:01:25 -05:00
|
|
|
|
|
|
|
declare namespace Migration {
|
2019-04-18 04:28:17 -05:00
|
|
|
interface Boolean extends ModelAttributeColumnOptions {
|
2018-07-25 15:01:25 -05:00
|
|
|
defaultValue: boolean | null
|
|
|
|
}
|
|
|
|
|
2019-04-18 04:28:17 -05:00
|
|
|
interface String extends ModelAttributeColumnOptions {
|
2018-07-25 15:01:25 -05:00
|
|
|
defaultValue: string | null
|
|
|
|
}
|
|
|
|
|
2019-04-18 04:28:17 -05:00
|
|
|
interface Integer extends ModelAttributeColumnOptions {
|
2018-07-25 15:01:25 -05:00
|
|
|
defaultValue: number | null
|
|
|
|
}
|
|
|
|
|
2019-04-18 04:28:17 -05:00
|
|
|
interface BigInteger extends ModelAttributeColumnOptions {
|
|
|
|
defaultValue: number | null
|
2018-07-25 15:01:25 -05:00
|
|
|
}
|
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
|
|
|
}
|
2018-07-25 15:01:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export {
|
|
|
|
Migration
|
|
|
|
}
|