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