Sha256: 774789f854ceeb046648867dbb6b8fafbf840d335726919b33c7f2078be84501

Contents?: true

Size: 599 Bytes

Versions: 6

Compression:

Stored size: 599 Bytes

Contents

class AddUsersDisplayPerms < ActiveRecord::Migration
  def self.up
    add_column :users, :show_url, :boolean
    add_column :users, :show_msn, :boolean    
    add_column :users, :show_aim, :boolean   
    add_column :users, :show_yahoo, :boolean
    add_column :users, :show_twitter, :boolean
    add_column :users, :show_jabber, :boolean
  end

  def self.down
    remove_column :users, :show_url
    remove_column :users, :show_msn
    remove_column :users, :show_aim
    remove_column :users, :show_yahoo
    remove_column :users, :show_twitter
    remove_column :users, :show_jabber
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typo-5.5 db/migrate/083_add_users_display_perms.rb
typo-5.4.4 db/migrate/083_add_users_display_perms.rb
typo-5.4.3 db/migrate/083_add_users_display_perms.rb
typo-5.4.2 db/migrate/083_add_users_display_perms.rb
typo-5.4.1 db/migrate/083_add_users_display_perms.rb
typo-5.4 db/migrate/083_add_users_display_perms.rb