sequelize-typescript icon indicating copy to clipboard operation
sequelize-typescript copied to clipboard

How to set timestamps column data type

Open chan9948 opened this issue 3 years ago • 0 comments

Issue

May I know is there anyway to set the timestamps column(@CreatedAt,@UpdatedAt,@DeletedAt) data type to "datetime" instead of "datetimeoffset" while using with mssql server? thx

Versions

  • sequelize:6.21.6
  • sequelize-typescript:2.1.3
  • typescript:4.3.5

Issue type

  • [ ] bug report
  • [ ] feature request

chan9948 avatar Sep 20 '22 08:09 chan9948