mysql-workbench-schema-exporter / symfony2-bundle
MySQL Workbench Schema Exporter bundle for Symfony 2.2+
Installs: 330
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 8
Open Issues: 0
Type:cli
Requires
- php: >=5.3.0
- doctrine/doctrine-bundle: 1.2.*
- doctrine/orm: ~2.2,>=2.2.3
- mysql-workbench-schema-exporter/mysql-workbench-schema-exporter: dev-master
- symfony/symfony: 2.*
This package is not auto-updated.
Last update: 2024-10-26 16:41:33 UTC
README
Setup
Workbench files should be saved in the Resources/workbench/*.mwb directory inner the bundle that is in the configuration. This is configurable per schema.
Configuration
Single schema
schema_name
here refers to name of the Workbench file
mysql_workbench_schema_exporter:
schema:
schema_name:
bundle: YourBundle
Multiple schemas
schema_name
here refers to name of the Workbench file
mysql_workbench_schema_exporter:
schema:
schema1_name:
bundle: YourBundle
schema2_name:
bundle: YourBundle
schema3_name:
bundle: YourBundle
params:
repositoryNamespace: "Acme\\SomeBundle\\Entity\\Repository"
backupExistingFile: true,
skipPluralNameChecking: false,
enhanceManyToManyDetection: true,
bundleNamespace: "",
entityNamespace: "",
repositoryNamespace: "",
useAnnotationPrefix: "ORM\\",
useAutomaticRepository: true,
indentation: 4,
filename: "%entity%.%extension%",
quoteIdentifier: false
Execution
To process the files execute the command in the terminal:
app/console mysqlworkbenchschemaexporter:dump