diff --git a/services/mam-api/src/db/migrations/005-node-capabilities.sql b/services/mam-api/src/db/migrations/005-node-capabilities.sql new file mode 100644 index 0000000..8a06e6a --- /dev/null +++ b/services/mam-api/src/db/migrations/005-node-capabilities.sql @@ -0,0 +1,4 @@ +-- Add hardware capabilities column to cluster_nodes +-- Stores GPUs and capture cards detected/reported by node-agent +ALTER TABLE cluster_nodes + ADD COLUMN IF NOT EXISTS capabilities JSONB DEFAULT '{}';