aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/models/migrations.ts
blob: 6c11332a1acb187eee577631e697528cb6de7a61 (plain) (tree)
1
2
3
4
5
6
7
8
                                                       
                             
                                                         

                                
                                                        

                               
                                                         

                               
                                                            
   
 
                                                      
   



           
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
}