add: update schema for application
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user