vigneshshettyin / Flask-Generate-Certificate

Certify is a free bulk certificate generator and verifier with a mailing feature and public and private api support.
Mozilla Public License 2.0
57 stars 65 forks source link

Database Management #88

Closed ashutoshkrris closed 3 years ago

ashutoshkrris commented 3 years ago

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Currently, I can see that we are using db.create_all() command to create database. But whenever we make any changes to it, we need to delete the existing database and re-run the command, which I don't think, is good for a large scale project, specially when it has been deployed to production.

Describe the solution you'd like

A clear and concise description of what you want to happen. I want to use Flask-Migrate to manage the database easily. It provides few useful commands which help us initialize the database, migrate the database whenever we make changes to the fields and upgrade or downgrade the database as per the latest migrations.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Describe how this feature will be useful to our readers.

A clear and concise description of how this feature will be useful for our other readers.

Which Program are you part of?

Additional context

Add any other context or screenshots about the feature request here.

vigneshshettyin commented 3 years ago

Yup, @ashutoshkrris assigning to you.