mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
sync new and updated containers to cluster store, no deletion yet
This commit is contained in:
1 parent
bf10b21da5
commit
b4c2ec3a2a
8 files changed
+107
-22
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user