sebastian-mollie / SyliusMolliePlugin-DO-NOT-USE-

OLD Sylius Mollie payment gateway integration. Please use the newest version. I will be closing this repo by the end of the year.
https://github.com/mollie/Sylius/releases/tag/v5.0.0
MIT License
1 stars 4 forks source link

Error during reverting migration #288

Open tulik opened 1 year ago

tulik commented 1 year ago

Sylius version: 1.11.7 Bitbag Mollie Plugin: 4.0.1

Steps to recreate:

  1. Clean installation of Sylius
  2. Add Bitbag Mollie Plugin following Install tutorial
  3. Run migrations bin/console doctrine:migration:migrate
  4. See the error:
    
    [notice] Migrating down to 0
    [warning] Migration Sylius\Bundle\CoreBundle\Migrations\Version20220614124639 was executed but did not result in any SQL statements.
    [warning] Migration Sylius\Bundle\CoreBundle\Migrations\Version20220412144156 was executed but did not result in any SQL statements.
    [warning] Migration Sylius\Bundle\CoreBundle\Migrations\Version20220203115813 was executed but did not result in any SQL statements.
    [error] Migration Sylius\Bundle\CoreBundle\Migrations\Version20201208105207 failed during Execution. Error: "An exception occurred while executing 'UPDATE sylius_adjustment SET shipment_id = null, details = '[]'':

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shipment_id' in 'field list'"

In AbstractMySQLDriver.php line 79:

An exception occurred while executing 'UPDATE sylius_adjustment SET shipment_id = null, details = '[]'':

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shipment_id' in 'field list'

In Exception.php line 18:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shipment_id' in 'field list'

In PDOConnection.php line 141:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shipment_id' in 'field list'



The problem is visible also in [build in my repository](https://github.com/tulik/sylius-ecommerce-with-plugins/actions/runs/3082428177/jobs/4982112031#step:17:17).