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

Hey! We are using this lib to generate ours models and works great! But we found the following issue: ``` sql CREATE TYPE test_source AS ENUM ('first', 'second'); CREATE TABLE...

on noAlias = true Before: roles.belongsToMany(permissions, { as: 'permissionIdPermissions', through: rolePermissions, foreignKey: "roleId", otherKey: "permissionId" }); After: roles.belongsToMany(permissions, { through: rolePermissions, foreignKey: "roleId", otherKey: "permissionId" });

Support for sequelize newest version of model structures following the sequelize-ui format and also fixed was applied on Caveat with Public Class Fields Error which was overriding the value inserted

I would like to be able to add relations without modifying init-models file. It seems it's possible to do that using additional option & json file, but i'm unable to...

An idea for using sequelize-auto in scenarios where type-based customizations (getters/setters) are needed. Appreciate any feedback. My app uses custom getters/setters so we can use integers to represent timestamptz columns...

When using the sequelize-auto command to create the objects from the Databank and there's a Table name doubled in different schemas like dbo.dataStatus and example.dataStatus, the generator first creates the...

Suppose instead of es5, es6, esm, ts types, it outputted this json structure: ```json [ { "tableName": "models" }, { "id": { "type": "DataTypes.INTEGER(11)", "allowNull": false, "primaryKey": true, "comment": "null",...

Hi, We are exploring using sequelize-auto to generate our model, by customizing the parameters fed into the auto generation process to produce Models closers to what we manually authored. 1-...