forked from tdm00/cfwheels-dbmigrate-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
migrationextends
awmichel edited this page Nov 9, 2011
·
2 revisions
Your migration CFC files need to extend plugins.dbmigrate.Migration.
Note that if your application is running in a sub folder beneath your webroot, you can either:
-
provide a component path relative to your webroot e.g. appname.plugins.dbmigrate.Migration
-
create a Coldfusion mapping to your plugins folder e.g. add code similar to this to your /config/app.cfm
<cfset this.mappings["/plugins"] = getDirectoryFromPath(getBaseTemplatePath()) & 'plugins'>