在postgresql的ConnectionsTring中,在哪里可以提及模式名称?
Jhi_configure数据库的PostgreSQL中有多个模式,我想连接到我的configurator
架构并运行我的代码第一次迁移。每当我运行迁移时,默认情况下它将在public
架构中创建表。如何在我的ConnectionsTring中提供Configurator
架构名称。我的ConnectionsTring是:
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Database=JHI_Configure; Port:5432; User ID=sa; Password=test1;Trusted_Connection=True;"
},
There are multiple schemas in PostgreSQl of JHI_Configure database and i want to connect to my Configurator
Schema and run my code first migration. Whenever i run my migration, by default it is creating tables in Public
schema. How to provide the Configurator
schema name in my connectionstring. My connectionstring is :
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Database=JHI_Configure; Port:5432; User ID=sa; Password=test1;Trusted_Connection=True;"
},
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论