Closed scottie-33 closed 2 years ago
7.4.23
6.4.4.0
Script "./psh.phar init-test-databases" should init test database.
Script stops in step 3/6 mysqldump 'shopware' -u 'app' -p'app' -h 'mysql' --port='3306' | mysql 'shopware_test' -u 'app' -p'app' -h 'mysql' --port='3306'
Error: ERROR 3105 (HY000) at line 3622: The value specified for generated column 'order_date' in table 'order' is not allowed. mysqldump: Got errno 32 on write Execution aborted, a subcommand failed!
Run command "./psh.phar init-test-databases"
To solve this the database container needs to be an MariaDB container
PHP Version
7.4.23
Shopware Version
6.4.4.0
Expected behaviour
Script "./psh.phar init-test-databases" should init test database.
Actual behaviour
Script stops in step 3/6 mysqldump 'shopware' -u 'app' -p'app' -h 'mysql' --port='3306' | mysql 'shopware_test' -u 'app' -p'app' -h 'mysql' --port='3306'
Error: ERROR 3105 (HY000) at line 3622: The value specified for generated column 'order_date' in table 'order' is not allowed. mysqldump: Got errno 32 on write Execution aborted, a subcommand failed!
How to reproduce
Run command "./psh.phar init-test-databases"