add: update schema for application
This commit is contained in:
parent
47fbed74c5
commit
44891b9d87
|
@ -74,10 +74,16 @@ model Workspace {
|
||||||
}
|
}
|
||||||
|
|
||||||
model Application {
|
model Application {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String
|
name String
|
||||||
Workspace Workspace @relation(fields: [workspaceId], references: [id])
|
serviceProvider String
|
||||||
workspaceId String
|
repository String
|
||||||
createdAt DateTime @default(now())
|
branch String
|
||||||
updatedAt DateTime @updatedAt
|
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