summaryrefslogtreecommitdiff
path: root/devfiles/scripts/cassandra-bootstrap.cql
diff options
context:
space:
mode:
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';