DB name to include in msg.

8 views
Skip to first unread message

Arvind Kumar

unread,
May 24, 2012, 7:06:54 AM5/24/12
to SolidBase User
Hi Rene,

We have multiple database used in the application, we would like to
have the below log statement to also include the db name, if possible.

Current : Current database version is "1.0.2"

New : Current database version of <db-name> is "1.0.2"

Thanks in advance,
Arvind Kumar

René de Bloois

unread,
May 25, 2012, 9:25:03 AM5/25/12
to solidba...@googlegroups.com
Arvind,

SolidBase doesn't know the name of the database. It only knows the url.
I don't think printing this url makes people happy.
Couldn't you log a message somewhere in your build script to indicate which database is going to be upgraded?

Or, you could execute an SQL file after all upgrades have finished which gives a summary of all your database versions. If you want, I can create an example.

For your information, Solidbase is also capable of upgrading two databases with one upgrade file and one version number. Are you sure you want independent versions?

Regards,
René

Reply all
Reply to author
Forward
0 new messages