schema.cql 417 B

12345678910111213141516171819202122
  1. /*
  2. Here is the CQL to create the table.CassandraStore
  3. Optionally you can adjust the keyspace name and replication settings.
  4. For production server, very likely you want to set replication_factor to 3
  5. */
  6. create keyspace seaweed WITH replication = {
  7. 'class':'SimpleStrategy',
  8. 'replication_factor':1
  9. };
  10. use seaweed;
  11. CREATE TABLE seaweed_files (
  12. path varchar,
  13. fids list<varchar>,
  14. PRIMARY KEY (path)
  15. );