NTX-McGill / NeuroTechX-McGill-2021

Other
16 stars 5 forks source link

Software (Backend): Make a script to clear all rows for all tables using flask SQLAlchemy #99

Closed mlej8 closed 2 years ago

mlej8 commented 2 years ago

Sometimes we need to clear the local dev database, hence it would be good to have a script that erases all entries in all tables using flask-SQLAlchemy.

mlej8 commented 2 years ago

Please update the status on this task @gupta-parth

gupta-parth commented 2 years ago

I was thinking of creating a bash script to clear the database, but I'll look into it using SQLAlchemy.