Mysql docker setup - forcing mysql identifiers (database, table, triggers) naming to lowercase and name comparison to caseinsensitive, so hibernate queries can work even when referencing upper cased table names
This commit is contained in:
@@ -9,6 +9,8 @@ services:
|
||||
hapi-fhir-mysql:
|
||||
image: mysql:latest
|
||||
container_name: hapi-fhir-mysql
|
||||
#https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html
|
||||
command: --lower_case_table_names=1
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_DATABASE: 'hapi'
|
||||
@@ -18,4 +20,4 @@ services:
|
||||
volumes:
|
||||
- hapi-fhir-mysql:/var/lib/mysql
|
||||
volumes:
|
||||
hapi-fhir-mysql:
|
||||
hapi-fhir-mysql:
|
||||
|
||||
Reference in New Issue
Block a user