Browse Source

filer mysql: adjust scaffolding instructions

pull/934/head
Chris Lu 6 years ago
parent
commit
730a032137
  1. 5
      weed/command/scaffold.go

5
weed/command/scaffold.go

@ -73,11 +73,12 @@ dir = "." # directory to store level db files
[mysql] [mysql]
# CREATE TABLE IF NOT EXISTS filemeta ( # CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field', # 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, # meta BLOB,
# PRIMARY KEY (dirhash, name) # PRIMARY KEY (dirhash, name)
# ) DEFAULT CHARSET=utf8; # ) DEFAULT CHARSET=utf8;
enabled = false enabled = false
hostname = "localhost" hostname = "localhost"
port = 3306 port = 3306

Loading…
Cancel
Save