koempf/akeneo-trash-bundle

在原表删除前,将产品、模型和类别放入各自的垃圾表中。

1.0.0 2021-12-08 06:29 UTC

This package is auto-updated.

Last update: 2024-09-08 13:07:39 UTC


README

  1. Composer安装
composer require koempf/akeneo-trash-bundle
  1. 将捆绑包添加到config/bundles.php
<?php

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