sync new and updated containers to cluster store, no deletion yet

This commit is contained in:
Pavel Sviderski committed 2024-11-19 16:06:16 +10:00
1 parent bf10b21da5
commit b4c2ec3a2a
8 files changed
+107 -22

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ CREATE TABLE machines
name TEXT AS (json_extract(info, '$.name')),
-- info is a JSON-serialized MachineInfo protobuf message.
info TEXT NOT NULL DEFAULT '{}' CHECK (json_valid(info))
-- TODO: add created_at and updated_at fields to track machine age and last update time.
);
-- containers table stores the Uncloud-managed Docker containers created in the cluster.