File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ DROP KEYSPACE IF EXISTS sensor;
22CREATE KEYSPACE IF NOT EXISTS sensor WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
33DROP KEYSPACE IF EXISTS coordinator;
44CREATE KEYSPACE IF NOT EXISTS coordinator WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
5+ DROP KEYSPACE IF EXISTS scalardb;
56CREATE KEYSPACE IF NOT EXISTS scalardb WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
67
78CREATE TABLE IF NOT EXISTS sensor .tx_sensor (
Original file line number Diff line number Diff line change 11DROP KEYSPACE IF EXISTS transfer;
22CREATE KEYSPACE IF NOT EXISTS transfer WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
3+ DROP KEYSPACE IF EXISTS coordinator;
34CREATE KEYSPACE IF NOT EXISTS coordinator WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
5+ DROP KEYSPACE IF EXISTS scalardb;
6+ CREATE KEYSPACE IF NOT EXISTS scalardb WITH replication = {' class' : ' SimpleStrategy' , ' replication_factor' : 1 };
47
58CREATE TABLE IF NOT EXISTS transfer .tx_transfer (
69 account_id int ,
@@ -26,3 +29,12 @@ CREATE TABLE IF NOT EXISTS coordinator.state (
2629 tx_created_at bigint ,
2730 PRIMARY KEY (tx_id)
2831);
32+
33+ CREATE TABLE IF NOT EXISTS scalardb .namespaces (
34+ name text ,
35+ PRIMARY KEY (name)
36+ );
37+
38+ INSERT INTO scalardb .namespaces (name) VALUES (' transfer' );
39+ INSERT INTO scalardb .namespaces (name) VALUES (' coordinator' );
40+ INSERT INTO scalardb .namespaces (name) VALUES (' scalardb' );
You can’t perform that action at this time.
0 commit comments