{"id":18948434,"url":"https://github.com/oxid-esales/eshop-doctrine_migration_wrapper","last_synced_at":"2026-03-27T12:30:18.036Z","repository":{"id":57034525,"uuid":"67696433","full_name":"OXID-eSales/eshop-doctrine_migration_wrapper","owner":"OXID-eSales","description":"Deprecated, please use oxideshop-doctrine-migration-wrapper repository instead.","archived":false,"fork":false,"pushed_at":"2019-01-25T16:41:04.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-01-01T01:26:42.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OXID-eSales.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-08T11:18:10.000Z","updated_at":"2019-01-25T16:41:05.000Z","dependencies_parsed_at":"2022-08-24T14:11:05.767Z","dependency_job_id":null,"html_url":"https://github.com/OXID-eSales/eshop-doctrine_migration_wrapper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXID-eSales%2Feshop-doctrine_migration_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXID-eSales%2Feshop-doctrine_migration_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXID-eSales%2Feshop-doctrine_migration_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXID-eSales%2Feshop-doctrine_migration_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OXID-eSales","download_url":"https://codeload.github.com/OXID-eSales/eshop-doctrine_migration_wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239946902,"owners_count":19723017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T13:13:30.725Z","updated_at":"2026-03-27T12:30:18.008Z","avatar_url":"https://github.com/OXID-eSales.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"OXID eShop doctrine migration integration\n=========================================\n\nCurrent component allows to execute **doctrine migration binary** for active\neShop edition and with database configured from the eShop installation itself.\nThe following different logic is applied during the execution of different\nmigration scripts suites within different eShop editions:\n\n* **Community edition migrations** - executed always;\n* **Professional edition migrations** - executed when eShop has Professional\n  edition or Enterprise edition;\n* **Enterprise edition migrations** - executed when eShop has Enterprise\n  edition;\n* **Project specific migrations** - executed always;\n\nKeep in mind that the migration suite is executed only when it is able to find\n**at least one** migration script.\n\nThis component relies on information provided by\n`eshop-edition_facts \u003chttps://github.com/OXID-eSales/eshop-edition_facts\u003e`__\ncomponent in order to determine the current eShop installation edition. This\nfact is taken from ``ESHOP_EDITION`` environment variable.\n\nIn order to bypass the above described logic and execute **only one specific\nmigration script suite** the environment variable ``MIGRATION_SUITE``\nmust not be empty! e.g. to execute only Enterprise edition migration script\nsuite use the following:\n\n``MIGRATION_SUITE=EE ./vendor/bin/oe-eshop-facts oe-eshop-doctrine_migration``\n\nThe main script ``oe-eshop-doctrine_migration`` forwards all provided argument\nvalues to the doctrine migration tool CLI. Here are few basic examples:\n\n* ``./vendor/bin/oe-eshop-facts oe-eshop-doctrine_migration`` - Lists all\n  available commands;\n* ``./vendor/bin/oe-eshop-facts oe-eshop-doctrine_migration migrations:execute``\n  - execute migrations;\n* ``./vendor/bin/oe-eshop-facts oe-eshop-doctrine_migration migrations:generate``\n  - generate new migration; (It's advised to use this together with\n  ``MIGRATION_SUITE`` environment variable to ensure that only one\n  migration suite will be populated with new migration script)\n\nMore information about **doctrine migration component** and it's CLI usage can\nbe found on their\n`documentation page \u003chttp://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/toc.html\u003e`__.\n\nOXID eShop doctrine migration integration related facts\n=======================================================\n\nThis component provides eShop doctrine migration integration facts with the help\nof `eshop-facts \u003chttps://github.com/OXID-eSales/eshop-facts\u003e`__. Information\non how to use ``oe-eshop-doctrine_migration_facts`` script together with\n``oe-eshop-facts`` can be found in the following\n`README \u003chttps://github.com/OXID-eSales/eshop-facts/blob/master/README.rst\u003e`__.\n\nOutput\n------\n\nThe following information is provided after executing the script:\n\n* ``ESHOP_DOCTRINE_MIGRATION_WRAPPER_VENDOR_PATH`` - Full path to current\n  scripts directory;\n* ``ESHOP_DOCTRINE_MIGRATION_BIN_PATH`` - Full path to 3rd party component's\n  doctrine-migrations binary file;\n* ``ESHOP_DOCTRINE_CONFIG_FILENAME`` - Filename used for migration\n  configuration;\n* ``ESHOP_DOCTRINE_DB_CONFIG_FILENAME`` - Filename used for database migration\n  configuration;\n\n|\n\n* ``ESHOP_DOCTRINE_CE_MIGRATION_CONFIG_PATH`` - Full path to eShop CE migration\n  configuration file;\n* ``ESHOP_DOCTRINE_CE_MIGRATION_DATA_PATH`` - Full path to eShop CE migration\n  files directory;\n* ``ESHOP_DOCTRINE_CE_MIGRATION_DB_CONFIG_PATH`` - Full path to eShop CE\n  database migration configuration file;\n* ``ESHOP_DOCTRINE_CE_HAS_MIGRATIONS`` - \"1\" is given in case eShop CE has\n  valid migration files present;\n\n|\n\n* ``ESHOP_DOCTRINE_PE_MIGRATION_CONFIG_PATH`` - Full path to eShop PE migration\n  configuration file;\n* ``ESHOP_DOCTRINE_PE_MIGRATION_DATA_PATH`` - Full path to eShop PE migration\n  files directory;\n* ``ESHOP_DOCTRINE_PE_MIGRATION_DB_CONFIG_PATH`` - Full path to eShop PE\n  database migration configuration file;\n* ``ESHOP_DOCTRINE_PE_HAS_MIGRATIONS`` - \"1\" is given in case eShop PE has valid\n  migration files present;\n\n|\n\n* ``ESHOP_DOCTRINE_EE_MIGRATION_CONFIG_PATH`` - Full path to eShop EE migration\n  configuration file;\n* ``ESHOP_DOCTRINE_EE_MIGRATION_DATA_PATH`` - Full path to eShop EE migration\n  files directory;\n* ``ESHOP_DOCTRINE_EE_MIGRATION_DB_CONFIG_PATH`` - Full path to eShop EE\n  database migration configuration file;\n* ``ESHOP_DOCTRINE_EE_HAS_MIGRATIONS`` - \"1\" is given in case eShop EE has valid\n  migration files present;\n\n|\n\n* ``ESHOP_DOCTRINE_PROJECT_MIGRATION_CONFIG_PATH`` - Full path to eShop project\n  migration configuration file;\n* ``ESHOP_DOCTRINE_PROJECT_MIGRATION_DATA_PATH`` - Full path to eShop project\n  migration files directory;\n* ``ESHOP_DOCTRINE_PROJECT_MIGRATION_DB_CONFIG_PATH`` - Full path to eShop\n  project database migration configuration file;\n* ``ESHOP_DOCTRINE_PROJECT_HAS_MIGRATIONS`` - \"1\" is given in case eShop project\n  has valid migration files present.\n\nKeep in mind that it's possible to override any variable from the list above\nby providing it as an environment variable, e.g. to change the doctrine\nmigration binary path:\n\n``ESHOP_DOCTRINE_MIGRATION_BIN_PATH=/usr/local/bin/doctrine-migration ./vendor/bin/oe-eshop-facts oe-eshop-doctrine_migration_facts``\n\nInput\n-----\n\nThe following environment variables are accepted:\n\n* ``VERBOSE`` - Enables verbose mode which prints out all facts to ``STDOUT``;\n* ``ESHOP_VERBOSE_DOCTRINE_MIGRATION_FACTS`` - Enables verbose mode only for the\n  current script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxid-esales%2Feshop-doctrine_migration_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxid-esales%2Feshop-doctrine_migration_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxid-esales%2Feshop-doctrine_migration_wrapper/lists"}