Sha256: 0709f55fe2c49b98748b363fbd4d29dda0a8bc588b54546e0ff09ccf79d38c99

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

class RemoveUserCruft < ActiveRecord::Migration
  def change
    remove_column :users, :token, :string
    remove_column :users, :is_deleted, :boolean, default: false, null: false
    remove_column :users, :born_on, :date
    remove_column :users, :mobile, :string
    remove_column :users, :web_link, :string
    rename_column :users, :is_activated, :activated
    rename_column :users, :realname, :name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 db/migrate/20141006181300_remove_user_cruft.rb
pages_core-3.5.1 db/migrate/20141006181300_remove_user_cruft.rb
pages_core-3.4.2 db/migrate/20141006181300_remove_user_cruft.rb