Compare commits

..

No commits in common. "1.2.1" and "1.1.0" have entirely different histories.
1.2.1 ... 1.1.0

3 changed files with 7 additions and 13 deletions

View File

@ -4,13 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased](https://git.d3data.de/D3Private/SecondLongDesc/compare/1.2.1...rel_1.x) ## [Unreleased](https://git.d3data.de/D3Private/SecondLongDesc/compare/1.1.0...rel_1.x)
## [1.2.1](https://git.d3data.de/D3Private/SecondLongDesc/compare/1.1.0...1.2.1) - 2023-04-03
### Fixed
- migration-file
- wrong class call in migration-file
- file extension use-call
## [1.1.0](https://git.d3data.de/D3Private/SecondLongDesc/compare/1.0.0...1.1.0) - 2023-04-03 ## [1.1.0](https://git.d3data.de/D3Private/SecondLongDesc/compare/1.0.0...1.1.0) - 2023-04-03
### Added ### Added

View File

@ -31,7 +31,7 @@ $aModule = array(
. 'Diese Erweiterung bietet einen zweiten Kategorielangtext.<br>' // . 'Diese Erweiterung bietet einen zweiten Kategorielangtext.<br>' //
. 'Angezeigt wird der zweite Langtext unter der Artikelauflistung in der Listenansicht.', . 'Angezeigt wird der zweite Langtext unter der Artikelauflistung in der Listenansicht.',
'thumbnail' => 'picture.png', 'thumbnail' => 'picture.png',
'version' => '1.2.1', 'version' => '1.0.0',
'author' => $logo.' Data Development (Inh.: Thomas Dartsch)', 'author' => $logo.' Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com', 'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/', 'url' => 'https://www.oxidmodule.com/',

View File

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace D3\CategoryLongtext\Migrations; namespace D3\CategoryLongtext\Migrations;
use Doctrine\DBAL\DBALException; use Doctrine\DBAL\DBALException;
use Doctrine\Migrations\AbstractMigration; use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema; use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\SchemaException; use Doctrine\DBAL\Schema\SchemaException;
use Doctrine\DBAL\Types\TextType; use Doctrine\DBAL\Types\TextType;
@ -36,19 +36,19 @@ final class Version20230403083243 extends AbstractMigration
$table = $schema->getTable('oxcategories'); $table = $schema->getTable('oxcategories');
$table->hasColumn('D3LONGDESC2') ?: $table->hasColumn('D3LONGDESC2') ?:
$table->addColumn('D3LONGDESC2', (new TextType())->getName()) $table->addColumn('D3LONGDESC2', (new TextType::class)->getName())
->setNotnull(true); ->setNotnull(true);
$table->hasColumn('D3LONGDESC2_1') ?: $table->hasColumn('D3LONGDESC2_1') ?:
$table->addColumn('D3LONGDESC2_1', (new TextType())->getName()) $table->addColumn('D3LONGDESC2_1', (new TextType::class)->getName())
->setNotnull(true); ->setNotnull(true);
$table->hasColumn('D3LONGDESC2_2') ?: $table->hasColumn('D3LONGDESC2_2') ?:
$table->addColumn('D3LONGDESC2_2', (new TextType())->getName()) $table->addColumn('D3LONGDESC2_2', (new TextType::class)->getName())
->setNotnull(true); ->setNotnull(true);
$table->hasColumn('D3LONGDESC2_3') ?: $table->hasColumn('D3LONGDESC2_3') ?:
$table->addColumn('D3LONGDESC2_3', (new TextType())->getName()) $table->addColumn('D3LONGDESC2_3', (new TextType::class)->getName())
->setNotnull(true); ->setNotnull(true);
$this->postProcesses(); $this->postProcesses();