我想使用 ASP.NET Core 中的迁移更新 Heroku 上的数据库。我使用了正确的连接字符串 (DATABASE_URL),但是当我update-database
从包管理器控制台运行命令时
,我收到消息
Format of the initialization string does not conform to specification starting at index 0.
我将在这里保留我的连接字符串格式:
postgres://odb...:5670...@ec2-54-243-54-6.compute-1.amazonaws.com:5432/2d...