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.1.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.1.0 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.0.5 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.0.4 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.0.3 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.0.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
upstream-rails_admin-1.0.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
rails_admin-0.0.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
obitum-rails_admin-0.0.5 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
drewda_rails_admin-0.0.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
obitum-rails_admin-0.0.4 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
obitum-rails_admin-0.0.3 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
obitum-rails_admin-0.0.2 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
obitum-rails_admin-0.0.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb
elucid-rails_admin-0.0.1 spec/dummy_app/db/migrate/20110123042530_rename_histories_to_rails_admin_histories.rb