Sha256: 442df85120f82ce849e64771d7b155e1c8ca9426703d10e09be6f3328c89210d

Contents?: true

Size: 416 Bytes

Versions: 36

Compression:

Stored size: 416 Bytes

Contents

class AddMaestranoTo<%= table_name.camelize %> < ActiveRecord::Migration
  def self.up
    change_table(:<%= table_name %>) do |t|
<%= migration_data -%>
    end
  end

  def self.down
    # By default, we don't want to make any assumption about how to roll back this migration.
    # Please edit below which fields you would like to remove in this migration.
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
maestrano-rails-1.0.4 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.3 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.2 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC8 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC7 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC6 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC5 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC4 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC3 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC2 lib/generators/active_record/templates/migration.rb
maestrano-rails-1.0.0.pre.RC1 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.15.4 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.15.2 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.15.1 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.15.0 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.14.0 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.13.0 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.12.0 lib/generators/active_record/templates/migration.rb
maestrano-rails-0.11.0 lib/generators/active_record/templates/migration.rb