sequelize-automate
sequelize-automate copied to clipboard
Automatically generate bare sequelize models from your database.
There is no such field in the table, and the generated model requires createdAt
Bumps [bl](https://github.com/rvagg/bl) from 3.0.0 to 3.0.1. Release notes Sourced from bl's releases. v3.0.1 Fix unintialized memory access Commits 84e1852 Bumped v3.0.1 8a8c13c Fix unintialized memory access See full diff in...
`Cannot insert an explicit value into a timestamp column`
like code below ``` import { Application } from 'egg'; export default (app: Application) => { const DataTypes = app.Sequelize; const sequelize = app.model; const attributes = { id: {...
Can sequelize-automate support multiple schemas? Currently when it comes across a table that is a schema other than DBO it encounters an error stating that the table does not exist.
datatype nvarchar is can't convert in model , i'm use mssql database , please fix it. const sequelize = app.model; add mount model name to configure, change to custom model...
First, thanks for your script. I have some problems when trying to incorporate the TS generated by sequelize-automate. ### Project structure: ``` |--- database.ts |--- models/ |--- news_revision.ts |--- news_revision.d.ts...
README mentions you should install one of the following dialects, which includes mariadb. Trying to run `sequelize-automate` shows that `mariadb` dialect does not exist. Now trying to run as `mysql`...