Skip to content

Commit 0244162

Browse files
committed
feat: Do nothing if scl file already exists
Signed-off-by: Christopher Lepski <[email protected]>
1 parent 3e47825 commit 0244162

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,5 @@ insert into scl_file(
254254
<EnumVal ord="3">both</EnumVal>
255255
</EnumType>
256256
</DataTypeTemplates>
257-
</SCL>');
257+
</SCL>')
258+
on duplicate key update id=id;

0 commit comments

Comments
 (0)