Skip to content

Commit 4d8eaa3

Browse files
committed
fix: Fix on conflict
1 parent c50d7b2 commit 4d8eaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repository-postgresql/src/main/resources/org/lfenergy/compas/scl/data/repository/postgresql/db/migration/V1_5__insert_lnode_library.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,4 @@ insert into scl_file(
255255
</EnumType>
256256
</DataTypeTemplates>
257257
</SCL>')
258-
on duplicate key update id=id;
258+
on conflict (id, major_version, minor_version, patch_version) do nothing;

0 commit comments

Comments
 (0)