powered by
Removes all taskqueue-related tables, types, and data from the PostgreSQL database. This is a destructive operation that cannot be undone.
db_clean()
Invisibly returns NULL. Called for side effects (dropping database objects).
This function drops:
All project task tables
The project_resource table
project_resource
The project table
project
The resource table
resource
All custom types (e.g., task_status)
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.
db_init
if (FALSE) { # Not run: # Clean entire database (destructive!) db_clean() # Reinitialize after cleaning db_init() }
Run the code above in your browser using DataLab