openstackid/config/migrations.php
smarcet b52c932636 IDP - User Management
* Added user registration process
* Added user password reset process
* Added user email verification proccess
* update token id to return custom claims
* update access token instrospection to return user custom claims
* Migrated to Doctrine ORM ( from eloquent)
* Added User CRUD
* Added User Groups CRUD
* Refactoring
* Bug Fixing
* added user registration oauth2 endpoint
  POST /api/v1/user-registration-requests

payload

* first_name ( required )
* last_name ( required)
* email ( required )
* country ( optional )

scope

user-registration ( private scope)

Change-Id: I36e8cd4473ccad734565051442e2c6033b204f27
2020-01-23 03:06:05 -03:00

63 lines
2.4 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Entity Manager Migrations Configuration
|--------------------------------------------------------------------------
|
| Each entity manager can have a custom migration configuration. Provide
| the name of the entity manager as the key, then duplicate the settings.
| This will allow generating custom migrations per EM instance and not have
| collisions when executing them.
|
*/
'model' => [
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'table' => 'DoctrineMigration',
/*
|--------------------------------------------------------------------------
| Migration Directory
|--------------------------------------------------------------------------
|
| This directory is where all migrations will be stored for this entity
| manager. Use different directories for each entity manager.
|
*/
'directory' => sprintf("%s", database_path('migrations')),
/*
|--------------------------------------------------------------------------
| Migration Namespace
|--------------------------------------------------------------------------
|
| This namespace will be used on all migrations. To prevent collisions, add
| the entity manager name (connection name).
|
*/
'namespace' => 'Database\\Migrations',
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| Tables which are filtered by Regular Expression. You optionally
| exclude or limit to certain tables. The default will
| filter all tables.
|
*/
'schema' => [
'filter' => '/^(?!password_resets|failed_jobs).*$/'
]
],
];