You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This can be accomplished if PR #12 is merged and we allow PDODriver::generateKey() and KeyGeneratorInterface::generateKey() to accept a second (optional) parameter containing the table name.
Use table name to lookup fixture file, then value to lookup numeric index. If value is int, simply return it.
Random IDs might be okay for testing, but seeding generally requires that table IDs increment in the order they were inserted.
This can be accomplished by assigning a count to each item in a table fixture and referencing the count when inserting.
So when we insert a foreign key:
Obviously requires preprocessing all fixtures.
Here's an alternative (allow integer values to be assigned as foreign keys):
The text was updated successfully, but these errors were encountered: