032_add_jabber_notification.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
源码类别:
Ajax
开发平台:
Others
- class AddJabberNotification < ActiveRecord::Migration
- def self.up
- add_column :users, :notify_via_jabber, :boolean
- add_column :users, :jabber, :string
- end
- def self.down
- remove_column :users, :notify_via_jabber
- remove_column :users, :jabber
- end
- end