31
Views
3
Comments
Deploying from dev to prod changing catalog and schema feature is not working
Question

I'm trying to deploy my application from dev to prod environment.

I'm using external databases so in my both environments I want different databases to run.
So, while deploying the app I'm configuring the schema and catalog to the name of production database but after the configuration also it's taking the dev's database and not switching to the prod database.

2024-03-22 09-17-23
Chandra Vikas Sharma

Hi,

Check the service centre which schena you configured in service center under database connection. It should be production database schema in production environment service centre.

Thanks 

Cv

UserImage.jpg
Ishika Thakkar

I have checked it,
It's the production one 

2019-01-07 16-04-16
Siya
 
MVP

Please confirm if your external databases (development and production) hosted on the same server ?.  The scenario you mention does happen in this case if you are not careful during deployment. Please open the extension -> Entity and verify the "Physical Table Name" and confirm this is pointing to the Production DB. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.