Removes all taskqueue-related tables, types, and data from the PostgreSQL database. This is a destructive operation that cannot be undone.
Details
This function drops:
All project task tables
The
project_resourcetableThe
projecttableThe
resourcetableAll custom types (e.g.,
task_status)
Warning: This permanently deletes all projects, tasks, and configurations. Use with extreme caution, typically only for testing or complete resets.
After cleaning, you must call db_init to recreate the schema
before using taskqueue again.
Examples
if (FALSE) { # \dontrun{
# Not run:
# Clean entire database (destructive!)
db_clean()
# Reinitialize after cleaning
db_init()
} # }