diff --git a/.env b/.env deleted file mode 100644 index 153f9d9..0000000 --- a/.env +++ /dev/null @@ -1,7 +0,0 @@ -# Environment variables declared in this file are automatically made available to Prisma. -# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema - -# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. -# See the documentation for all the connection string options: https://pris.ly/d/connection-strings - -DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public" \ No newline at end of file diff --git a/.gitignore b/.gitignore index fd3dbb5..b9f8d23 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +.env \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0467539..af5b243 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,6 @@ "openai": "^4.14.1", "prettier": "^3.0.3", "prettier-plugin-tailwindcss": "^0.5.6", - "prisma": "^5.5.2", "react": "^18", "react-dom": "^18", "react-hook-form": "^7.47.0", @@ -709,7 +708,9 @@ "version": "5.5.2", "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.5.2.tgz", "integrity": "sha512-Be5hoNF8k+lkB3uEMiCHbhbfF6aj1GnrTBnn5iYFT7GEr3TsOEp1soviEcBR0tYCgHbxjcIxJMhdbvxALJhAqg==", - "hasInstallScript": true + "hasInstallScript": true, + "optional": true, + "peer": true }, "node_modules/@prisma/engines-version": { "version": "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a", @@ -4874,6 +4875,8 @@ "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.5.2.tgz", "integrity": "sha512-WQtG6fevOL053yoPl6dbHV+IWgKo25IRN4/pwAGqcWmg7CrtoCzvbDbN9fXUc7QS2KK0LimHIqLsaCOX/vHl8w==", "hasInstallScript": true, + "optional": true, + "peer": true, "dependencies": { "@prisma/engines": "5.5.2" }, diff --git a/package.json b/package.json index ebb2d4c..bd46e4b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "openai": "^4.14.1", "prettier": "^3.0.3", "prettier-plugin-tailwindcss": "^0.5.6", - "prisma": "^5.5.2", "react": "^18", "react-dom": "^18", "react-hook-form": "^7.47.0", diff --git a/prisma/schema.prisma b/prisma/schema.prisma deleted file mode 100644 index d205f42..0000000 --- a/prisma/schema.prisma +++ /dev/null @@ -1,11 +0,0 @@ -// This is your Prisma schema file, -// learn more about it in the docs: https://pris.ly/d/prisma-schema - -generator client { - provider = "prisma-client-js" -} - -datasource db { - provider = "postgresql" - url = env("DATABASE_URL") -}