From c04d69542fca0e105485cf65a1be2f90f2029b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Tue, 5 Jun 2018 22:55:28 +0200 Subject: [PATCH] Search/replace was too greedy and butchered the migration --- .../20180605203552_rename_notifications_delay_to_interval.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20180605203552_rename_notifications_delay_to_interval.rb b/db/migrate/20180605203552_rename_notifications_delay_to_interval.rb index 17c6864..7ec2c31 100644 --- a/db/migrate/20180605203552_rename_notifications_delay_to_interval.rb +++ b/db/migrate/20180605203552_rename_notifications_delay_to_interval.rb @@ -1,5 +1,5 @@ -class RenameNotificationsintervalToInterval < ActiveRecord::Migration[5.2] +class RenameNotificationsDelayToInterval < ActiveRecord::Migration[5.2] def change - rename_column :notifications, :interval, :interval + rename_column :notifications, :delay, :interval end end