add: update schema for application
This commit is contained in:
parent
47fbed74c5
commit
44891b9d87
|
@ -74,10 +74,16 @@ model Workspace {
|
|||
}
|
||||
|
||||
model Application {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
Workspace Workspace @relation(fields: [workspaceId], references: [id])
|
||||
workspaceId String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
serviceProvider String
|
||||
repository String
|
||||
branch String
|
||||
repositoryId String
|
||||
path String
|
||||
autoDeploy Boolean
|
||||
Workspace Workspace @relation(fields: [workspaceId], references: [id])
|
||||
workspaceId String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue