Just collection = partition key

This commit is contained in:
Cyber MacGeddon 2025-09-29 23:53:57 +01:00
parent 1180f49fa9
commit 190cae845a

View file

@ -112,7 +112,7 @@ class KnowledgeGraph:
s text,
p text,
o text,
PRIMARY KEY ((collection, s), p, o)
PRIMARY KEY (collection, s, p, o)
);
""");
@ -123,7 +123,7 @@ class KnowledgeGraph:
p text,
o text,
s text,
PRIMARY KEY ((collection, p), o, s)
PRIMARY KEY (collection, p, o, s)
);
""");
@ -134,7 +134,7 @@ class KnowledgeGraph:
o text,
s text,
p text,
PRIMARY KEY ((collection, o), s, p)
PRIMARY KEY (collection, o, s, p)
);
""");