Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | CREATE KEYSPACE IF NOT EXISTS admin |
| 2 | WITH REPLICATION = { |
| 3 | 'class' : 'SimpleStrategy', |
| 4 | 'replication_factor': 1 |
| 5 | } |
| 6 | AND DURABLE_WRITES = true; |
| 7 | |
| 8 | CREATE TABLE IF NOT EXISTS admin.keyspace_master ( |
| 9 | uuid uuid, |
| 10 | keyspace_name text, |
| 11 | application_name text, |
| 12 | is_api boolean, |
| 13 | password text, |
| 14 | username text, |
| 15 | is_aaf boolean, |
| 16 | PRIMARY KEY (uuid) |
| 17 | ); |
| 18 | |
| 19 | CREATE TABLE IF NOT EXISTS admin.notification_master ( |
| 20 | id uuid, |
| 21 | current_notifier text, |
| 22 | endpoint_password blob, |
| 23 | endpoint_userid text, |
| 24 | notify_delete_on text, |
| 25 | notify_insert_on text, |
| 26 | notify_to_endpoint text, |
| 27 | notify_update_on text, |
| 28 | notifyon text PRIMARY KEY, |
| 29 | request text |
| 30 | ); |
| 31 | |
| 32 | |
| 33 | |
| 34 | describe keyspace admin; |