summaryrefslogtreecommitdiff
path: root/devfiles/scripts/cassandra-bootstrap.cql
blob: c7d6de80eac6675c9ee630ea372d49e2389ef372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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';