diff --git a/mdl/catalog/builder_contract.go b/mdl/catalog/builder_contract.go index f20cfae6..a66f8abc 100644 --- a/mdl/catalog/builder_contract.go +++ b/mdl/catalog/builder_contract.go @@ -138,7 +138,7 @@ func (b *Builder) buildContractMessages() error { } stmt, err := b.tx.Prepare(` - INSERT INTO contract_messages (Id, ServiceId, ServiceQualifiedName, + INSERT OR IGNORE INTO contract_messages (Id, ServiceId, ServiceQualifiedName, ChannelName, OperationType, MessageName, Title, ContentType, PropertyCount, ModuleName, ProjectId, SnapshotId, SnapshotDate, SnapshotSource) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)