Method: Frontline::Models#post_migration
- Defined in:
- lib/frontline/controllers/models.rb
#post_migration(model) ⇒ Object
return a command that will generate a new migration for given model. ‘@name` and `@setups` variables are set by the triggered hooks(see frontline/app.rb for hooks)
28 29 30 |
# File 'lib/frontline/controllers/models.rb', line 28 def post_migration model 'm %s model:%s %s' % [@name, model, @setups] end |