mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-31 21:54:47 +08:00
Update README.txt
This commit is contained in:
parent
df436d342b
commit
476aabb04b
@ -1,14 +1 @@
|
||||
1. create a keyspace
|
||||
|
||||
CREATE KEYSPACE seaweedfs WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};
|
||||
|
||||
2. create filemeta table
|
||||
|
||||
USE seaweedfs;
|
||||
|
||||
CREATE TABLE filemeta (
|
||||
directory varchar,
|
||||
name varchar,
|
||||
meta blob,
|
||||
PRIMARY KEY (directory, name)
|
||||
) WITH CLUSTERING ORDER BY (name ASC);
|
||||
Deprecated by cassandra2
|
Loading…
Reference in New Issue
Block a user