Skip to content
ferventcoder edited this page Jun 17, 2011 · 6 revisions

If you name a sql file with .ENV., Roundhouse will start looking for the environment name somewhere on the file. If it doesn't find the proper environment, it will not run the file.

In example, if you name a file LOCAL.permissionfile.env.sql and it is migrating the LOCAL environment, it will run the file. But if it is migrating the TEST environment, it will pass over this file.

Why would I use this?

This is a handy way to insert test data or set custom permissions for an environment.

Clone this wiki locally