-
Notifications
You must be signed in to change notification settings - Fork 245
CustomCreateDatabase
ferventcoder edited this page Nov 19, 2014
·
9 revisions
You can instruct RH to use a custom script to create a database instead of the default scripts that it uses. You want to use this when you have a special way of creating databases that may very from the norm, like adding multiple disk locations, etc.
When using CustomCreateDatabase, if your script creates a database, it should return a value of 1. Otherwise any scripts you have in the runaftercreate
folder will not be run.
For an example see https://github.com/chucknorris/roundhouse/blob/master/product/roundhouse.databases.sqlserver/SqlServerDatabase.cs#L140-L143