Skip to content

Commit

Permalink
Add schema changes to user preferences to support in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
cmrd-senya committed Jul 21, 2022
1 parent 9b24407 commit 7588f5e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddEmailEnabledToUserPreferences < ActiveRecord::Migration[6.1]
def change
add_column :user_preferences, :email_enabled, :boolean, null: false, default: false
add_column :user_preferences, :in_app_enabled, :boolean, null: false, default: true
end
end

0 comments on commit 7588f5e

Please sign in to comment.