You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a series of revisions A-B-C-D. This can of course nicely capture the database structure, but between each step, there are tests perform. They typically consist of rolling the database forward to a testing state first and discarding temporary test stuff.
This does not look great.
a separate testing infrastructure should understand the revision scheme
a separate infrastructure has to implement its own test-revision scheme
The ideal with be a double-stranded scheme
A ------- B ------C ------- D
| | | |
Ta------- Tb---- |Tc ------Td
After a revision, e.g C, has been applied the testing state should be rolled forward to Tc.
Conversely, the test downgrade should also work.
The revision scheme can be 'misused' for this as follows:
A Ta-- B Tb ---- C Tc ----DTc
But then you can not easily extract the original, production-related revision line.
A hack is to create two migration directories with shared revisionids.
The text was updated successfully, but these errors were encountered:
2 migrations directory wont be suggested. If you have 2 DB , one prod and one test, you can switch between by changing config (mroll.ini) in working directory. I know not ideal it is a bit manual
Consider a series of revisions A-B-C-D. This can of course nicely capture the database structure, but between each step, there are tests perform. They typically consist of rolling the database forward to a testing state first and discarding temporary test stuff.
This does not look great.
The ideal with be a double-stranded scheme
A ------- B ------C ------- D
| | | |
Ta------- Tb---- |Tc ------Td
After a revision, e.g C, has been applied the testing state should be rolled forward to Tc.
Conversely, the test downgrade should also work.
The revision scheme can be 'misused' for this as follows:
A Ta-- B Tb ---- C Tc ----DTc
But then you can not easily extract the original, production-related revision line.
A hack is to create two migration directories with shared revisionids.
The text was updated successfully, but these errors were encountered: