Open ezkemboi opened 4 years ago
Describe the bug Remove one tables inside the src/scripts/createdb.js when the app created makes use of postgreSQL
tables
src/scripts/createdb.js
postgreSQL
export default User.sync().then(() => { console.log('Successfully created User tables tables') }).catch(error => { console.log('The error: ', error) })
To Reproduce Steps to reproduce the behavior:
postgres
sequelize
Expected behavior
export default User.sync().then(() => { console.log('Successfully created User table') }).catch(error => { console.log('The error: ', error) })
Screenshots N/A
Desktop (please complete the following information): N/A Smartphone (please complete the following information): N/A Additional context N/A
It also needs to make a modification to allow more than one export. In an app, it can have many tables.
Seems this issue should be closed since the required change has already been implemented.
Describe the bug Remove one
tables
inside thesrc/scripts/createdb.js
when the app created makes use ofpostgreSQL
To Reproduce Steps to reproduce the behavior:
postgres
& ORM assequelize
Expected behavior
Screenshots N/A
Desktop (please complete the following information): N/A Smartphone (please complete the following information): N/A Additional context N/A