How to add dummy (test) users to seed the database? #1056
Unanswered
JakubKoralewski
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to add some dummy users to test my app with. I tried to do this myself by adding a seeding script, which just adds a user to the
users
table, but this leads to all kind of weird problems, where once you login you are logged in as a different user, or alternatively you just can't log in. In the database it looks like the ID field onusers
is not incremented, but I'm not really sure if this is the source or cause of the problem...How could I modify this script to add test users that I could use for local development testing?
Beta Was this translation helpful? Give feedback.
All reactions