adexos / sylius-postgre-compatibility-plugin
PostgreSQL 兼容包
v1.12.2
2023-05-03 14:09 UTC
Requires
- php: ^7.4 || ^8.0
- sylius/sylius: ~1.9.0 || ~1.10.0 || ~1.11.0 || ~1.12.0
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-debug-extension: ^2.0.0
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- friendsofsymfony/oauth-server-bundle: ^1.6 || >2.0.0-alpha.0 ^2.0@dev
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.85
- phpstan/phpstan-doctrine: 0.12.33
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- sensiolabs/security-checker: ^6.0
- sylius-labs/coding-standard: ^4.0
- symfony/browser-kit: ^4.4 || ^5.2
- symfony/debug-bundle: ^4.4 || ^5.2
- symfony/dotenv: ^4.4 || ^5.2
- symfony/intl: ^4.4 || ^5.2
- symfony/web-profiler-bundle: ^4.4 || ^5.2
- theofidry/alice-data-fixtures: ^1.4
- vimeo/psalm: 4.7.1
This package is auto-updated.
Last update: 2024-09-10 18:35:13 UTC
README
PostgreSQL 兼容插件
此插件为 Sylius 提供 PostgreSQL 兼容性
⚠️ 此模块的版本遵循 Sylius 版本号。请确保使用与您的 Sylius 版本匹配的标签。
对于每个 Sylius 发布版本,包括迁移,都将发布新版本。
请阅读 Sylius 升级指南。
安装
-
运行
composer require adexos/sylius-postgre-compatibility-plugin
。 -
将 PostgreCompatibilityPlugin 添加到 config/bundles.php。
return [ Adexos\SyliusPostgreCompatibilityPlugin\AdexosSyliusPostgreCompatibilityPlugin::class => ['all' => true], ];
- 如有需要,取消注册迁移命名空间
在 config/packages/adexos_sylius_postgre_compatibility_plugin.yaml
adexos_sylius_postgre_compatibility_plugin: excluded_migration_namespaces: - Vendor\Namespace\Migrations
然后您可以使用以下命令重新生成并应用 PostgreSQL 的迁移
bin/console doctrine:migration:diff bin/console doctrine:migration:migrate