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

Reset hashing in database #114

Open
g105b opened this issue Sep 19, 2018 · 1 comment
Open

Reset hashing in database #114

g105b opened this issue Sep 19, 2018 · 1 comment

Comments

@g105b
Copy link
Member

g105b commented Sep 19, 2018

Following from #111, it is feasible for larger projects to have some manual intervention applied to the database over time. Especially feasible for old projects that are only recently adopting PhpGt/Database.

Rather than hard-coding a migration number to start from, a special flag could be passed that starts from a migration number but also resets the migration hashes before that point, in case they have become out of sync (possibly due to the database being exported/imported from backups on different servers).

@g105b g105b added this to the v2 milestone Sep 19, 2018
@g105b
Copy link
Member Author

g105b commented Oct 1, 2018

It would also be useful to allow hash fields to be set to null, so the developer can ignore the integrity of certain migrations.

@g105b g105b removed this from the v2 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant