Deployment question

Hi All,

When developing any kind of database driven application I use a test database on a test server or maybe even localhost.

The test database will usualy be named differently from the production database as well.

So how does scriptcase handle this when I wish to deploy my completed application ? does it allow me to specify another datasource, and it then changes everything in the background ?

I don’t want to get to far into things and find out i’ve got to manualy change everything.

Cheers

If you are on a test server it really makes no sense to name your database differently, name it the same so you don’t have problems later.

You can have different database name from production, and for development. There’s really no issue with that. I do this. You just have different IP / database name in the main Database configuration page on dev and on production.

But you cannot have different table names. This is headache.

If I understand you right this is no problem. You have to configure your production datasource easily in the “production environment”
Just have a look at https://www.scriptcase.net/docs/en_us/v9/manual/12-deploy/04-prod/
It does not matter if you have a different db server or differen db name. It`s obvious that the db structure has to be the same

I might add … it helps to have the connection name the same (ie. conn_mysql) and then you just change the database that it connects to