aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-14 01:04:41 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-14 01:04:41 +0200
commit643d2aaf8d5617487c26ba4d02af65dfcd3e0d88 (patch)
tree7e6be55672de7c45ae85f86863372dd94fc7605a /README.md
parentf2ff3cfcdc503be98b7d4b9f24f313c5732a0c17 (diff)
downloadmqtt-cassandra-bridge-643d2aaf8d5617487c26ba4d02af65dfcd3e0d88.tar.gz
mqtt-cassandra-bridge-643d2aaf8d5617487c26ba4d02af65dfcd3e0d88.tar.bz2
mqtt-cassandra-bridge-643d2aaf8d5617487c26ba4d02af65dfcd3e0d88.tar.xz
mqtt-cassandra-bridge-643d2aaf8d5617487c26ba4d02af65dfcd3e0d88.zip
o Adding web server to serve responses.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6ce8d37..91681e4 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,17 @@
+# Schema
+
+ CREATE TABLE sm_by_day (
+ device text,
+ day text,
+ timestamp timestamp,
+ sensors list<frozen<tuple<int, int>>>,
+ PRIMARY KEY (
+ (device, day),
+ timestamp
+ )
+ );
+
+
# Create Schema
$ bin/cqlsh