Set current_version attribute to postgresql datastore
This also simplifies the db collaborator code reusing core.db functions to check the code version and the actual db version matches. Related to T4305
Showing
- requirements-swh.txt 1 addition, 1 deletionrequirements-swh.txt
- swh/storage/postgresql/db.py 0 additions, 27 deletionsswh/storage/postgresql/db.py
- swh/storage/postgresql/storage.py 16 additions, 11 deletionsswh/storage/postgresql/storage.py
- swh/storage/pytest_plugin.py 2 additions, 2 deletionsswh/storage/pytest_plugin.py
- swh/storage/tests/test_postgresql.py 2 additions, 12 deletionsswh/storage/tests/test_postgresql.py
Loading
Please register or sign in to comment