I get this error on my production server, but the application works locally just fine
Migrations is enabled for context 'ApplicationDbContext' but the
database does not exist or contains no mapped tables. Use Migrations
to create the database and its tables, for example by running the
'Update-Database' command from the Package Manager Console.