Wipe a database empty. The nuclear option.
This command is used to uninstall a Listiary wiki, or to prepare a database for a wiki installation.
This command is dangerous.

Command Syntax

database-wipe [PRESENTATION_FLAGS]
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php database-wipe
Wipe a database for wiki installation.

php spark.php database-wipe theme=DEFAULT
Wipe a database for wiki installation with presentation flags

php spark.php database-wipe -hb theme=DEFAULT
Wipe a database for wiki installation with presentation flags

php spark.php database-wipe -auto -hb theme=DEFAULT
Wipe a database for wiki installation with presentation flags

Back