Skip to content

mysql-workbench-schema-exporter/propel1-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Stable Version Total Downloads License

README

This is an exporter to convert MySQL Workbench Models (*.mwb) to Propel 1 YAML and XML Schema.

Prerequisites

  • PHP 7.2+
  • Composer to install the dependencies

Installation

composer require --dev mysql-workbench-schema-exporter/propel-exporter

This will install the exporter and also require mysql-workbench-schema-exporter.

You then can invoke the CLI script using vendor/bin/mysql-workbench-schema-export.

Configuration

Model Comment Behavior

  • {propel:allowPkInsert}true{/propel:allowPkInsert} (applied to Table)

    Allow primary key value insertion if its an auto increment column.

  • {propel:propel_behaviors}behavior{/propel:propel_behaviors} (applied to Table)

    Propel behaviors definition, written in YAML format.

    Example usage:

    {propel:propel_behaviors}
    timestampable:
    {/propel:propel_behaviors}
    
  • {propel:behaviors}behavior{/propel:behaviors} (applied to Table)

    Custom behaviors definition, written in YAML format.

Command Line Interface (CLI)

See documentation for mysql-workbench-schema-exporter

Links

About

MySQL Workbench Exporter for Propel 1

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages