Commit 34e7de81 authored by Jiri Strojil's avatar Jiri Strojil

Fixed migration

parent 04d99383
Pipeline #33630 passed with stage
in 33 minutes and 55 seconds
class RemoveReminderMailingsWithHalfyearEnum < ActiveRecord::Migration[5.1]
def up
ReminderMailing.where(kind: 0).destroy_all
EmailTemplate.where(kind: :half_year).destroy_all
EmailTemplate.where(kind: 3).destroy_all
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