---
title: "Bugfix: Empty the demo database in an order MariaDB accepts"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793719171@main"
source: "Changelog/1.0.0/Bugfix-1793719171-EmptyTheDemoDatabaseInAnOrderMariaDBAccepts.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Empty the demo database in an order MariaDB accepts {#bugfix-1793719171}

## Description {#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 {#impact}

The demo is reset and filled again on every deployment.
