Commit 04d99383 authored by Jiri Strojil's avatar Jiri Strojil

Removed invalid enum

parent 87de1841
class RemoveReminderMailingsWithHalfyearEnum < ActiveRecord::Migration[5.1]
def up
ReminderMailing.where(kind: :half_year).destroy_all
ReminderMailing.where(kind: 0).destroy_all
EmailTemplate.where(kind: :half_year).destroy_all
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment