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 | a1dfbf19b5e88897b46f4095ff3ef730eba26ba6 (patch) | |
tree | 65b49afabd2d199f4125833dc7df4f4e2fde410b /devfiles/scripts/cassandra-bootstrap.cql | |
parent | 01d252469b0c68422e6bb0dbb7a63217732bc56c (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'; |