mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add Hakam Multi Tenancy Bundle (#1821)
* Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * Add Flex recipe for hakam/multi-tenancy-bundle version 2.8 * trigger-action
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
hakam_multi_tenancy:
|
||||||
|
tenant_database_className: App\Entity\Main\TenantDbConfig
|
||||||
|
tenant_database_identifier: id
|
||||||
|
tenant_connection:
|
||||||
|
url: "%env(resolve:TENANT_DEFAULT_DATABASE_URL)%"
|
||||||
|
tenant_migration:
|
||||||
|
tenant_migration_namespace: DoctrineMigrations\Tenant
|
||||||
|
tenant_migration_path: migrations/Tenant
|
||||||
|
tenant_entity_manager:
|
||||||
|
mapping:
|
||||||
|
type: attribute
|
||||||
|
dir: "%kernel.project_dir%/src/Entity/Tenant"
|
||||||
|
prefix: App\Entity\Tenant
|
||||||
|
alias: Tenant
|
||||||
14
hakam/multi-tenancy-bundle/2.8/manifest.json
Normal file
14
hakam/multi-tenancy-bundle/2.8/manifest.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"Hakam\\MultiTenancyBundle\\HakamMultiTenancyBundle": ["all"]
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"TENANT_DEFAULT_DATABASE_URL": "postgresql://postgres:postgres@127.0.0.1:5432/postgres"
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/",
|
||||||
|
"src/": "%SRC_DIR%/",
|
||||||
|
"migrations/": "migrations/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
0
hakam/multi-tenancy-bundle/2.8/migrations/Main/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/migrations/Main/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/migrations/Tenant/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/migrations/Tenant/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/src/Entity/Main/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/src/Entity/Main/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/src/Entity/Tenant/.gitignore
vendored
Normal file
0
hakam/multi-tenancy-bundle/2.8/src/Entity/Tenant/.gitignore
vendored
Normal file
Reference in New Issue
Block a user