aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/music.cql
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/cassandra/music.cql')
-rw-r--r--distribution/cassandra/music.cql20
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/cassandra/music.cql b/distribution/cassandra/music.cql
new file mode 100644
index 00000000..d991a514
--- /dev/null
+++ b/distribution/cassandra/music.cql
@@ -0,0 +1,20 @@
+CREATE KEYSPACE admin
+ WITH REPLICATION = {
+ 'class' : 'SimpleStrategy',
+ 'replication_factor': 1
+ }
+ AND DURABLE_WRITES = true;
+
+CREATE TABLE 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 USER nelson24 WITH PASSWORD ‘winman123’ SUPERUSER;
+ALTER USER cassandra WITH PASSWORD ‘SomeLongRandomStringNoonewillthinkof’;