mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Simplify table names
This commit is contained in:
parent
91ca8dadb4
commit
8b5062dfaf
1 changed files with 3 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ class KnowledgeGraph:
|
||||||
self.table = "triples" # Legacy single table
|
self.table = "triples" # Legacy single table
|
||||||
else:
|
else:
|
||||||
# New optimized tables
|
# New optimized tables
|
||||||
self.subject_table = "triples_by_subject"
|
self.subject_table = "triples_s"
|
||||||
self.po_table = "triples_by_po"
|
self.po_table = "triples_p"
|
||||||
self.object_table = "triples_by_object"
|
self.object_table = "triples_o"
|
||||||
|
|
||||||
if username and password:
|
if username and password:
|
||||||
ssl_context = SSLContext(PROTOCOL_TLSv1_2)
|
ssl_context = SSLContext(PROTOCOL_TLSv1_2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue