--Cluster management table api added to create cluster
This commit is contained in:
george committed 2026-09-16 12:42:24 +05:30
1 parent d0e1d31093
commit 448771cd88
3 files changed
+50 -5

No files matched your search

+13 -1
View File
@@ -115,4 +115,16 @@ def add_cluster_id_column():
REFERENCES "fastAPI_cluster"(uuid);
"""))
# add_cluster_id_column()
# add_cluster_id_column()
# ALTER TABLE "fastAPI_node_interface"
# DROP CONSTRAINT fk_node_interface_cluster;
# ALTER TABLE "fastAPI_node_interface"
# ADD CONSTRAINT fk_node_interface_cluster
# FOREIGN KEY (cluster_id)
# REFERENCES "fastAPI_cluster"(uuid)
# ON DELETE SET NULL;
#\d "fastAPI_node_interface"