aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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