From c76f676ac86e89da690ec91a2f2da3ddb8302adf Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Thu, 5 Jan 2023 15:44:13 +0100 Subject: [PATCH] qoc --- .../20221115095021_user_model/migration.sql | 8 -------- apps/web/prisma/migrations/migration_lock.toml | 3 --- apps/web/prisma/schema.prisma | 14 -------------- 3 files changed, 25 deletions(-) delete mode 100644 apps/web/prisma/migrations/20221115095021_user_model/migration.sql delete mode 100644 apps/web/prisma/migrations/migration_lock.toml delete mode 100644 apps/web/prisma/schema.prisma diff --git a/apps/web/prisma/migrations/20221115095021_user_model/migration.sql b/apps/web/prisma/migrations/20221115095021_user_model/migration.sql deleted file mode 100644 index 1dc058c77..000000000 --- a/apps/web/prisma/migrations/20221115095021_user_model/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ --- CreateTable -CREATE TABLE "user" ( - "id" SERIAL NOT NULL, - "email" TEXT NOT NULL, - "password" TEXT NOT NULL, - - CONSTRAINT "user_pkey" PRIMARY KEY ("id") -); diff --git a/apps/web/prisma/migrations/migration_lock.toml b/apps/web/prisma/migrations/migration_lock.toml deleted file mode 100644 index fbffa92c2..000000000 --- a/apps/web/prisma/migrations/migration_lock.toml +++ /dev/null @@ -1,3 +0,0 @@ -# Please do not edit this file manually -# It should be added in your version-control system (i.e. Git) -provider = "postgresql" \ No newline at end of file diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prisma deleted file mode 100644 index fdaf6c59a..000000000 --- a/apps/web/prisma/schema.prisma +++ /dev/null @@ -1,14 +0,0 @@ -generator client { - provider = "prisma-client-js" -} - -datasource db { - provider = "postgresql" - url = env("DATABASE_URL") -} - -model user { - id Int @id @default(autoincrement()) - email String - password String -}