I want to set the URL in the schema.prisma setting by concatenating the strings as follows, but an error occurs.
My desire is to set it without adding the DATABASE_URL environment variable.
Is such a configuration possible? I would be happy if I could simply use schema.prisma to concatenate the strings, but...
datasource db {
provider = "postgresql"
url = "postgresql://" + env("PG_USER") + ":" + env("PG_PASS") + "@" + env("PG_HOST") + ":" + env("PG_PORT") + "/" + env("PG_DATABASE") + "?schema=public"
}