๐—ฃ๐—ฟ๐—ถ๐˜€๐—บ๐—ฎ ๐Ÿณ: ๐—™๐—ถ๐˜… ๐˜๐—ต๐—ฒ ๐——๐—ฎ๐˜๐—ฎ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ ๐—จ๐—ฅ๐—Ÿ ๐—˜๐—ฟ๐—ฟ๐—ผ๐—ฟ

Did you see an error during prisma migrate dev? Prisma no longer supports the url property in schema files.

The database URL now belongs in a new file.

Follow these steps to fix it:

import 'dotenv/config' import { defineConfig } from 'prisma/config'

export default defineConfig({ datasource: { url: process.env.DATABASE_URL!, }, })

Your database URL now lives in the config file.

Source: https://dev.to/joodi/prisma-7-the-datasource-property-url-is-no-longer-supported-heres-the-fix-1178