083_add_users_display_perms.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
源码类别:
Ajax
开发平台:
Others
- 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