Sha256: e299c44f599aa567261990279d7d7cdf06784479f2cfcb2d4c4287ba8607978f
Contents?: true
Size: 663 Bytes
Versions: 44
Compression:
Stored size: 663 Bytes
Contents
class RemoveUserFields < ActiveRecord::Migration def up remove_column :users, :helptips_enabled remove_column :users, :page_size remove_column :users, :disabled remove_column :users, :preferences remove_column :users, :remote_id end def down add_column :users, :helptips_enabled, :boolean, :default => true add_column :users, :hidden, :boolean, :default => false, :null => false add_column :users, :page_size, :integer, :default => 25, :null => false add_column :users, :disabled, :boolean, :default => false add_column :users, :preferences, :text add_column :users, :remote_id, :string, :limit => 255 end end
Version data entries
44 entries across 44 versions & 1 rubygems