Skip to content
Snippets Groups Projects
Commit 0b27d633 authored by Douwe Maan's avatar Douwe Maan
Browse files

Old migration doesn’t require downtime

parent 5c7f9d69
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,6 +2,8 @@ class MigrateUsersNotificationLevel < ActiveRecord::Migration
# Migrates only users who changed their default notification level :participating
# creating a new record on notification settings table
 
DOWNTIME = false
def up
execute(%{
INSERT INTO notification_settings
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment