blob: a516be857bd4100d40b937403a56528439fba272 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
CREATE KEYSPACE testks
WITH REPLICATION = {
'class' : '{{.Values.cql.keyspace.replicationClass}}',
'replication_factor': {{.Values.cql.keyspace.replicationFactor}}
}
AND DURABLE_WRITES = true;
CREATE TABLE testks.keyspace_master_table (
uuid uuid,
keyspace_name text,
application_name text,
is_api boolean,
password text,
username text,
is_aaf boolean,
PRIMARY KEY (uuid)
);
DESCRIBE KEYSPACES;
DESCRIBE keyspace testks;
SELECT * FROM system_auth.roles;
DROP keyspace testks;
|