sequelize-typescript
sequelize-typescript copied to clipboard
Decorators and some other features for sequelize
I have two models: Service and ServiceRepo, when the Service model contains a foreign key to the ServiceRepo model. When I'm trying to include the ServiceRepo in the query like...
# Issue Cannot set custom foreign key constraint name ## Versions 2.1.5 - sequelize: 6.32.0 - sequelize-typescript: 2.1.5 - typescript: 4.7.4 ## Issue type - [ ] bug report -...
# Issue It would be nice to support Sequelize.literal on virtual subqueries, because it's a really common use-case. ## Versions - sequelize: 6.5.1 - sequelize-typescript: 2.1.0 - typescript: 4.7.2 ##...
# Issue I want to override `createdAt` columns type from `Date` to `DateTime`(from Luxon). When I went to declare that getting TS error. ```log TS2612: Property createdAt will overwrite the...
# Issue Using the `@Unique` constraint with `postgresql`/`sqlite` doesn't set the desired constraint name. ## Versions - sequelize: `6.35.2` - sequelize-typescript: `2.1.6` - typescript: `5.3.3` ## Issue type - [x]...
# Issue ## Versions - sequelize: 6.28.0 - sequelize-typescript: 2.1.5 - typescript: 4.9.3 ## Issue type - [ ] bug report - [x] feature request ## Actual behavior Ref. Issue:...
# Issue Cannot use @DefaultScope() simultaneously in two related Models ## Versions - sequelize: 6.35.1 - sequelize-typescript: 2.1.6 - typescript: 5.3.3 ## Issue type - [ x] bug report -...
# Issue ## Versions - sequelize: - sequelize-typescript: - typescript: ## Issue type - [x] bug report - [ ] feature request ## Actual behavior ## Expected behavior ## Steps...
Hi,I have table with 5 column and 1000 row, I want rename second column from `imageUrl` to `slug` for example. and I want sequelize do not delete row in old...
Adding proper model fields definitions that doesn't conflict with vanilla Sequelize. Addressing that problem https://sequelize.org/docs/v6/core-concepts/model-basics/#caveat-with-public-class-fields