【发布时间】:2018-11-22 05:02:32
【问题描述】:
我想在 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...
【问题讨论】:
标签: database heroku asp.net-core migration