Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 8273d383 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

fix mysql migration script SG extension

parent 88b98606
No related branches found
No related tags found
No related merge requests found
......@@ -276,9 +276,9 @@ INSERT INTO SMP_SERVICE_GROUP ( CREATED_ON, LAST_UPDATED_ON, PARTICIPANT_IDENTI
select NOW(), NOW(), businessidentifier, businessidentifierscheme from SMP_SERVICE_GROUP_BCK;
-- insert extensions
INSERT INTO SMP_SG_EXTENSION (ID, CREATED_ON, LAST_UPDATED_ON, EXTENSION)
select sg.id, NOW(),NOW(), sgb.xmlcontent from SMP_SERVICE_GROUP sg INNER JOIN SMP_SERVICE_GROUP_BCK sgb
select sg.id, NOW(),NOW(), sgb.extension from SMP_SERVICE_GROUP sg INNER JOIN SMP_SERVICE_GROUP_BCK sgb
ON sg.PARTICIPANT_IDENTIFIER= sgb.businessidentifier
and sg.PARTICIPANT_SCHEME= sgb.businessidentifierscheme WHERE sgb.xmlcontent != '';
and sg.PARTICIPANT_SCHEME= sgb.businessidentifierscheme WHERE sgb.extension != '';
-- insert service group domains
INSERT INTO SMP_SERVICE_GROUP_DOMAIN ( CREATED_ON, LAST_UPDATED_ON, SML_REGISTERED, FK_DOMAIN_ID, FK_SG_ID )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment