-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate
alembic check
into basic server tests
Starting with Alembic v1.9.0 the command, `alembic check` is available which will succeed if no migrations are required, and fail if it detects that a migration is necessary. We also remove the unused `alembic/alembic.ini`, drop the need for a separate `tox` environment, remove the need for a `pbench-server.cfg` file entirely by reverting to the original env.py as generated by `alembic init alembic`. We also collapse the existing migrations to one since we just need one to move from an empty database to our current schema.
- Loading branch information
Showing
10 changed files
with
64 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
lib/pbench/server/database/alembic/versions/62eddcec4817_add_dataset_access.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.