Skip to content

Commit 7ce3b32

Browse files
authored
Fix isDbInitialized (#19)
1 parent f83f807 commit 7ce3b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/chilipiper/quartz/SchedulerQuartz.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ object SchedulerQuartz {
149149
SELECT EXISTS (
150150
SELECT 1
151151
FROM information_schema.tables
152-
WHERE table_schema = $schema AND table_name LIKE ${prefix + "%"}
152+
WHERE table_schema = $schema AND LOWER(table_name) LIKE LOWER(${prefix + "%"})
153153
)
154154
""".query[Boolean].unique.transact(transactor)
155155

0 commit comments

Comments
 (0)