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

golang gorm app should CREATE DATABASE automatically #31

Open
schoudhury opened this issue Jun 19, 2019 · 1 comment
Open

golang gorm app should CREATE DATABASE automatically #31

schoudhury opened this issue Jun 19, 2019 · 1 comment

Comments

@schoudhury
Copy link
Contributor

CREATE DATABASE gormdemo; is a mandatory step before the golang gorm code can be started. This should not be the case and this database should be auto-created every time the app is started (it can drop the previous database using DROP DATABASE)

@azeemshahzad
Copy link
Contributor

To achieve uniform behavior across all apps, the database would be created manually. I have updated ReadMe with instruction to create database.

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

No branches or pull requests

2 participants