mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
changing restauration to restoration.
This commit is contained in:
@@ -149,8 +149,8 @@ model Database {
|
||||
agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade)
|
||||
lastContact DateTime? @map("last_contact")
|
||||
|
||||
backups Backup[]
|
||||
restaurations Restauration[]
|
||||
backups Backup[]
|
||||
restorations Restoration[]
|
||||
|
||||
projectId String? @map("project_id")
|
||||
project Project? @relation(fields: [projectId], references: [id])
|
||||
@@ -174,12 +174,12 @@ model Backup {
|
||||
databaseId String @map("database_id")
|
||||
database Database @relation(fields: [databaseId], references: [id], onDelete: Cascade)
|
||||
|
||||
restaurations Restauration[]
|
||||
restorations Restoration[]
|
||||
|
||||
@@map("backups")
|
||||
}
|
||||
|
||||
model Restauration {
|
||||
model Restoration {
|
||||
id String @id @default(cuid())
|
||||
status Status @default(waiting)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
@@ -190,7 +190,7 @@ model Restauration {
|
||||
databaseId String? @map("database_id")
|
||||
database Database? @relation(fields: [databaseId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@map("restaurations")
|
||||
@@map("restorations")
|
||||
}
|
||||
|
||||
enum TypeStorage {
|
||||
|
||||
Reference in New Issue
Block a user