pgroll/pkg
Andrew Farries cb5f191acf
Restructure tests (#17)
* Add tests for the `roll` package to ensure that the new versioned
schema is created on `start` and removed on `rollback`. We already had a
test there to ensure the previous versioned schema is dropped on
`complete`.
* Remove parts of tests for the create table operation that concerned
themselves with checking for the existence/non-existence of the
versioned schema. That is now tested in the `roll` package and we want
the tests for each operation to be focussed on the operation itself, not
schema creation.
* Add one more test for the create table operation to ensure that the
view for the new table is usable after `complete` (we already had a test
to ensure that it's usable on `start`).
2023-07-06 08:56:01 +01:00
..
migrations Restructure tests (#17) 2023-07-06 08:56:01 +01:00
roll Restructure tests (#17) 2023-07-06 08:56:01 +01:00
schema Make migrations schema aware (#12) 2023-07-05 13:20:59 +02:00
state Remove old schema version on pg-roll complete (#13) 2023-07-05 13:58:55 +01:00