docbrown/db/migrate/20181127173004_add_mobile_comment_notifications_to_users.rb
Ben Halpern db6232adf3
Add initial ios push notifications to server (#1207)
* Add initial push notification logic for iOS

* Adjust notification form css

* Clean up schema.rb

* Add mark-all-as-read functionality for ios notifications

* Update app/models/notification.rb

Fix `find` to `find_by`

Co-Authored-By: benhalpern <bendhalpern@gmail.com>
2018-11-27 17:40:43 -05:00

5 lines
175 B
Ruby

class AddMobileCommentNotificationsToUsers < ActiveRecord::Migration[5.1]
def change
add_column :users, :mobile_comment_notifications, :boolean, default: true
end
end