I've been trying to create some seeders for my database tables and in some tables, I need unique strings to populate certain columns. Now this works fine with the default set of words available in the Lorem provider for Faker combined with the unique() method but is there a way to re-use strings across different tables? It looks like the same Faker instance gets used between factories so I end up exhausting my list of unique words available.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community