migrations.ts 578 B

123456789101112131415161718192021222324252627
  1. import { ModelAttributeColumnOptions } from 'sequelize'
  2. declare namespace Migration {
  3. interface Boolean extends ModelAttributeColumnOptions {
  4. defaultValue: boolean | null
  5. }
  6. interface String extends ModelAttributeColumnOptions {
  7. defaultValue: string | null
  8. }
  9. interface Integer extends ModelAttributeColumnOptions {
  10. defaultValue: number | null
  11. }
  12. interface BigInteger extends ModelAttributeColumnOptions {
  13. defaultValue: number | null
  14. }
  15. interface UUID extends ModelAttributeColumnOptions {
  16. defaultValue: null
  17. }
  18. }
  19. export {
  20. Migration
  21. }