sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
# 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...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.7 to 5.38.0. Release notes Sourced from @typescript-eslint/parser's releases. v5.38.0 5.38.0 (2022-09-19) Features website: add warning on top of formatting rule docs pages (#5598) (5dfa2e9) v5.37.0 5.37.0...
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.21.3 to 6.23.0. Release notes Sourced from sequelize's releases. v6.23.0 6.23.0 (2022-09-17) Features types: add typescript 4.8 compatibility (#14990) (3468378) v6.22.1 6.22.1 (2022-09-16) Bug Fixes types: missing...
Hi everyone, I'm trying to define an association N:M, I mean, I have a table A, another one B and another C, whose primary keys are are related with A...
# Issue How to define a materialized view in sequelize-typescript? ## Versions - sequelize: 6.6.2 - sequelize-typescript: 2.1.0 - typescript: 4.1.3 ## Issue type - [ ] bug report -...
**Versions** - sequelize: 5.15.1 - sequelize-typescript: 1.1.0 - typescript 3.3.3 ```ts TaskBrier.ts import { Table, Column, Model, PrimaryKey, HasMany, Default, AutoIncrement, } from "sequelize-typescript"; import { TaskDetail } from "./TaskDetail";...
# Issue I have solved this issue for me but want to point out to the devs so they can make it work for all scenarios. `updateOnDuplicate` not works as...
# Issue There seems to be a bug associated with defining index properties in the `@Column` decorator. Moving the `unique` option into an `@Index` decorator resolves the issue. ## Versions...
# Issue ## Versions - sequelize: latest - sequelize-typescript: latest - typescript: - ## Issue type - [x] bug report - [ ] feature request ## Actual behavior Even when...
Hi everyone! I'm trying to update and delete one row of a specific table, but I don't know if the syntaxis that I'm using is correct. For example for destroying...