Deploying different flask production DB


I have a flask Replit, I am using secrets to define my production and development database URI.

If I make code updates OR migrations in development, my development database user data stays in tact.

If I deploy anything to production (just code/html changes or migrations) my production database is wiped and started again.

I am starting to use my production app but I’m worried that any time I need to deploy I will lose user data.

Replit Profile: