Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
[minor] db schema change to support agent tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jvehent committed Sep 15, 2014
1 parent 49498bf commit 72c0778
Show file tree
Hide file tree
Showing 5 changed files with 609 additions and 216 deletions.
3 changes: 2 additions & 1 deletion doc/.files/createdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ CREATE TABLE agents (
destructiontime timestamp with time zone,
heartbeattime timestamp with time zone NOT NULL,
status character varying(255),
environment json
environment json,
tags json
);
ALTER TABLE public.agents OWNER TO migadmin;
ALTER TABLE ONLY agents
Expand Down
3 changes: 2 additions & 1 deletion doc/.files/createremotedb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ CREATE TABLE agents (
destructiontime timestamp with time zone,
heartbeattime timestamp with time zone NOT NULL,
status character varying(255),
environment json
environment json,
tags json
);
ALTER TABLE public.agents OWNER TO migadmin;
ALTER TABLE ONLY agents
Expand Down
3 changes: 2 additions & 1 deletion doc/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ platform.
destructiontime timestamp with time zone,
heartbeattime timestamp with time zone NOT NULL,
status varchar(256),
environment json
environment json,
tags json
);
The `commands` table contains each action sent to each agent.
Expand Down
Loading

0 comments on commit 72c0778

Please sign in to comment.