We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose instead of es5, es6, esm, ts types, it outputted this json structure:
[ { "tableName": "models" }, { "id": { "type": "DataTypes.INTEGER(11)", "allowNull": false, "primaryKey": true, "comment": "null", "autoIncrement": true }, "dbname": { "type": "DataTypes.STRING(45)", "allowNull": false, "autoIncrement": false, "comment": "null" }, "tablename": { "type": "DataTypes.STRING(45)", "allowNull": false, "autoIncrement": false, "comment": "null" }, "weekday": { "type": "DataTypes.ENUM(\"Sun\",\"Mon\",\"Tues\",\"Wed\",\"Thur\",\"Fri\",\"Sat\")", "allowNull": false, "autoIncrement": false, "comment": "null" }, "createdDate": { "type": "DataTypes.DATE", "allowNull": true, "defaultValue": "CURRENT_TIMESTAMP", "autoIncrement": false, "comment": "null" } } ]
Which makes it easy for you to simply Sequelize.import it.
It is a more convenient and useful from any js version to use the json format rather than version specific javascript code.
The text was updated successfully, but these errors were encountered:
This is a good idea. I forked sequelize-auto I'd like to try this.
Sorry, something went wrong.
No branches or pull requests
Suppose instead of es5, es6, esm, ts types, it outputted this json structure:
Which makes it easy for you to simply Sequelize.import it.
It is a more convenient and useful from any js version to use the json format rather than version specific javascript code.
The text was updated successfully, but these errors were encountered: