We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when we updated factory muffin from v2.1 to v3.1
For auto-incrementing ids, we used to use the following function:
function () { static $last; if ($last === null) { return $last = 1; } return ++$last; }
But after upgrading the same function always started returning 1, resulting in errors for duplication of primary key in our test database.
1
Any idea what could be the issue and how to resolve it?
Originally posted by @sharan1 in #382 (comment)
The text was updated successfully, but these errors were encountered:
Thanks for the report. I can't quite remember why this would have been broken. I'll have a think. ;)
Sorry, something went wrong.
No branches or pull requests
when we updated factory muffin from v2.1 to v3.1
For auto-incrementing ids, we used to use the following function:
But after upgrading the same function always started returning
1
, resulting in errors for duplication of primary key in our test database.Any idea what could be the issue and how to resolve it?
Originally posted by @sharan1 in #382 (comment)
The text was updated successfully, but these errors were encountered: