filer: fix mysql2 SQL template

This commit is contained in:
Chris Lu 2021-11-11 22:28:28 -08:00
parent 3abbaccb70
commit 1f75f1f9dc

View file

@ -66,7 +66,7 @@ upsertQuery = """INSERT INTO `%s` (dirhash,name,directory,meta) VALUES(?,?,?,?)
[mysql2] # or memsql, tidb [mysql2] # or memsql, tidb
enabled = false enabled = false
createTable = """ createTable = """
CREATE TABLE IF NOT EXISTS ` + "`%s`" + ` ( CREATE TABLE IF NOT EXISTS `%s` (
dirhash BIGINT, dirhash BIGINT,
name VARCHAR(1000) BINARY, name VARCHAR(1000) BINARY,
directory TEXT BINARY, directory TEXT BINARY,