mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
atleast
This commit is contained in:
parent
f3e6dc4bfb
commit
dd6915d052
6 changed files with 6 additions and 6 deletions
|
|
@ -246,7 +246,7 @@ export class Service extends DatabaseService<IncidentStateTimeline> {
|
|||
|
||||
if (incidentStateTimeline.isOne()) {
|
||||
throw new BadDataException(
|
||||
'Cannot delete the only state timeline. Incident should have atleast one state in its timeline.'
|
||||
'Cannot delete the only state timeline. Incident should have at least one state in its timeline.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ export class Service extends DatabaseService<MonitorStatusTimeline> {
|
|||
|
||||
if (monitorStatusTimeline.isOne()) {
|
||||
throw new BadDataException(
|
||||
'Cannot delete the only status timeline. Monitor should have atleast one status timeline.'
|
||||
'Cannot delete the only status timeline. Monitor should have at least one status timeline.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export class Service extends DatabaseService<ScheduledMaintenanceStateTimeline>
|
|||
|
||||
if (scheduledMaintenanceStateTimeline.isOne()) {
|
||||
throw new BadDataException(
|
||||
'Cannot delete the only state timeline. Scheduled Maintenance should have atleast one state in its timeline.'
|
||||
'Cannot delete the only state timeline. Scheduled Maintenance should have at least one state in its timeline.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ export default class Team extends BaseModel {
|
|||
type: TableColumnType.Boolean,
|
||||
title: 'Should have one member?',
|
||||
description:
|
||||
'Can this team have no members? Owner team should have atleast 1 member, other teams can have no members',
|
||||
'Can this team have no members? Owner team should have at least 1 member, other teams can have no members',
|
||||
})
|
||||
@Column({
|
||||
type: ColumnType.Boolean,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# This file takes last 30 days backup. Make sure you run this file atleast once/day.
|
||||
# This file takes last 30 days backup. Make sure you run this file at least once/day.
|
||||
# The backup will be in the format of db-(date of the month).backup
|
||||
# Before the backup, please make sure DATABASE_BACKUP_* ENV vars in config.env is set properly.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# This file takes last 30 days backup. Make sure you run this file atleast once/day.
|
||||
# This file takes last 30 days backup. Make sure you run this file at least once/day.
|
||||
# The backup will be in the format of db-(date of the month).backup
|
||||
# Before the backup, please make sure DATABASE_RESTORE_* ENV vars in config.env is set properly.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue