EF6 + Postgres relation dbo.AspNetUsers does not exist

与世无争的帅哥 提交于 2019-12-04 07:58:46

I had ran the application before migrating to Postgres so all I needed to was to add a migration and update database through the package manager console.

If you see this Error in 2018, the answer is because the table has not being added to the migrations.

dotnet ef migrations add 01_users && dotnet ef database update

It is interesting but when i write as below it works on tableplus;

select *
from "AspNetUsers";

or

select "UserName"
from "AspNetUsers";
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!