-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
111 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/Migration/Migration1605701047PaymentMethodConfigurationEntity.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace PostFinanceCheckoutPayment\Migration; | ||
|
||
use Doctrine\DBAL\Connection; | ||
use Shopware\Core\Framework\Migration\MigrationStep; | ||
|
||
/** | ||
* Class Migration1605701047PaymentMethodConfigurationEntity | ||
* | ||
* @package PostFinanceCheckoutPayment\Migration | ||
*/ | ||
class Migration1605701047PaymentMethodConfigurationEntity extends MigrationStep { | ||
/** | ||
* get creation timestamp | ||
* | ||
* @return int | ||
*/ | ||
public function getCreationTimestamp(): int | ||
{ | ||
return 1605701047; | ||
} | ||
|
||
/** | ||
* update non-destructive changes | ||
* | ||
* @param \Doctrine\DBAL\Connection $connection | ||
* @throws \Doctrine\DBAL\DBALException | ||
*/ | ||
public function update(Connection $connection): void | ||
{ | ||
$connection->executeUpdate('ALTER TABLE `postfinancecheckout_payment_method_configuration` CHANGE `payment_method_configuration_id` `payment_method_configuration_id` bigint unsigned NOT NULL AFTER `data`;'); | ||
} | ||
|
||
/** | ||
* update destructive changes | ||
* | ||
* @param \Doctrine\DBAL\Connection $connection | ||
*/ | ||
public function updateDestructive(Connection $connection): void | ||
{ | ||
// implement update destructive | ||
} | ||
} |
24 changes: 0 additions & 24 deletions
24
src/Resources/snippet/storefront/de-DE/postfinancecheckout.de-DE.json
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
src/Resources/snippet/storefront/en-GB/postfinancecheckout.en-GB.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters