Skip to content
New issue

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

change Successfully created User tables tables to Successfully created User table #102

Open
ezkemboi opened this issue Aug 9, 2020 · 2 comments

Comments

@ezkemboi
Copy link
Member

ezkemboi commented Aug 9, 2020

Describe the bug
Remove one tables inside the src/scripts/createdb.js when the app created makes use of 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:

  1. Generate a new app choosing the database as postgres & ORM as 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

@ezkemboi
Copy link
Member Author

ezkemboi commented Aug 9, 2020

It also needs to make a modification to allow more than one export. In an app, it can have many tables.

@Albert-Osei
Copy link
Contributor

Albert-Osei commented Jan 23, 2023

Seems this issue should be closed since the required change has already been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants