Skip to content
awmichel edited this page Nov 9, 2011 · 2 revisions

Migration Extends

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:

  1. provide a component path relative to your webroot e.g. appname.plugins.dbmigrate.Migration

  2. 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'>
Clone this wiki locally