%= table_name.camelize %> < ActiveRecord::Migration def self.up change_table(:<%= table_name %>) do |t| t.database_authenticatable :null
# File lib/generators/active_record/templates/migration_existing.rb, line 29 def self.down # By default, we don't want to make any assumption about how to roll back a migration when your # model already existed. Please edit below which fields you would like to remove in this migration. raise ActiveRecord::IrreversibleMigration end
Generated with the Darkfish Rdoc Generator 2.