Commit b7d6c5f2 authored by Julien BOUYER's avatar Julien BOUYER
Browse files

UNOTOPLYS-267 feat : migration des items

parent 4ef16cc0
-- UNOTOPLYS-267 : migration des items de type image et des conditions "not hasAnswer"
update screen set items = replace(items::TEXT, '"type": "image"', '"type": "picture"')::jsonb;
update screen set items = replace(items::TEXT, 'not hasAnswer', 'hasNoAnswer')::jsonb;
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<include file="config/liquibase/changelog/20210428172600_migration_droit.sql" relativeToChangelogFile="false"/> <include file="config/liquibase/changelog/20210428172600_migration_droit.sql" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20210603140000_ajout_type_variable.sql" relativeToChangelogFile="false"/> <include file="config/liquibase/changelog/20210603140000_ajout_type_variable.sql" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20210621104900_migration_conditions.sql" relativeToChangelogFile="false"/> <include file="config/liquibase/changelog/20210621104900_migration_conditions.sql" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20210621152400_migration_screen_items.sql" relativeToChangelogFile="false"/>
<!-- jhipster-needle-liquibase-add-constraints-changelog - JHipster will add liquibase constraints changelogs here --> <!-- jhipster-needle-liquibase-add-constraints-changelog - JHipster will add liquibase constraints changelogs here -->
<!-- jhipster-needle-liquibase-add-incremental-changelog - JHipster will add incremental liquibase changelogs here --> <!-- jhipster-needle-liquibase-add-incremental-changelog - JHipster will add incremental liquibase changelogs here -->
</databaseChangeLog> </databaseChangeLog>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment