1
0
Fork 0
peertube/server/models/migrations.ts
2019-04-24 16:26:20 +02:00

27 lines
578 B
TypeScript

import { ModelAttributeColumnOptions } from 'sequelize'
declare namespace Migration {
interface Boolean extends ModelAttributeColumnOptions {
defaultValue: boolean | null
}
interface String extends ModelAttributeColumnOptions {
defaultValue: string | null
}
interface Integer extends ModelAttributeColumnOptions {
defaultValue: number | null
}
interface BigInteger extends ModelAttributeColumnOptions {
defaultValue: number | null
}
interface UUID extends ModelAttributeColumnOptions {
defaultValue: null
}
}
export {
Migration
}