8000 Too many errors while creating tables. · Issue #34 · commudle/commudle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Too many errors while creating tables. #34

Open
harsha-iiiv opened this issue Feb 19, 2019 · 5 comments
Open

Too many errors while creating tables. #34

harsha-iiiv opened this issue Feb 19, 2019 · 5 comments

Comments

@harsha-iiiv
Copy link

No description provided.

@arpansac
Copy link
Collaborator

Can you please provide more description @harsha-iiiv

@imrrahul
Copy link

@harsha-iiiv can you please provide the screenshot ( if possible) ?

@harsha-iiiv
Copy link
Author

screenshot 39

@imrrahul
< 8D8D /path> Copy link
imrrahul commented Feb 19, 2019

@harsha-iiiv as mentioned in the screenshot user_roles tables has already assigned values and it is a primary key so no duplication is allowed and data already inserted so I solved the error (may be a solution to this problem) by going to database (I used localhost/phppgadmin) and removed the existing values in user_roles and follow other conflicts (if arises) similarly ,and then executed rails db:seed this worked for me and the data again inserted into user_roles without throwing any error.Below I am attaching the screenshot.

screenshot from 2019-02-19 21-44-16

Solved image

screenshot from 2019-02-19 19-37-23

@arpansac
Copy link
Collaborator

@imrrahul then I think we should be looking at updating the doc that rake db:seed runs once only.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants
0