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

Already on GitHub? Sign in to your account

Allow non-integer primary keys. #26

2 commits merged into from Oct 26, 2010


None yet
2 participants

Hi! Thanks for making a great plugin!

While using it on one of my projects, I struggled with making Ancestry work with non-integer primary keys (e.g. UUIDs). It is pretty much impossible to change this behaviour without copying large chunks of code, so here's a set of patches (one code + test, one documentation) that will allow a user to specify a primary key format as a regular expression. Tests continue to run, and it seems to work fine on my project so far.

Thanks for considering including this feature! Please let me know if you have any feedback.

Kind regards,

Rolf Timmermans


stefankroes commented Oct 26, 2010

Great! I merged your changed into the repository.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment