🛠️ This documentation is still under construction
Command-line Interface
Vacate (empty)

Vacate (empty) the database

The vacate command completely trunacates the database. This means that all tables will be irreversibly deleted.

⚠️
Be very careful with this method! This action can NOT be undone. Make sure your database is safely backed up before you use this.

Vacate requires you to provide the --confirm flag with. This is a safety feature!

alphadb vacate

Will throw an error:

The vacate function requires the --confirm option.
This is a safety feature that hopefully prevents unintended data loss.

Don't worry, you'll still be prompted for confirmation!

So to actually execute the command, provide the --confirm flag. You will still be prompted if you are sure.

alphadb vacate --confirm