0

I got a project and I restored that database (from a backup). When I added a new migration for some changes, I get this error:

There is already an object named 'Languages' in the database.

But I want to change some other table, I don't want to re-create database again.

Please help me :(

1 Answer 1

0

Did you lose the previous migration files? If so, you could remove the changes you have made, apply the baseline migration, then add your changes back and add a 2nd migration and update the database.

For more details, you can refer to this thread.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.