0

I have a .NET Core 5 application that I have created. It is not ready to move to production. I was going to change the account used for the dbconnection so it has less permissions.

When I run and test with the other login, I get an error that migrations have not been applied and it wants me to apply all the past migrations.

Is there a way to get past this? The new account does not have permissions to apply migrations to the database.

What am I missing? Any help will be appreciated.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Chris Woodard
  • 43
  • 1
  • 6

1 Answers1

1

David Browne gave me the answer, I had forgot to give this account access to the Migrations table. As soon as I did that, everything worked fine.

Chris Woodard
  • 43
  • 1
  • 6