adexos/sylius-postgre-compatibility-plugin

PostgreSQL compatibility bundle


README

68747470733a2f2f7777772e616465786f732e66722f77702d636f6e74656e742f7468656d65732f616465786f732f696d672f616465786f734c4f474f2e706e67

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