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

Add 'Applied' field to migration table to record timestamp when migration is run #222

Open
dmnyu opened this issue Aug 21, 2024 · 0 comments

Comments

@dmnyu
Copy link

dmnyu commented Aug 21, 2024

I don't know if this would be wanted, as it seems to be common practice to put some kind of ad hoc timestamp in the ID field of a migration. I added an 'applied' field to the migrations interface here ,https://github.com/dmnyu/gormigrate/tree/applied-field, that records a RFC3339 timestamp of when the migration is applied to a database. Happy to open PR if this is wanted.

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