Old migration doesn’t require downtime
This commit is contained in:
parent
5c7f9d69e3
commit
0b27d63359
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ class MigrateUsersNotificationLevel < ActiveRecord::Migration
|
||||||
# Migrates only users who changed their default notification level :participating
|
# Migrates only users who changed their default notification level :participating
|
||||||
# creating a new record on notification settings table
|
# creating a new record on notification settings table
|
||||||
|
|
||||||
|
DOWNTIME = false
|
||||||
|
|
||||||
def up
|
def up
|
||||||
execute(%{
|
execute(%{
|
||||||
INSERT INTO notification_settings
|
INSERT INTO notification_settings
|
||||||
|
|
Loading…
Reference in a new issue