Set up cassandra

This commit is contained in:
2024-11-30 13:36:52 +01:00
parent dd005475aa
commit e4e652fd9d
4 changed files with 37 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
-- Create a keyspace
CREATE KEYSPACE IF NOT EXISTS device_configuration
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
-- Use the keyspace
USE device_configuration;