-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] SequelizeDatabaseError: there is no unique #3
Comments
There dont seem to be instructions on how to create the Table, but here is what I did, I imagine theres a reason ON CONFLICT is used, but I just changed it to:
Here is the create table command I used for Cockroach: Since we are running a SELECT on the user ID, and ordering by created time, I don't see why ON CONFLICT is necessary. |
Yeah, I was wondering the same thing: How do you actually create the Table, in the first place? To make Pinecone index the pages, you had to rund this URL GET https://localhost:3000/api/crawl?urls=url1,url2&limit=10&indexName=yourIndexName |
I figured I needed to name the database
|
if you created the conversations table and still show the error [Error adding entry: SequelizeDatabaseError: there is no unique or exclusion constraint matching the ON CONFLICT specification] you can run sql below |
I am also facing the same error. How to resolve it any idea @axelferdinand @luqiang4xenera . How I can create that table |
It turned out I simply had to set up and use the right API keys from all the needed services (6 in total, I think) – then it worked as expected, with no code changes :) |
@axelferdinand Can you share the right way to provide ABLY_API_KEY? |
@axelferdinand I also provided the same as you share but still facing error |
Try the other API key, the bottom one |
tried from both none work for me |
Is I have to create locally ? I am expecting when i ran command it will automatically created |
The schema is not set up and the imports of If you look through the git issues they will help you fill in the missing gaps @siddhijain47 |
Is this a new bug?
Current Behavior
I have launched the application with everything needed. I have created conversation in cockroachdb and when I launch the application I get the following error:
Error adding entry: SequelizeDatabaseError: there is no unique or exclusion constraint matching the ON CONFLICT specification
Expected Behavior
Have the chatbot answer my questions
Steps To Reproduce
1.Create .env file
2. Launch the application with npm run dev
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: