[railway-deployment]: The table `public.User` does not exist in the current database.

Open
#9,136 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js, typescript

Research direction

Start by reproducing the Keystone v6 deployment on Railway with Node 18 and inspect the reported Prisma database error. The payload does not name any repository files or tests; done means the deployed project starts and completes its migration or generation without reporting that public.User is missing.

Written by the indexing model from the issue text.

Description

I successfully created a Keystone v6 project and added a custom field. Despite encountering some errors, I managed to deploy the project on railway app. Nevertheless, I am currently facing a database error from Prisma which needs to be resolved.

The project should just start and perform data migration or generation. It should not give me database errors

The issue:
image

package.json
image

I am using node v18

Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from keystonejs/keystone

All issues in keystonejs/keystone

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.