github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/cassandra/schema.sql (about) 1 CREATE KEYSPACE IF NOT EXISTS janus with replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; 2 USE janus; 3 4 CREATE TABLE IF NOT EXISTS janus.user ( 5 username text, 6 password text, 7 PRIMARY KEY (username)); 8 9 CREATE TABLE IF NOT EXISTS janus.api_definition ( 10 name text, 11 definition text, 12 PRIMARY KEY (name)); 13 14 CREATE TABLE IF NOT EXISTS janus.oauth ( 15 name text, 16 oauth text, 17 PRIMARY KEY (name)); 18 19 CREATE TABLE IF NOT EXISTS janus.organization ( 20 username text, 21 password text, 22 organization text, 23 PRIMARY KEY (username)); 24 25 CREATE TABLE IF NOT EXISTS janus.organization_config ( 26 organization text, 27 priority int, 28 content_per_day int, 29 config text, 30 PRIMARY KEY (organization));