From a1dfbf19b5e88897b46f4095ff3ef730eba26ba6 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 27 Aug 2013 08:42:40 -0700 Subject: Adding devfiles: various scripts and data files --- devfiles/scripts/cassandra-bootstrap.cql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devfiles/scripts/cassandra-bootstrap.cql (limited to 'devfiles/scripts/cassandra-bootstrap.cql') 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'; -- cgit v1.2.3