Search code examples
sql-serverdeploymentroundhouse

Subfolders in UP folder chucknorris/roundhouse


I was wondering if it is possible to have subfolders in the UP folder of the chucknorris/roundhouse project. Instead of lumping together all scripts into the UP folder, my team would like to organize the new scripts by "release #" and have a different folder per release. Does this screw up the point of the up folder or is this feature built in?


Solution

  • Yes you can have subfolders. See https://github.com/chucknorris/roundhouse/wiki/ConfigurationOptions#folder-locations

    Also be sure that all files in the up folder are uniquely named, no matter what folder/subfolder they are in.

    This means you cannot have up/release1/0001_firstscript.sql and up/release2/0001_firstscript.sql.