yurake/k8s-3tier-webapp

View on GitHub
kubernetes/cassandra/init/init.cql

Summary

Maintainability
Test Coverage
DROP KEYSPACE IF EXISTS test;
CREATE KEYSPACE IF NOT EXISTS webapp WITH replication = {
  'class':'SimpleStrategy',
  'replication_factor':1
};
CREATE TABLE IF NOT EXISTS webapp.msg(
  id int,
  msg text,
  PRIMARY KEY(id)
);