sequelize-typescript-generator
sequelize-typescript-generator copied to clipboard
include an example of the config json file
hi, great work!
how should the input (-f) json file look like? i am trying something like:
{
"connection": {
"host": "...",
"port": "..."
},
"output": {
"clean": true,
"outDir": "..."
},
"metadata": {
"indices": true,
"timestamps": true,
"associationsFile": ".....",
"case": "CAMEL"
}
}
but that does not work
Here some useful info https://sequelize.org/docs/v6/other-topics/dialect-specific-things/
{
// Your mysql2 options here
}