Customizing table names

Table naming can be customized to match your company naming conventions.

By default, all tables are prefixed with the environment name (dev/test/prod/...):

parameters:
  datalakebundle:
    table:
      name_template: '%kernel.environment%_{identifier}'

The {identifier} is resolved to the table identifier defined in the datalakebundle.tables configuration (see above).

By changing the name_template option, you may add some prefix or suffix to both the database, or the table names:

parameters:
  datalakebundle:
    table:
      name_template: '%kernel.environment%_{db_identifier}.tableprefix_{table_identifier}_tablesufix'