From 956a28939df35697298857ba85b118dc6c5ffbac Mon Sep 17 00:00:00 2001 From: Mutesasira Moses Date: Thu, 1 Jun 2023 13:32:37 +0300 Subject: [PATCH] fixed patient.state column size --- src/main/resources/liquibase/2.7.x.x/base.xml | 2 +- .../liquibase/2.7.x.x/fix_person_table.xml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/liquibase/2.7.x.x/fix_person_table.xml diff --git a/src/main/resources/liquibase/2.7.x.x/base.xml b/src/main/resources/liquibase/2.7.x.x/base.xml index 8666ba347a..acd4b31d25 100644 --- a/src/main/resources/liquibase/2.7.x.x/base.xml +++ b/src/main/resources/liquibase/2.7.x.x/base.xml @@ -9,10 +9,10 @@ - + \ No newline at end of file diff --git a/src/main/resources/liquibase/2.7.x.x/fix_person_table.xml b/src/main/resources/liquibase/2.7.x.x/fix_person_table.xml new file mode 100644 index 0000000000..563cbf371e --- /dev/null +++ b/src/main/resources/liquibase/2.7.x.x/fix_person_table.xml @@ -0,0 +1,15 @@ + + + + + + SELECT character_maximum_length FROM information_schema.columns WHERE table_name='person' AND column_name='state' + + Increase size of the person.state column + + + \ No newline at end of file