mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
sync new and updated containers to cluster store, no deletion yet
This commit is contained in:
@@ -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