diff options
Diffstat (limited to 'distribution/cassandra/music_single.cql')
-rw-r--r-- | distribution/cassandra/music_single.cql | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/cassandra/music_single.cql b/distribution/cassandra/music_single.cql new file mode 100644 index 00000000..11eb2df0 --- /dev/null +++ b/distribution/cassandra/music_single.cql @@ -0,0 +1,20 @@ +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) +); + +CREATE ROLE IF NOT EXISTS nelson24 WITH PASSWORD = 'winman123' AND SUPERUSER = True AND LOGIN = True; +ALTER ROLE cassandra WITH PASSWORD = 'SomeLongRandomStringNoonewillthinkof'; |