]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/models/migrations.ts
Improve quick settings UI
[github/Chocobozzz/PeerTube.git] / server / models / migrations.ts
1 import { ModelAttributeColumnOptions } from 'sequelize'
2
3 declare namespace Migration {
4 interface Boolean extends ModelAttributeColumnOptions {
5 defaultValue: boolean | null
6 }
7
8 interface String extends ModelAttributeColumnOptions {
9 defaultValue: string | null
10 }
11
12 interface Integer extends ModelAttributeColumnOptions {
13 defaultValue: number | null
14 }
15
16 interface BigInteger extends ModelAttributeColumnOptions {
17 defaultValue: number | null
18 }
19
20 interface UUID extends ModelAttributeColumnOptions {
21 defaultValue: null
22 }
23 }
24
25 export {
26 Migration
27 }