Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 20, 2024
1 parent 105215e commit c73895c
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions packages/canyon-platform/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,6 @@ datasource db {
url = env("DATABASE_URL") // uses connection pooling
}

model User {
id Int @id
username String
password String
nickname String
avatar String
refreshToken String @map("refresh_token")
accessToken String @map("access_token")
email String
favor String
createdAt DateTime @default(now()) @map("created_at") @db.Timestamp(3)
@@map("user")
}

model CoverageLog {
id String @id @default(uuid())
projectID String @map("project_id")
sha String
size Int
timing String
hit String
// 通用
createdAt DateTime @default(now()) @map("created_at") @db.Timestamp(3)
updatedAt DateTime @default(now()) @map("updated_at") @db.Timestamp(3)
@@map("analytics_coverage_log")
}

// 新版的map来源只有pipeline中upload上报
model CoverageMap {
id String @id @default(cuid())
projectID String @map("project_id")
sha String @map("sha")
map String
@@map("analytics_coverage_map")
}

model Coverage {
id String @id @default(cuid())
sha String
Expand Down

0 comments on commit c73895c

Please sign in to comment.