Skip to content

tavvet/TavvetDoctrinePrefixBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TavvetDoctrinePrefixBundle

Configuration example

You can configure prefixes and base naming strategy in app/config/config.yml

doctrine:
    # ...
    orm:
        # ...
        naming_strategy: tavvet_doctrine_prefix.prefix_naming_strategy

tavvet_doctrine_prefix:
    table_prefix: t_ # default ''
    column_prefix: c__ # default ''
    naming_strategy:
        type: doctrine.orm.naming_strategy.underscore # default - 'doctrine.orm.naming_strategy.underscore'
        arguments: [0, false] # Constructor arguments for base naming strategy 

About

Bundle to add prefix to tables and columns database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages