cfwheels-dbmigrate-plugin
cfwheels-dbmigrate-plugin copied to clipboard
ColdFusion on Wheels DBMigrate plugin fork
sometimes when creating a migration something fails and the whole migration should be rolled back like: ``` t = createTable(name='taggings',id=false); t.integer('tagid'); t.integer('articleid'); t.timestamps(); t.create(); addRecord(table='taggings',tagid=1,columnNoExisit=1); addRecord(table='taggings',tagid=4,articleid=1); ```
When creating a join table, it would be great if I could do this. t = createTable(name='taggings',primaryKey='tagid,articleid'); t.integer('tagid'); t.integer('articleid'); t.timestamps(); t.create(); thanks
What steps will reproduce the problem? 1. MySQL database (and potentially other engines) 2. Add column(s) using references() with the null argument 3. Run migration script What is the expected...