21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-25 21:40:49 +02:00

Search/replace was too greedy and butchered the migration

This commit is contained in:
Jérémy Lecour 2018-06-05 22:55:28 +02:00 committed by Colin Darie
parent 830b978626
commit c04d69542f
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -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