koempf/akeneo-trash-bundle

Put products, models and categories into own trash tables before deleting them in the original tables.

1.0.0 2021-12-08 06:29 UTC

This package is auto-updated.

Last update: 2024-04-08 12:17:54 UTC


README

  1. Composer install
composer require koempf/akeneo-trash-bundle
  1. Add bundle to config/bundles.php
<?php

return [
    \Koempf\TrashBundle\KoempfTrashBundle::class => ['dev' => true, 'test' => true, 'prod' => true],
];
  1. Database migration
php bin/console doctrine:migration:diff --env=prod
php bin/console doctrine:migrations:migrate --env=prod