.. include:: /Includes.rst.txt .. _bugfix-1793719171: =========================================================== Bugfix: Empty the demo database in an order MariaDB accepts =========================================================== Description =========== The demo deployment emptied the database with ``doctrine:schema:drop --full-database``, which drops the tables in an order MariaDB refuses once tables refer to each other. The development package has a command ``adsum:dev-site:empty-database --force`` that drops every table, view and sequence, also those only the DBAL knows, with the foreign key checks switched off (MariaDB, SQLite) or with ``CASCADE`` (PostgreSQL). It refuses to run outside the dev environment and without ``--force``. Impact ====== The demo is reset and filled again on every deployment. .. index:: CLI, package:adsum-dev-site