internal/database: CASCADE search_documents DELETEs
CASACDE deletes on search_documents to symbol_search_documents.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -170,7 +170,7 @@ func ResetDB(ctx context.Context, db *DB) error {
if err := db.Transact(ctx, sql.LevelDefault, func(tx *DB) error {
if _, err := tx.Exec(ctx, `
TRUNCATE modules CASCADE;
- TRUNCATE search_documents;
+ TRUNCATE search_documents CASCADE;
TRUNCATE version_map;
TRUNCATE paths CASCADE;
TRUNCATE symbol_names CASCADE;
