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

Migration Table add "sql" VARCHAR col (traceability) #22

Open
nmccready opened this issue Jul 23, 2020 · 1 comment
Open

Migration Table add "sql" VARCHAR col (traceability) #22

nmccready opened this issue Jul 23, 2020 · 1 comment

Comments

@nmccready
Copy link

So currently the migrations table has id, name, and run_on as columns. I am proposing to either add a sql column to actually save off what has run for traceability.

Granted this is pumped to stdout and could just be utilized in your CI architecture.

Even if this is not accepted would it be possible to make createMigrationsTable's options more flexible so that custom columns could be added more easily.

Seems hardcoded here

@nmccready
Copy link
Author

Another argument for this is for use cases when a manual migration must be run. Thus, again losing traceability of what has exactly run.

For example, what if the name was identical for the run but it was not run off the master branch but a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant