Ok to delete old migration files?

Would it be ok if I deleted all of my historical, applied migration files assuming they are stored in my git history? What about meta snapshot.json files? Thanks for the help!
3 Replies
Xazu
Xazu4mo ago
For me if these migrations weren't applied on your production app, then its okay Then i think you can delete whole Drizzle folder
terryball
terryball4mo ago
Thanks @Xazu - what if they have been applied on production? It's not a huge deal, I just have a couple hundred migration files and am hoping to clean things up a bit.
Xazu
Xazu4mo ago
So i think its better to leave it. Cause if u will want to change something in your db, deleting these files can cause problems in the future
Want results from more Discord servers?
Add your server