forked from mage-os/mirror-commerce-data-export
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/mage-os/mirror-commerce-dat…
- Loading branch information
Showing
86 changed files
with
2,276 additions
and
881 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
53 changes: 53 additions & 0 deletions
53
CatalogDataExporter/Setup/Patch/Schema/DropLegacyTables.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,53 @@ | ||
<?php | ||
|
||
/************************************************************************* | ||
* | ||
* Copyright 2023 Adobe | ||
* All Rights Reserved. | ||
* | ||
* NOTICE: All information contained herein is, and remains | ||
* the property of Adobe and its suppliers, if any. The intellectual | ||
* and technical concepts contained herein are proprietary to Adobe | ||
* and its suppliers and are protected by all applicable intellectual | ||
* property laws, including trade secret and copyright laws. | ||
* Dissemination of this information or reproduction of this material | ||
* is strictly forbidden unless prior written permission is obtained | ||
* from Adobe. | ||
* *********************************************************************** | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Magento\CatalogDataExporter\Setup\Patch\Schema; | ||
|
||
use Magento\DataExporter\Setup\DropLegacyTablesAbstract; | ||
use Magento\Framework\Setup\Patch\SchemaPatchInterface; | ||
|
||
class DropLegacyTables extends DropLegacyTablesAbstract implements SchemaPatchInterface | ||
{ | ||
/** | ||
* @inheritdoc | ||
*/ | ||
public function apply(): self | ||
{ | ||
$tableList = [ | ||
'catalog_data_exporter_categories', | ||
'catalog_data_exporter_product_attributes', | ||
'catalog_data_exporter_products' | ||
]; | ||
|
||
return $this->dropTables($tableList); | ||
} | ||
|
||
public static function getDependencies(): array | ||
{ | ||
return [RenameOldChangeLogTables::class, UpdateHashConfigDataExporterIndex::class]; | ||
} | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
public function getAliases(): array | ||
{ | ||
return []; | ||
} | ||
} |
Oops, something went wrong.