AspNetCoreMultipleProject icon indicating copy to clipboard operation
AspNetCoreMultipleProject copied to clipboard

Postgres error when migration

Open MostafaMonib opened this issue 7 years ago • 1 comments

When type postgres commands after restore: dotnet ef migrations add postgresqlMigration --context DomainModelPostgreSqlContext

Unable to create an object of type 'DomainModelPostgreSqlContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

image

MostafaMonib avatar Dec 28 '18 17:12 MostafaMonib

When type postgres commands after restore: dotnet ef migrations add postgresqlMigration --context DomainModelPostgreSqlContext

Unable to create an object of type 'DomainModelPostgreSqlContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

image

Works!

MostafaMonib avatar Dec 28 '18 21:12 MostafaMonib