jenseng / hair_trigger

Happy database triggers for ActiveRecord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RFC: use rails generator instead of a custom rake task for migrations

gagalago opened this issue · comments

what do you think about using generators instead of a rails task to generate new migration?
https://guides.rubyonrails.org/generators.html

To me that seems more logical rails g trigger:migration my_new_trigger, same as how most often I create migration rails g migration my_migration.