Sha256: ae6bf517629492d6412af49d8d94f0de05f2451133a3c2082c3d9fe849284204

Contents?: true

Size: 220 Bytes

Versions: 35

Compression:

Stored size: 220 Bytes

Contents

class RenameHistoriesToRailsAdminHistories < ActiveRecord::Migration
  def self.up
    rename_table :histories, :rails_admin_histories
  end

  def self.down
    rename_table :rails_admin_histories, :histories
  end
end

Version data entries

35 entries across 35 versions & 6 rubygems

Version Path
rails_admin-0.6.4 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.6.3 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.6.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.6.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.6.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.5.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.9 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.8 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.7 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.6 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.5 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.4 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.3 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.4.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.3.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.2.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.1.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb