Commit ee34526e authored by Alessio Netti's avatar Alessio Netti
Browse files

Minor changes for ScyllaDB compatibility

parent 46111551
...@@ -508,7 +508,7 @@ bool ConnectionImpl::initSchema() { ...@@ -508,7 +508,7 @@ bool ConnectionImpl::initSchema() {
"ttl bigint", /* Time to live in nanoseconds for readings of this sensor */ "ttl bigint", /* Time to live in nanoseconds for readings of this sensor */
"name", /* Make the "name" column the primary key */ "name", /* Make the "name" column the primary key */
"CACHING = {'keys' : 'all'} "); /* Enable compact storage and maximum caching */ "CACHING = {'keys' : 'ALL'} "); /* Enable compact storage and maximum caching */
} }
/* Creating simple key-value table for misc metadata */ /* Creating simple key-value table for misc metadata */
...@@ -518,7 +518,7 @@ bool ConnectionImpl::initSchema() { ...@@ -518,7 +518,7 @@ bool ConnectionImpl::initSchema() {
"name varchar, " /* Property name */ "name varchar, " /* Property name */
"value varchar", /* Property value */ "value varchar", /* Property value */
"name", /* Make the "name" column the primary key */ "name", /* Make the "name" column the primary key */
"CACHING = {'keys' : 'all'} "); /* Enable compact storage and maximum caching */ "CACHING = {'keys' : 'ALL'} "); /* Enable compact storage and maximum caching */
} }
/* Keyspace and column family for raw and virtual sensor data */ /* Keyspace and column family for raw and virtual sensor data */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment