Fixes
Some checks failed
Gitea Actions / Run-Tests-On-Arm64 (push) Failing after 2m28s
Gitea Actions / Run-Tests-On-Amd64 (push) Failing after 5m0s

This commit is contained in:
Thomas 2025-03-03 12:13:42 +01:00
parent f87294511e
commit 11f0b9b815
4 changed files with 38 additions and 13 deletions

View File

@ -447,17 +447,17 @@ CREATE TABLE `article` (
`lager_file_file` varchar(255) NOT NULL, `lager_file_file` varchar(255) NOT NULL,
`lager_file_preview` varchar(255) NOT NULL, `lager_file_preview` varchar(255) NOT NULL,
`preis` float DEFAULT NULL, `preis` float DEFAULT NULL,
`upload_article` int(1) NOT NULL, `upload_article` int(1) NULL DEFAULT 0,
`upload_article_status` int(4) DEFAULT NULL, `upload_article_status` int(4) DEFAULT NULL,
`upload_center` int(1) NOT NULL, `upload_center` int(1) NULL DEFAULT 0,
`upload_center_status` int(4) DEFAULT NULL, `upload_center_status` int(4) DEFAULT NULL,
`upload_post` int(1) NOT NULL, `upload_post` int(1) NULL DEFAULT 0,
`upload_post_status` int(4) DEFAULT NULL, `upload_post_status` int(4) DEFAULT NULL,
`upload_email` int(1) NOT NULL, `upload_email` int(1) NULL DEFAULT 0,
`upload_email_status` int(4) DEFAULT NULL, `upload_email_status` int(4) DEFAULT NULL,
`vorlage_file` varchar(255) DEFAULT NULL, `vorlage_file` varchar(255) DEFAULT NULL,
`vorlage_info` text DEFAULT NULL, `vorlage_info` text DEFAULT NULL,
`upload_weblayouter` int(1) NOT NULL, `upload_weblayouter` int(1) NULL DEFAULT 0,
`upload_weblayouter_status` int(4) NOT NULL, `upload_weblayouter_status` int(4) NOT NULL,
`not_edit` int(1) NOT NULL, `not_edit` int(1) NOT NULL,
`custom_1_title` varchar(255) DEFAULT NULL, `custom_1_title` varchar(255) DEFAULT NULL,

View File

@ -0,0 +1,26 @@
<?php
/**
* PrintshopCreator Suite
*
* PHP Version 5.3
*
* @author Thomas Peterson <info@thomas-peterson.de>
* @copyright 2012-2013 PrintshopCreator GmbH
* @license Private
* @link http://www.printshopcreator.de
*/
namespace PSC\System\UpdateBundle\Migrations;
class Version20250303120812 extends Base
{
public function migrateDatabase()
{
$this->entityManager->getConnection()->exec("ALTER TABLE article MODIFY upload_article int(1) null default 0");
$this->entityManager->getConnection()->exec("ALTER TABLE article MODIFY upload_post int(1) null default 0");
$this->entityManager->getConnection()->exec("ALTER TABLE article MODIFY upload_email int(1) null default 0");
$this->entityManager->getConnection()->exec("ALTER TABLE article MODIFY upload_center int(1) null default 0");
$this->entityManager->getConnection()->exec("ALTER TABLE article MODIFY upload_weblayouter int(1) null default 0");
}
}

View File

@ -113,7 +113,6 @@ trait RefreshDatabaseTrait
$shop->setCancelationNumberPattern('SST-{{ "now"|date("Ym") }}-{{number}}'); $shop->setCancelationNumberPattern('SST-{{ "now"|date("Ym") }}-{{number}}');
$shop->setParcelCancelationNumberPattern('STS-{{ "now"|date("Ym") }}-{{number}}'); $shop->setParcelCancelationNumberPattern('STS-{{ "now"|date("Ym") }}-{{number}}');
$shop->setParcelInvoiceNumberPattern('STR-{{ "now"|date("Ym") }}-{{number}}'); $shop->setParcelInvoiceNumberPattern('STR-{{ "now"|date("Ym") }}-{{number}}');
$shop->setCalcTemplate("");
$shop->setSenderZip(12345); $shop->setSenderZip(12345);
$shop->setSenderCity("ShopMusterOrt"); $shop->setSenderCity("ShopMusterOrt");
$shop->setSenderCompany("ShopMusterCompany"); $shop->setSenderCompany("ShopMusterCompany");

View File

@ -343,17 +343,17 @@ CREATE TABLE `article` (
`lager_file_file` varchar(255) NOT NULL, `lager_file_file` varchar(255) NOT NULL,
`lager_file_preview` varchar(255) NOT NULL, `lager_file_preview` varchar(255) NOT NULL,
`preis` float DEFAULT NULL, `preis` float DEFAULT NULL,
`upload_article` int(1) NOT NULL, `upload_article` int(1) NULL DEFAULT 0,
`upload_article_status` int(4) DEFAULT NULL, `upload_article_status` int(4) DEFAULT NULL,
`upload_center` int(1) NOT NULL, `upload_center` int(1) NULL DEFAULT 0,
`upload_center_status` int(4) DEFAULT NULL, `upload_center_status` int(4) DEFAULT NULL,
`upload_post` int(1) NOT NULL, `upload_post` int(1) NULL DEFAULT 0,
`upload_post_status` int(4) DEFAULT NULL, `upload_post_status` int(4) DEFAULT NULL,
`upload_email` int(1) NOT NULL, `upload_email` int(1) NULL DEFAULT 0,
`upload_email_status` int(4) DEFAULT NULL, `upload_email_status` int(4) DEFAULT NULL,
`vorlage_file` varchar(255) DEFAULT NULL, `vorlage_file` varchar(255) DEFAULT NULL,
`vorlage_info` text DEFAULT NULL, `vorlage_info` text DEFAULT NULL,
`upload_weblayouter` int(1) NOT NULL, `upload_weblayouter` int(1) NULL DEFAULT 0,
`upload_weblayouter_status` int(4) NOT NULL, `upload_weblayouter_status` int(4) NOT NULL,
`not_edit` int(1) NOT NULL, `not_edit` int(1) NOT NULL,
`custom_1_title` varchar(255) DEFAULT NULL, `custom_1_title` varchar(255) DEFAULT NULL,