Fixes
This commit is contained in:
parent
f87294511e
commit
11f0b9b815
@ -447,17 +447,17 @@ CREATE TABLE `article` (
|
||||
`lager_file_file` varchar(255) NOT NULL,
|
||||
`lager_file_preview` varchar(255) NOT 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_center` int(1) NOT NULL,
|
||||
`upload_center` int(1) NULL DEFAULT 0,
|
||||
`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_email` int(1) NOT NULL,
|
||||
`upload_email` int(1) NULL DEFAULT 0,
|
||||
`upload_email_status` int(4) DEFAULT NULL,
|
||||
`vorlage_file` varchar(255) 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,
|
||||
`not_edit` int(1) NOT NULL,
|
||||
`custom_1_title` varchar(255) DEFAULT NULL,
|
||||
|
||||
@ -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");
|
||||
}
|
||||
}
|
||||
@ -113,7 +113,6 @@ trait RefreshDatabaseTrait
|
||||
$shop->setCancelationNumberPattern('SST-{{ "now"|date("Ym") }}-{{number}}');
|
||||
$shop->setParcelCancelationNumberPattern('STS-{{ "now"|date("Ym") }}-{{number}}');
|
||||
$shop->setParcelInvoiceNumberPattern('STR-{{ "now"|date("Ym") }}-{{number}}');
|
||||
$shop->setCalcTemplate("");
|
||||
$shop->setSenderZip(12345);
|
||||
$shop->setSenderCity("ShopMusterOrt");
|
||||
$shop->setSenderCompany("ShopMusterCompany");
|
||||
|
||||
@ -343,17 +343,17 @@ CREATE TABLE `article` (
|
||||
`lager_file_file` varchar(255) NOT NULL,
|
||||
`lager_file_preview` varchar(255) NOT 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_center` int(1) NOT NULL,
|
||||
`upload_center` int(1) NULL DEFAULT 0,
|
||||
`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_email` int(1) NOT NULL,
|
||||
`upload_email` int(1) NULL DEFAULT 0,
|
||||
`upload_email_status` int(4) DEFAULT NULL,
|
||||
`vorlage_file` varchar(255) 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,
|
||||
`not_edit` int(1) NOT NULL,
|
||||
`custom_1_title` varchar(255) DEFAULT NULL,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user