oxid-esales/oxideshop-doctrine-migration-wrapper

OXID eShop database migrations using Doctrine

Maintainers

Package info

github.com/OXID-eSales/oxideshop-doctrine-migration-wrapper

pkg:composer/oxid-esales/oxideshop-doctrine-migration-wrapper

Transparency log

Statistics

Installs: 1 290 887

Dependents: 12

Suggesters: 0

Stars: 4


README

Actions Status

Deprecated: This package is deprecated and will be removed in a future OXID eShop release. Use the OXID eShop console command to run database migrations instead:

vendor/bin/oe-console oe:database:migrate

Description

OXID eShop Doctrine Migration Wrapper was created to orchestrate multiple Doctrine Migrations, scattered all over the OXID eShop project:

  • migrations in OXID eShop Community Edition
  • migrations in OXID eShop Professional Edition
  • migrations in OXID eShop Enterprise Edition
  • migrations in OXID eShop modules

Installation

Run the following command to install:

composer require oxid-esales/oxideshop-doctrine-migration-wrapper

Development

Running tests

Component tests can be executed with the OXID eShop's PHPUnit runner:

vendor/bin/phpunit vendor/oxid-esales/oxideshop-doctrine-migration-wrapper

You might need to extend the eShop's root Composer autoload-dev configuration and run dump-autoload:

{
    "autoload-dev": {
        "psr-4": {
            "OxidEsales\\DoctrineMigrationWrapper\\Tests\\": "./vendor/oxid-esales/oxideshop-doctrine-migration-wrapper/tests"
        }
    }
}
composer dump-autoload

This activates autoloading for the component's test classes.

Bugs and Issues

If you experience any bugs or issues, report them in the OXID eShop (all versions) section of https://bugs.oxid-esales.com.