From 730a032137df3d13d5dc4d21f25133edd5e5fa23 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 19 Apr 2019 09:55:46 -0700 Subject: [PATCH] filer mysql: adjust scaffolding instructions --- weed/command/scaffold.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 106c2dace..7655ab893 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -73,11 +73,12 @@ dir = "." # directory to store level db files [mysql] # CREATE TABLE IF NOT EXISTS filemeta ( # dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field', -# name VARCHAR(65535) COMMENT 'directory or file name', -# directory VARCHAR(65535) COMMENT 'full path to parent directory', +# name VARCHAR(1000) COMMENT 'directory or file name', +# directory TEXT COMMENT 'full path to parent directory', # meta BLOB, # PRIMARY KEY (dirhash, name) # ) DEFAULT CHARSET=utf8; + enabled = false hostname = "localhost" port = 3306