🚀 자동 배포 시스템 설정

- Prisma Client darwin-arm64 바이너리 타겟 추가
- 웹훅 기반 자동 배포 스크립트 추가
- PM2 설정 파일들 추가
- 배포 가이드 문서 추가
This commit is contained in:
2025-10-01 01:40:46 +09:00
parent 31b24664a9
commit f331b52e64
6 changed files with 378 additions and 0 deletions

25
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,25 @@
// 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"
binaryTargets = ["native", "darwin-arm64"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model members {
id Int @id @default(autoincrement())
user_id String @unique
password String
name String
role_level Int
created_at DateTime @default(now())
updated_at DateTime @updatedAt
@@map("members")
}