mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) new notifications types not created
This commit is contained in:
parent
ed072184bf
commit
79651d6b3c
@ -77,9 +77,9 @@ class CreateNotificationTypes < ActiveRecord::Migration[5.2]
|
||||
{ id: 61, name: 'notify_user_is_invalidated', category: 'users_accounts', is_configurable: false },
|
||||
{ id: 62, name: 'notify_user_supporting_document_refusal', category: 'supporting_documents', is_configurable: false },
|
||||
{ id: 63, name: 'notify_admin_user_supporting_document_refusal', category: 'supporting_documents', is_configurable: true },
|
||||
{ id: 64, name: 'notify_user_order_is_ready', category: 'shop', is_configurable: true },
|
||||
{ id: 65, name: 'notify_user_order_is_canceled', category: 'shop', is_configurable: true },
|
||||
{ id: 66, name: 'notify_user_order_is_refunded', category: 'shop', is_configurable: true },
|
||||
{ id: 64, name: 'notify_user_order_is_ready', category: 'shop', is_configurable: false },
|
||||
{ id: 65, name: 'notify_user_order_is_canceled', category: 'shop', is_configurable: false },
|
||||
{ id: 66, name: 'notify_user_order_is_refunded', category: 'shop', is_configurable: false },
|
||||
{ id: 67, name: 'notify_admin_low_stock_threshold', category: 'shop', is_configurable: true },
|
||||
{ id: 68, name: 'notify_admin_training_auto_cancelled', category: 'trainings', is_configurable: true },
|
||||
{ id: 69, name: 'notify_member_training_auto_cancelled', category: 'trainings', is_configurable: false }
|
||||
|
@ -5,6 +5,7 @@
|
||||
# Other data are required default values, for various settings.
|
||||
|
||||
load Rails.root.join('db/seeds/statistics.rb')
|
||||
load Rails.root.join('db/seeds/notification_types.rb')
|
||||
|
||||
if Group.count.zero?
|
||||
Group.create!([
|
||||
|
Loading…
x
Reference in New Issue
Block a user