aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/migration/migration_generator.rb
blob: 4e2db5e441e993c46555f4d989b8a8591c43819b (plain) (blame)
1
2
3
4
5
6
7
8
module Rails
  module Generators
    class MigrationGenerator < NamedBase #metagenerator
      argument :attributes, :type => :hash, :default => {}, :banner => "field:type field:type"
      hook_for :orm, :required => true
    end
  end
end