aboutsummaryrefslogtreecommitdiffstats
path: root/music-rest/distribution/cassandra_job/admin.cql
blob: 904a2bab06ed94cc5cdc43ecc1662fd64e57f53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CREATE KEYSPACE IF NOT EXISTS admin
    WITH REPLICATION = {
        'class' : 'SimpleStrategy',
        'replication_factor': 1
    }
    AND DURABLE_WRITES = true;
 
CREATE TABLE IF NOT EXISTS admin.keyspace_master (
    uuid uuid,
    keyspace_name text,
    application_name text,
    is_api boolean,
    password text,
    username text,
    is_aaf boolean,
    PRIMARY KEY (uuid)
);