summaryrefslogtreecommitdiff
path: root/devfiles/scripts/cassandra-bootstrap.cql
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-08-27 08:42:40 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-08-27 08:42:40 -0700
commita1dfbf19b5e88897b46f4095ff3ef730eba26ba6 (patch)
tree65b49afabd2d199f4125833dc7df4f4e2fde410b /devfiles/scripts/cassandra-bootstrap.cql
parent01d252469b0c68422e6bb0dbb7a63217732bc56c (diff)
Adding devfiles: various scripts and data files
Diffstat (limited to 'devfiles/scripts/cassandra-bootstrap.cql')
-rw-r--r--devfiles/scripts/cassandra-bootstrap.cql22
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';