Browse Source

filer: fix mysql2 SQL template

pull/2454/head
Chris Lu 3 years ago
parent
commit
1f75f1f9dc
  1. 2
      weed/command/scaffold/filer.toml

2
weed/command/scaffold/filer.toml

@ -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,

Loading…
Cancel
Save