diff --git a/src/main/resources/db/migration/V14_drop_rating_constaint.sql b/src/main/resources/db/migration/V14_drop_rating_constaint.sql new file mode 100644 index 0000000..5efb1be --- /dev/null +++ b/src/main/resources/db/migration/V14_drop_rating_constaint.sql @@ -0,0 +1,3 @@ +ALTER TABLE establishments + ALTER COLUMN rating + DROP NOT NULL; diff --git a/src/test/resources/database/establishment/default_establishment.xml b/src/test/resources/database/establishment/default_establishment.xml index 0a9f92f..1a3a612 100644 --- a/src/test/resources/database/establishment/default_establishment.xml +++ b/src/test/resources/database/establishment/default_establishment.xml @@ -10,7 +10,7 @@ image="image" category="restaurant" owner_id="10" - cuisine_country="chinese" + cuisine_country="CHINESE" />