I have a mysql database in production, for the readability of the project the names of certain tables have changed. So I migrated it locally to be able to put it in my production environment. If I run the prisma migrate deploy command I'll lose all my data ?
If so, how can I avoid losing the data?
This is the message error when i run prisma migrate deploy :
1 migration found in prisma/migrations
Error: P3005
The database schema is not empty. Read more about how to baseline an existing production database: https://pris.ly/d/migrate-baseline
What is the best way to update the database without losing the data?