Skip to content
Snippets Groups Projects
Commit c7e3c869 authored by Arthur Ulfeldt's avatar Arthur Ulfeldt
Browse files

Fix Issue 5073

When checking for a new install on MariaDB we need to upcase the
tablename when checking for the presence of the liquibase tables.
parent e88f9410
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@
see https://github.com/metabase/metabase/issues/3715"
[conn]
(let [liquibases-table-name (if (= (db-type) :h2)
(let [liquibases-table-name (if (#{:h2 :mysql} (db-type))
"DATABASECHANGELOG"
"databasechangelog")
fresh-install? (jdbc/with-db-metadata [meta (jdbc-details)] ;; don't migrate on fresh install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment