Internal: Add api platform/notifier settings + fix migration settings

pull/3696/head
Julio Montoya 4 years ago
parent 953c0fbab4
commit 188a989450
  1. 6
      config/packages/doctrine_migrations.yaml
  2. 16
      config/packages/notifier.yaml
  3. 3
      config/packages/prod/api_platform.yaml

@ -1,6 +1,10 @@
doctrine_migrations:
migrations_paths:
'Chamilo\CoreBundle\Migrations\Schema\V200': '%kernel.project_dir%/src/CoreBundle/Migrations/Schema/V200'
'Chamilo\CoreBundle\Migrations\Schema\V200': 'src/CoreBundle/Migrations/Schema/V200'
# Run all migrations in a transaction.
all_or_nothing: true
# Adds an extra check in the generated migrations to ensure that is executed on the same database type.
check_database_platform: true
connection: default

@ -0,0 +1,16 @@
framework:
notifier:
#chatter_transports:
# slack: '%env(SLACK_DSN)%'
# telegram: '%env(TELEGRAM_DSN)%'
#texter_transports:
# twilio: '%env(TWILIO_DSN)%'
# nexmo: '%env(NEXMO_DSN)%'
channel_policy:
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
urgent: ['email']
high: ['email']
medium: ['email']
low: ['email']
admin_recipients:
- { email: admin@example.com }

@ -0,0 +1,3 @@
api_platform:
enable_docs: false
enable_entrypoint: false
Loading…
Cancel
Save