aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/migrations.ts
blob: 6c11332a1acb187eee577631e697528cb6de7a61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}