Move nodeinfo model in shared/
This commit is contained in:
parent
df39a683ea
commit
c75937d04f
3 changed files with 2 additions and 2 deletions
27
server/models/migrations.ts
Normal file
27
server/models/migrations.ts
Normal file
|
@ -0,0 +1,27 @@
|
|||
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
|
||||
}
|
||||
|
||||
interface UUID extends Sequelize.DefineAttributeColumnOptions {
|
||||
defaultValue: Sequelize.DataTypeUUIDv4 | null
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
Migration
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue