2017 © Pedro Peláez
 

cli symfony2-bundle

MySQL Workbench Schema Exporter bundle for Symfony 2.2+

image

mysql-workbench-schema-exporter/symfony2-bundle

MySQL Workbench Schema Exporter bundle for Symfony 2.2+

  • Monday, October 14, 2013
  • by Easen
  • Repository
  • 1 Watchers
  • 4 Stars
  • 324 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

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., (*1)

Configuration

Single schema

schema_name here refers to name of the Workbench file, (*2)

mysql_workbench_schema_exporter:
    schema:
        schema_name:
            bundle: YourBundle

Multiple schemas

schema_name here refers to name of the Workbench file, (*3)

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:, (*4)

app/console mysqlworkbenchschemaexporter:dump

The Versions

14/10 2013

dev-master

9999999-dev https://github.com/easen/mysql-workbench-schema-exporter-bundle

MySQL Workbench Schema Exporter bundle for Symfony 2.2+

  Sources   Download

MIT

The Requires

 

by Marc Easen

database cli doctrine mysql workbench