-
Notifications
You must be signed in to change notification settings - Fork 61
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
"there is no unique or exclusion constraint matching the ON CONFLICT specification" #92
Comments
Thanks @NathanFlurry - not sure. @rijkvanzanten any ideas? |
That to me sounds like something somewhere is trying to trigger a on-conflict handler on a column that doesn't have a unique index in the database. Hard to tell without a more in-depth reproducible example. From what I can tell, there's no |
Hey @NathanFlurry - the uniqueness constraint it should be looking for on Did you run |
@tedspare @rijkvanzanten Apologies for the slow response, I had to refresh my memory and start from scratch.
I just tried this again off of 7b7e9e6 with a fresh Railway app & database. Here are the steps to reproduce the error:
RUN npm i -g prisma
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /synclinear/public ./public
+ COPY --from=builder --chown=nextjs:nodejs /synclinear/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /synclinear/.next/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /synclinear/prisma ./prisma
USER nextjs
EXPOSE 3000
ENV PORT 3000
- CMD ["node", "server.js"]
+ CMD ["sh", "-c", "prisma migrate deploy && node server.js"]
|
/label |
I deployed 06f4b61 to Railway. After linking both my Linear and my GitHub, I get the following error:
Running
SELECT version();
on Postgres returns:I'm using OAuth for SyncLinear.
Any idea what might be going on?
The text was updated successfully, but these errors were encountered: