Skip to content

Commit 4194563

Browse files
fix: re-add unique constraint to RoutingGatewayStatus model
1 parent fa7b489 commit 4194563

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/RoutingGatewayStatus.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class RoutingGatewayStatus extends Model {
2929
$this->name = new ForeignModelField(
3030
model_name: 'RoutingGateway',
3131
model_field: 'name',
32+
unique: true,
3233
allow_null: true,
3334
read_only: true,
3435
help_text: 'The name of the gateway this status corresponds to.',

0 commit comments

Comments
 (0)