21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-05 18:25:09 +02:00
chexpire/db/migrate/20180605203552_rename_notifications_delay_to_interval.rb
Jérémy Lecour 830b978626
Rename Notifications.delay to .interval
From French to English "interval" is a better translation than "delay".
It's supposed to mean a number of days between two dates.
2018-07-02 09:52:49 +02:00

6 lines
153 B
Ruby

class RenameNotificationsintervalToInterval < ActiveRecord::Migration[5.2]
def change
rename_column :notifications, :interval, :interval
end
end