diff --git a/pom.xml b/pom.xml index b40488d42..683215d28 100644 --- a/pom.xml +++ b/pom.xml @@ -574,7 +574,7 @@ 2.0.8 - 1.4.200 + 2.2.224 6.1.7.Final diff --git a/src/main/resources/liquibase/version/0.4.8.xml b/src/main/resources/liquibase/version/0.4.8.xml index b96e68b6e..076944447 100644 --- a/src/main/resources/liquibase/version/0.4.8.xml +++ b/src/main/resources/liquibase/version/0.4.8.xml @@ -5,6 +5,6 @@ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd"> - + diff --git a/src/main/resources/liquibase/version/0.4.8/2024-01-25--rename_site_parser_params_value_column.xml b/src/main/resources/liquibase/version/0.4.8/2024-01-25--rename_site_parser_params_value_column.xml new file mode 100644 index 000000000..8767f9025 --- /dev/null +++ b/src/main/resources/liquibase/version/0.4.8/2024-01-25--rename_site_parser_params_value_column.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + diff --git a/src/main/resources/sql/site_parser_dao_queries.properties b/src/main/resources/sql/site_parser_dao_queries.properties index 3d6864310..0d858fc94 100644 --- a/src/main/resources/sql/site_parser_dao_queries.properties +++ b/src/main/resources/sql/site_parser_dao_queries.properties @@ -2,8 +2,8 @@ site_parser.find_like_matched_url = \ SELECT parser_id AS id \ FROM site_parser_params \ WHERE name = 'matched_url' \ - AND value = :url \ - OR :url LIKE CONCAT(value, '%') + AND val = :url \ + OR :url LIKE CONCAT(val, '%') site_parser.find_names = \ SELECT name \ @@ -12,11 +12,11 @@ ORDER BY id site_parser_param.find_all_with_parser_name = \ SELECT name \ - , value \ + , val \ FROM site_parser_params \ WHERE parser_id = :parser_id \ UNION ALL \ SELECT 'name' AS name \ - , name AS value \ + , name AS val \ FROM site_parsers \ WHERE id = :parser_id