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
I seem to be getting a problem when inserting into the users table. I am not sure why. I know the solution would be to remove adding the id when adding users, but I don't know how and have been trying to find the right file for 30 minutes. The error is below
ActiveRecord::RecordNotUnique in RailsAdmin::MainController#new
Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `users`
Any possible solution to this? I am willing to fix if someone just points me to the right file(s). Thanks!
The text was updated successfully, but these errors were encountered:
Hello All,
I seem to be getting a problem when inserting into the users table. I am not sure why. I know the solution would be to remove adding the id when adding users, but I don't know how and have been trying to find the right file for 30 minutes. The error is below
Any possible solution to this? I am willing to fix if someone just points me to the right file(s). Thanks!
The text was updated successfully, but these errors were encountered: