Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History State Tracking #4

Open
JohnMurray opened this issue Jun 4, 2014 · 0 comments
Open

History State Tracking #4

JohnMurray opened this issue Jun 4, 2014 · 0 comments
Labels

Comments

@JohnMurray
Copy link
Contributor

The tool provides linearity in the alter chain and history tracking in the DB but there is one thing the tool does not currently track and that is changes to existing files. If the tool is to enforce linearity as a way of ensuring proper execution on any environment (existing or new) then we must also know when files change once they have already been run.

This is a bit of an open question but the general ideas are:

  • we know when alters are run
  • we know in what order alters are run

We could also take a hash of the file-contents and insert that into the history table. We could then check that nothing has changed when running alters against various environment (warnings? errors?). If we integrate this into the check command then we add it to the up, down, and rebuild commands for free.

@JohnMurray JohnMurray added this to the v0.3.0 milestone Jun 4, 2014
@JohnMurray JohnMurray removed this from the v0.3.0 milestone May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant