Split import export management in two
modifié: core/lib/Thelia/Config/Resources/config.xml modifié: core/lib/Thelia/Config/Resources/loop.xml modifié: core/lib/Thelia/Config/Resources/routing/admin.xml nouveau fichier: core/lib/Thelia/Controller/Admin/ImportExportController.php nouveau fichier: core/lib/Thelia/Core/Template/Loop/Export.php nouveau fichier: core/lib/Thelia/Core/Template/Loop/ExportCategory.php nouveau fichier: core/lib/Thelia/Core/Template/Loop/Import.php nouveau fichier: core/lib/Thelia/Core/Template/Loop/ImportCategory.php modifié: core/lib/Thelia/Core/Template/Loop/ImportExportCategory.php modifié: core/lib/Thelia/Core/Template/Loop/ImportExportType.php nouveau fichier: core/lib/Thelia/Model/Base/Export.php nouveau fichier: core/lib/Thelia/Model/Base/ExportCategory.php nouveau fichier: core/lib/Thelia/Model/Base/ExportCategoryI18n.php nouveau fichier: core/lib/Thelia/Model/Base/ExportCategoryI18nQuery.php nouveau fichier: core/lib/Thelia/Model/Base/ExportCategoryQuery.php nouveau fichier: core/lib/Thelia/Model/Base/ExportI18n.php nouveau fichier: core/lib/Thelia/Model/Base/ExportI18nQuery.php nouveau fichier: core/lib/Thelia/Model/Base/ExportQuery.php renommé: core/lib/Thelia/Model/Base/ImportExportType.php -> core/lib/Thelia/Model/Base/Import.php renommé: core/lib/Thelia/Model/Base/ImportExportCategory.php -> core/lib/Thelia/Model/Base/ImportCategory.php renommé: core/lib/Thelia/Model/Base/ImportExportCategoryI18n.php -> core/lib/Thelia/Model/Base/ImportCategoryI18n.php renommé: core/lib/Thelia/Model/Base/ImportExportCategoryI18nQuery.php -> core/lib/Thelia/Model/Base/ImportCategoryI18nQuery.php renommé: core/lib/Thelia/Model/Base/ImportExportCategoryQuery.php -> core/lib/Thelia/Model/Base/ImportCategoryQuery.php renommé: core/lib/Thelia/Model/Base/ImportExportTypeI18n.php -> core/lib/Thelia/Model/Base/ImportI18n.php renommé: core/lib/Thelia/Model/Base/ImportExportTypeI18nQuery.php -> core/lib/Thelia/Model/Base/ImportI18nQuery.php renommé: core/lib/Thelia/Model/Base/ImportExportTypeQuery.php -> core/lib/Thelia/Model/Base/ImportQuery.php nouveau fichier: core/lib/Thelia/Model/Export.php nouveau fichier: core/lib/Thelia/Model/ExportCategory.php nouveau fichier: core/lib/Thelia/Model/ExportCategoryI18n.php renommé: core/lib/Thelia/Model/ImportExportCategoryQuery.php -> core/lib/Thelia/Model/ExportCategoryI18nQuery.php renommé: core/lib/Thelia/Model/ImportExportTypeQuery.php -> core/lib/Thelia/Model/ExportCategoryQuery.php nouveau fichier: core/lib/Thelia/Model/ExportI18n.php renommé: core/lib/Thelia/Model/ImportExportTypeI18nQuery.php -> core/lib/Thelia/Model/ExportI18nQuery.php renommé: core/lib/Thelia/Model/ImportExportCategoryI18nQuery.php -> core/lib/Thelia/Model/ExportQuery.php nouveau fichier: core/lib/Thelia/Model/Import.php nouveau fichier: core/lib/Thelia/Model/ImportCategory.php nouveau fichier: core/lib/Thelia/Model/ImportCategoryI18n.php nouveau fichier: core/lib/Thelia/Model/ImportCategoryI18nQuery.php nouveau fichier: core/lib/Thelia/Model/ImportCategoryQuery.php supprimé: core/lib/Thelia/Model/ImportExportCategory.php supprimé: core/lib/Thelia/Model/ImportExportCategoryI18n.php supprimé: core/lib/Thelia/Model/ImportExportType.php supprimé: core/lib/Thelia/Model/ImportExportTypeI18n.php nouveau fichier: core/lib/Thelia/Model/ImportI18n.php nouveau fichier: core/lib/Thelia/Model/ImportI18nQuery.php nouveau fichier: core/lib/Thelia/Model/ImportQuery.php nouveau fichier: core/lib/Thelia/Model/Map/ExportCategoryI18nTableMap.php nouveau fichier: core/lib/Thelia/Model/Map/ExportCategoryTableMap.php nouveau fichier: core/lib/Thelia/Model/Map/ExportI18nTableMap.php nouveau fichier: core/lib/Thelia/Model/Map/ExportTableMap.php renommé: core/lib/Thelia/Model/Map/ImportExportCategoryI18nTableMap.php -> core/lib/Thelia/Model/Map/ImportCategoryI18nTableMap.php renommé: core/lib/Thelia/Model/Map/ImportExportCategoryTableMap.php -> core/lib/Thelia/Model/Map/ImportCategoryTableMap.php renommé: core/lib/Thelia/Model/Map/ImportExportTypeI18nTableMap.php -> core/lib/Thelia/Model/Map/ImportI18nTableMap.php renommé: core/lib/Thelia/Model/Map/ImportExportTypeTableMap.php -> core/lib/Thelia/Model/Map/ImportTableMap.php modifié: local/config/schema.xml modifié: setup/thelia.sql modifié: templates/backOffice/default/export.html
This commit is contained in:
@@ -1512,7 +1512,7 @@
|
||||
|
||||
<behavior name="timestampable" />
|
||||
</table>
|
||||
<table name="import_export_category" namespace="Thelia\Model">
|
||||
<table name="import_category" namespace="Thelia\Model">
|
||||
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
|
||||
<column name="title" type="VARCHAR" size="255" required="true" />
|
||||
<column name="position" type="INTEGER" required="true" />
|
||||
@@ -1521,18 +1521,43 @@
|
||||
</behavior>
|
||||
<behavior name="timestampable" />
|
||||
</table>
|
||||
<table name="import_export_type" namespace="Thelia\Model">
|
||||
<table name="export_category" namespace="Thelia\Model">
|
||||
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
|
||||
<column name="title" type="VARCHAR" size="255" required="true" />
|
||||
<column name="position" type="INTEGER" required="true" />
|
||||
<behavior name="i18n">
|
||||
<parameter name="i18n_columns" value="title" />
|
||||
</behavior>
|
||||
<behavior name="timestampable" />
|
||||
</table>
|
||||
<table name="import" namespace="Thelia\Model">
|
||||
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
|
||||
<column name="title" type="VARCHAR" size="255" required="true" />
|
||||
<column name="description" type="CLOB" />
|
||||
<column name="url_action" type="VARCHAR" size="255" required="true" />
|
||||
<column name="import_export_category_id" type="INTEGER" required="true" />
|
||||
<column name="import_category_id" type="INTEGER" required="true" />
|
||||
<column name="position" type="INTEGER" required="true" />
|
||||
<foreign-key foreignTable="import_export_category" name="fk_import_export_type_import_export_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
|
||||
<reference foreign="id" local="import_export_category_id" />
|
||||
<foreign-key foreignTable="import_category" name="fk_import_import_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
|
||||
<reference foreign="id" local="import_category_id" />
|
||||
</foreign-key>
|
||||
<index name="idx_import_export_type_import_export_category_id">
|
||||
<index-column name="import_export_category_id" />
|
||||
<index name="idx_import_import_category_id">
|
||||
<index-column name="import_category_id" />
|
||||
</index>
|
||||
<behavior name="i18n">
|
||||
<parameter name="i18n_columns" value="title, description" />
|
||||
</behavior>
|
||||
<behavior name="timestampable" />
|
||||
</table>
|
||||
<table name="export" namespace="Thelia\Model">
|
||||
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
|
||||
<column name="title" type="VARCHAR" size="255" required="true" />
|
||||
<column name="description" type="CLOB" />
|
||||
<column name="export_category_id" type="INTEGER" required="true" />
|
||||
<column name="position" type="INTEGER" required="true" />
|
||||
<foreign-key foreignTable="export_category" name="fk_export_export_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
|
||||
<reference foreign="id" local="export_category_id" />
|
||||
</foreign-key>
|
||||
<index name="idx_export_export_category_id">
|
||||
<index-column name="export_category_id" />
|
||||
</index>
|
||||
<behavior name="i18n">
|
||||
<parameter name="i18n_columns" value="title, description" />
|
||||
|
||||
Reference in New Issue
Block a user