diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-08-27 08:42:40 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-08-27 08:42:40 -0700 |
commit | 014baa6529975341a314ed7bcc21d1dd639daab5 (patch) | |
tree | 5a649fcee71abe2076bd717686349f7e1f2f593a /devfiles/scripts/cassandra-bootstrap.cql | |
parent | d19066bc6a22c339c753cb93ef3e9e30fec3b0db (diff) |
Adding devfiles: various scripts and data files
Diffstat (limited to 'devfiles/scripts/cassandra-bootstrap.cql')
-rw-r--r-- | devfiles/scripts/cassandra-bootstrap.cql | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devfiles/scripts/cassandra-bootstrap.cql b/devfiles/scripts/cassandra-bootstrap.cql new file mode 100644 index 0000000..c7d6de8 --- /dev/null +++ b/devfiles/scripts/cassandra-bootstrap.cql @@ -0,0 +1,22 @@ +drop keyspace GROW; + +create keyspace GROW + with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' + and strategy_options = {replication_factor:1}; + +use GROW; + +create column family strings + with key_validation_class = 'UTF8Type' + and comparator = 'UTF8Type' + and default_validation_class = 'UTF8Type'; + +create column family assessments + with key_validation_class = 'UTF8Type' + and comparator = 'UTF8Type' + and default_validation_class = 'UTF8Type'; + +create column family training + with key_validation_class = 'UTF8Type' + and comparator = 'UTF8Type' + and default_validation_class = 'UTF8Type'; |