Skip to content

Commit bd0638f

Browse files
Update repositories/continuous_screening_client_repository.go
Co-authored-by: Copilot <[email protected]>
1 parent a4f790f commit bd0638f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repositories/continuous_screening_client_repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func sanitizedTableName(exec Executor, tableName string) string {
2121
// object_id: TEXT
2222
// config_stable_id: UUID
2323
// created_at: TIMESTAMP WITH TIME ZONE
24-
// Add unique index to have a unique object_id for a given config_id
24+
// Add unique index to ensure a unique combination of (config_stable_id, object_type, object_id)
2525
func (repo *ClientDbRepository) CreateInternalContinuousScreeningTable(ctx context.Context, exec Executor) error {
2626
if err := validateClientDbExecutor(exec); err != nil {
2727
return err

0 commit comments

Comments
 (0)