I
I
Ivan Ivanov2019-05-13 21:56:04
Node.js
Ivan Ivanov, 2019-05-13 21:56:04

Is it possible to generate a Sequelize model from an existing mysql table?

I plan to use the mysql database in both php and nodejs. The database already has tables. Is it possible to somehow generate Sequelize models from them? In order not to prescribe the fields manually? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shvets, 2019-05-13
@romalu

https://github.com/sequelize/sequelize-auto

K
Kirill Krasin, 2017-05-12
@Mo45

To get started, read the error, ways to convert the mass, for example .
Check bit depth

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question