HF RL Explorer

Task: Drop All Tables and Indexes in SQLite

Task: Drop All Tables and Indexes in SQLite: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that connects to an existing SQLite database and drops all tables and all indexes present in it. The script should work generically for any SQLite database regardless of how many tables…

The task

Write a shell script that connects to an existing SQLite database and drops all tables and all indexes present in it. The script should work generically for any SQLite database regardless of how many tables or indexes it contains.

Part of PrimeIntellect/Terminal-Lego-15k.