wilsonmcdade / tunnelvision

Source code for Tunnelvision: RIT's Overlooked Art Museum
https://tunnelvision.csh.rit.edu
5 stars 4 forks source link

Would setting up flask-migrate be helpful? #31

Open MoralCode opened 2 weeks ago

MoralCode commented 2 weeks ago

it looks like flask-migrate is included as a dependency in the requirements.txt.

I also noticed that, while testing out #21, I saw a database error because my schema was out of date.

Would it help to set up flask-migrate before merging #21 so that the db schema is properly versioned and the app can automatically upgrade from an older schema if it tries to run on an older database?

happy to share examples of this kind of setup if you want

wilsonmcdade commented 1 week ago

Haha yes I tried getting that set up very early on in the project. Feel free to share some examples and I'll see about adding it