Commit 1a395367 authored by Jiri Strojil's avatar Jiri Strojil

Merge branch 'fixes/migration-enum' into 'develop'

Fixes/migration enum

See merge request !915
parents 87de1841 34e7de81
Pipeline #33640 passed with stage
in 33 minutes and 57 seconds
class RemoveReminderMailingsWithHalfyearEnum < ActiveRecord::Migration[5.1]
def up
ReminderMailing.where(kind: :half_year).destroy_all
EmailTemplate.where(kind: :half_year).destroy_all
ReminderMailing.where(kind: 0).destroy_all
EmailTemplate.where(kind: 3).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