Skip to content

Commit

Permalink
Merge pull request #28 from Onlineberatung/develop
Browse files Browse the repository at this point in the history
feat: add migration to enable release toggles
  • Loading branch information
tkuzynow authored Apr 9, 2024
2 parents dd5a49f + 43520ea commit d669a9c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ private void batchInsertTopicsWithIdEqualToConsultingTypeId(
// Format the current date and time
String formattedCurrentDateTime = currentDateTime.format(formatter);
consultingTypeServiceJdbcTemplate.batchUpdate(
"insert into topic (id, tenant_id, name, description, status, create_date, update_date, internal_identifier, fallback_agency_id, fallback_url, send_next_step_message, titles_short, titles_long, titles_welcome, titles_dropdown, slug) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
"insert into topic (id, tenant_id, name, description, status, create_date, update_date, internal_identifier, fallback_agency_id, fallback_url, send_next_step_message, titles_short, titles_long, "
+ "titles_welcome, titles_dropdown, slug) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
consultingTypes.stream()
.filter(ct -> !topicExistsById(consultingTypeServiceJdbcTemplate, ct.getId()))
.map(
Expand Down

0 comments on commit d669a9c

Please sign in to comment.