Sha256: d55b4761b97281eae08e5440dfa3586d581a9e0f86720cac4c8ec83ff45a1a1c

Contents?: true

Size: 316 Bytes

Versions: 16

Compression:

Stored size: 316 Bytes

Contents

class AddSuspendedToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :suspended_at, :datetime
    rename_column :accounts, :tall_free_phone, :toll_free_phone
  end

  def self.down
    rename_column :accounts, :toll_free_phone, :tall_free_phone
    remove_column :users, :suspended_at
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.5 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.4 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.3 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.2 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.12.3 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.12.2 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.1 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.12.1 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.13.0 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.12.0 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.11.4 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.11.3 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.11.2 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.11.1 db/migrate/20100928030619_add_suspended_to_users.rb
fat_free_crm-0.11.0 db/migrate/20100928030619_add_suspended_to_users.rb