25 Replies
Project ID:
N/A
going to need much more information than this
thank you , what do you need me to do ?
where do you get this error
tell me more information, any information
in my vs code via termianl using command "npx prisma migrate dev"
"dependencies": {
"@prisma/client": "^5.7.1",
"@types/node": "20.10.6",
"@types/react": "18.2.46",
"@types/react-dom": "18.2.18",
"next": "14.0.4",
"prisma": "^5.7.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-node": "^10.9.2",
"typescript": "5.3.3"
},
where have you set the database credentials for local use?
Postgres if i understood your question correctly
where have you set the database url variable so that you can use it locally
in .env file
DATABASE_URL = "the url"
is prisma setup to load the variables from that .env file?
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
in the file schema.prisma
seems counfusing dosen`t it ?
but are the variables in your .env file being loaded before running the migrations
idk how can ensure that?
that would be a question for prisma's documentation
and side question, can you connect to the database on railway with something like dbgate?
you think the problem lies in prisma configuration ?
and what is even that
a database client
damn i`m too noob
no worries we all start somewhere
you got me emmotinal bro
for that i got no answer becuz everbody working with prisma so ii just follow it
have you tried connecting to the database with dbgate yet?
no where can ii learn that
i have no experince in back-end what so ever
we all start somewhere but you can start by googling for dbgate π
don't overthink this
ok if you would give me easy tools to get me up and running with next js what would that be ?
please try connecting to your railway database with dbgate
thanks i`ll see to