summaryrefslogtreecommitdiff
path: root/devfiles/scripts/cassandra-bootstrap.cql
blob: 9348fcc647066c33bbdbe9516772c624256111ca (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
28
29
30
31
32
33
34
35
36
37
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';

create column family feedthreads
    with key_validation_class = 'UTF8Type'
    and comparator = 'UTF8Type'
    and default_validation_class = 'UTF8Type';

create column family feedmessages
    with key_validation_class = 'UTF8Type'
    and comparator = 'UTF8Type'
    and default_validation_class = 'UTF8Type';