Search
ctrl/
Ask AI
Light
Dark
System

edgedb database wipe

Destroy the contents of a database

edgedb database wipe [options]

EdgeDB 5.0 introduced branches to replace databases. This command works on instances running versions prior to EdgeDB 5.0. If you are running a newer version of EdgeDB, you will instead use edgedb branch wipe.

edgedb database wipe is a terminal command equivalent to reset schema to initial.

The database wiped will be one of these values: the value passed for the --database/-d option, the value of EDGEDB_DATABASE, or edgedb. The contents of the database will be destroyed and the schema reset to its state before any migrations, but the database itself will be preserved.

The database wipe command runs in the EdgeDB instance it is connected to. For specifying the connection target see connection options.

--non-interactive

Destroy the data without asking for confirmation.