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

Automatically generate bare sequelize models from your database.

Results 118 sequelize-auto issues
Sort by recently updated
recently updated
newest added

When programmatically generating schemas for tables, the `autoIncrement` property is not being set in the returned schema for columns where the `SERIAL` type has been added in the PostgreSQL table...

Hey guys, i've got my tables all having a varchar(36) as primary key containing the UUID of the object. The defaultValue is "(UUID())" which commands mysql to generate the uuid...

More of a question than an issue I have created my models using sequelize-auto and used them in my controllers ``` const sequelize = require('../database/db'); var models = require("../models/init-models").initModels(sequelize); var...

I have a project with a MySql server which contains multiple databases with the same schema. Typescript classes created by Sequelize-auto are working with one of the databases, but I...

Is it possible to filter out some columns when generating models? It can be at the database or table level. For example, a lot of tables have a column "CreatedBy"...

enhancement

**Problem** I can not set a nullable column to null using `.update` function after upgrading `sequelize` to `6.6.2`. Executing `user.update( { email: null });`, results in following error: ``` TS2322:...

In my case, passing the argument "--singularity" translated "analyses" to "analyasis". Here is my command line ``` sequelize-auto --output "./src/models" \⏎ --database \⏎ --host --port 3306 \⏎ --user --pass \⏎...

In my current setup, there are tables with same names under different schemas. As a workaround, I temporarily prefixed the schema name to the model name (which in this case...

Hello! First of all, thanks for this useful tool. This issue suggests a very very minor improvement: ```ts import type * as Sequelize from 'sequelize' import type { Optional }...

sequelize 6.3.5, sequelize-auto 0.8.3 The biggest issue where this happens is "through" associations that get generated in init-models. init-models.ts ```typescript external_company.belongsToMany(job_auction, { as: 'job_auction_id_job_auctions', through: job_auction_designated, foreignKey: 'company_id', otherKey: 'job_auction_id',...