Sha256: 32c2eb9345770e98501fff597f8ac60a54def4a207fea2d2408d737de44f1583

Contents?: true

Size: 218 Bytes

Versions: 13

Compression:

Stored size: 218 Bytes

Contents

class <%= migration_name %> < ActiveRecord::Migration
  def self.up
    create_table :<%= table_name %> do |t|
      # t.column :name, :string
    end
  end

  def self.down
    drop_table :<%= table_name %>
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
db_discovery_generator-0.1.0 templates/migration.rb
db_discovery_generator-0.1.1 templates/migration.rb
has_many_through_generator-0.4.0 templates/migration.rb
muding-0.2.0 lib/muding_generator/generators/components/model/templates/migration.rb
muding-0.1.0 lib/muding_generator/generators/components/model/templates/migration.rb
muding-0.1.1 lib/muding_generator/generators/components/model/templates/migration.rb
rails-1.1.0 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.1 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.2 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.5 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.6 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.4 lib/rails_generator/generators/components/model/templates/migration.rb
rails-1.1.3 lib/rails_generator/generators/components/model/templates/migration.rb