adexos/sylius-postgre-compatibility-plugin

PostgreSQL compatibility bundle


README

PostgreSQL Compatibility Plugin

This plugin provide PostgreSQL compatibility for Sylius

Settings Plugin license

⚠️ Versions of this module follow Sylius versioning. Be sure to use the tag matching your Sylius version.
New version will be released for each Sylius release including a migration.
Please read Sylius upgrading guides.

Installation

  1. Run composer require adexos/sylius-postgre-compatibility-plugin.

  2. Add PostgreCompatibilityPlugin to config/bundles.php.

    return [
        Adexos\SyliusPostgreCompatibilityPlugin\AdexosSyliusPostgreCompatibilityPlugin::class => ['all' => true],
    ];
  1. Unregister migrations namespace if needed

In config/packages/adexos_sylius_postgre_compatibility_plugin.yaml

adexos_sylius_postgre_compatibility_plugin:
  excluded_migration_namespaces:
    - Vendor\Namespace\Migrations

Then you can re-generate and apply migrations for PostgreSQL with these commands:

bin/console doctrine:migration:diff
bin/console doctrine:migration:migrate