interface: Add type parameter to origin_visit_find_by_date
It enables to filter on a specific visit type when searching a visit by date. Related to swh-web#4786.
Showing
- swh/storage/cassandra/storage.py 6 additions, 2 deletionsswh/storage/cassandra/storage.py
- swh/storage/interface.py 2 additions, 1 deletionswh/storage/interface.py
- swh/storage/postgresql/db.py 3 additions, 2 deletionsswh/storage/postgresql/db.py
- swh/storage/postgresql/storage.py 9 additions, 3 deletionsswh/storage/postgresql/storage.py
- swh/storage/sql/40-funcs.sql 4 additions, 1 deletionswh/storage/sql/40-funcs.sql
- swh/storage/sql/upgrades/191.sql 47 additions, 0 deletionsswh/storage/sql/upgrades/191.sql
- swh/storage/tests/storage_tests.py 49 additions, 12 deletionsswh/storage/tests/storage_tests.py
Loading
Please register or sign in to comment