Added missing migrations file.
This commit is contained in:
parent
07ef7c69ee
commit
9ad68cd8ae
1 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
||||||
|
class DefaultsCalendarSubscriptionsTickets < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
Setting.create_if_not_exists(
|
||||||
|
title: 'Default calendar Tickets subscriptions',
|
||||||
|
name: 'defaults_calendar_subscriptions_tickets',
|
||||||
|
area: 'Defaults::CalendarSubscriptions',
|
||||||
|
description: 'Defines the default calendar Tickets subscription settings.',
|
||||||
|
options: {},
|
||||||
|
state: {
|
||||||
|
escalation: {
|
||||||
|
own: true,
|
||||||
|
not_assigned: false,
|
||||||
|
},
|
||||||
|
new_open: {
|
||||||
|
own: true,
|
||||||
|
not_assigned: false,
|
||||||
|
},
|
||||||
|
pending: {
|
||||||
|
own: true,
|
||||||
|
not_assigned: false,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
frontend: true
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue