From aeca49f34166b525893f87936cecbe588a6fe8eb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 17 Jun 2018 03:02:22 -0700 Subject: [PATCH] fix C* create table in wiki --- Distributed-Filer.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Distributed-Filer.md b/Distributed-Filer.md index 98736f3..b72799a 100644 --- a/Distributed-Filer.md +++ b/Distributed-Filer.md @@ -23,11 +23,13 @@ create keyspace seaweed WITH replication = { use seaweed; -CREATE TABLE seaweed_files ( - path varchar, - fids list, - PRIMARY KEY (path) -); + CREATE TABLE filemeta ( + directory varchar, + name varchar, + meta blob, + PRIMARY KEY (directory, name) + ) WITH CLUSTERING ORDER BY (name ASC); + ``` ## Create a filer.toml