https://github.com/guludo/svip
Database schema versioning in Python
https://github.com/guludo/svip
database-migration database-schema schema-versioning
Last synced: about 1 month ago
JSON representation
Database schema versioning in Python
- Host: GitHub
- URL: https://github.com/guludo/svip
- Owner: guludo
- License: mpl-2.0
- Created: 2024-04-09T07:19:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T12:35:31.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T16:23:42.888Z (almost 2 years ago)
- Topics: database-migration, database-schema, schema-versioning
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
svip
====
`svip` is a database-agnostic Python library for versioning the schema of your
application's state. The name `svip` stands for "schema versioning in Python".
Running Tests
-------------
We use [pytest](https://docs.pytest.org) for tests in this library. We have
tests for the core as well as for built-in ASBs. Some of the latter require
some pytest plugins to work properly, which in turn must be loaded only when
certain conditions are met. As such, it is necessary to set the environment
variable `PYTEST_DISABLE_PLUGIN_AUTOLOAD` before calling `pytest`, for example:
```bash
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest
```