Old migration doesn’t require downtime
This commit is contained in:
parent
5c7f9d69e3
commit
0b27d63359
|
@ -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…
Reference in New Issue