Commit 0b27d633 authored by Douwe Maan's avatar Douwe Maan

Old migration doesn’t require downtime

parent 5c7f9d69
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment