Sha256: 91c0f0324893a79a2f8cec465bd2f6623232ffa300b22bf9abdbd2f09caeb836

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 Bytes

Contents

class RemoveTimestampsFromRolesUsersTable < ActiveRecord::Migration
  def up
    remove_column :roles_users, :created_at
    remove_column :roles_users, :updated_at
  end

  def down
    add_column :roles_users, :created_at, :datetime, :null => false
    add_column :roles_users, :updated_at, :datetime, :null => false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 db/migrate/20120320212313_remove_timestamps_from_roles_users_table.rb
xrono-1.0.3 db/migrate/20120320212313_remove_timestamps_from_roles_users_table.rb
xrono-1.0.2 db/migrate/20120320212313_remove_timestamps_from_roles_users_table.rb
xrono-1.0.1 db/migrate/20120320212313_remove_timestamps_from_roles_users_table.rb
xrono-1.0.0 db/migrate/20120320212313_remove_timestamps_from_roles_users_table.rb