internal/postgres: cascade when truncating paths table
When truncating the paths table in tests, deletions are now cascaded.
This is needed for migration 000062 to pass.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -109,7 +109,7 @@ func ResetTestDB(db *DB, t *testing.T) {
TRUNCATE modules CASCADE;
TRUNCATE search_documents;
TRUNCATE version_map;
- TRUNCATE paths;
+ TRUNCATE paths CASCADE;
TRUNCATE imports_unique;`); err != nil {
return err
}
