weed filer: increase default mysql/postgres dir or name length to 65535

This commit is contained in:
Chris Lu
2019-04-01 12:37:54 -07:00
parent b4c276263f
commit 2a52e70a41
2 changed files with 7 additions and 7 deletions

View File

@@ -9,8 +9,8 @@ $PGHOME/bin/psql --username=postgres --password seaweedfs
CREATE TABLE IF NOT EXISTS filemeta (
dirhash BIGINT,
name VARCHAR(1000),
directory VARCHAR(4096),
name VARCHAR(65535),
directory VARCHAR(65535),
meta bytea,
PRIMARY KEY (dirhash, name)
);