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

Decorators and some other features for sequelize

Results 222 sequelize-typescript issues
Sort by recently updated
recently updated
newest added

# Issue Relevent: https://github.com/sequelize/sequelize/issues/8019 I have defined the following model using sequelize-typescript ```typescript // model.ts interface IFooAttributes { id: string; bar: number; createdAt: Date; } type TFooCreationAttributes = Optional; @Table({...

this just explains the use of ScopesOptionsGetter. this might help to solve issues like [ Can't define scopes in separate variables/files to use in the @DefaultScope and @Scope decorators #891...

# Issue foreignKey cannot be set with allowNull:false ``` //BaseModel.ts @Table({ version: true }) export abstract class BaseModel< TModelAttributes, TCreationAttributes, > extends Model { @PrimaryKey @Default(DataType.UUIDV4) @Column(DataType.UUID) id: CreationOptional; }...

# Issue So I have several places where this is true, but one of them is the relationship between the "User" and "Quid" table. Each user can have several quids,...

# Issue When passing `FindOptions` through a variable instead of defining them in the function call, typescript throws an error. ## Versions - sequelize: `6.32.1` - sequelize-typescript: `2.1.5` - typescript:...

Am i missing something or is there no autocomplete on `new Model({...})` ,`Mode.create({...})` or `Model.build({...})`... I added the columns to my Models as shown in the documentation, but when i...

# Issue field property in @Column is not recognized ## Versions - sequelize: 6.25.3 - sequelize-typescript: 2.1.5 - typescript: 4.0.3 ## Issue type When i use: @Column( { type: DataType.String,...

# Issue I am unable to use this package as it seems to fail at Model declaration ## Versions - sequelize: 6.28.0 - sequelize-typescript: 2.1.5 - typescript: 4.9.5 - vite:...

## Issue Creation Checklist - [x] I understand that my issue will be automatically closed if I don't fill in the requested information - [x] I have read the [contribution...

Nodejs v18.17.1 sequelize v 6.33.0 sequelize-typescript v2.1.5 ```ts @Table({ tableName: 'USERS', timestamps: false, }) export class User extends Model { @Column({ field: 'NAME' }) name: string; @Column({ field: 'EMAIL' })...