CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder

-progress being made
This commit is contained in:
martin 2011-09-16 17:51:28 -04:00
parent b5684bb5b1
commit 659e412eb7
21 changed files with 2018 additions and 39 deletions

View file

@ -1,6 +1,6 @@
#Note: project.home is automatically generated by the propel-install script.
#Any manual changes to this value will be overwritten.
project.home = /home/james/src/airtime/airtime_mvc
project.home = /home/martin/workspace/airtime/airtime_mvc
project.build = ${project.home}/build
#Database driver

View file

@ -325,4 +325,8 @@
<column name="ip" phpName="DbIP" primaryKey="true" type="VARCHAR" size="32" required="true"/>
<column name="attempts" phpName="DbAttempts" type="INTEGER" required="false" defaultValue="0"/>
</table>
<table name="cc_component" phpName="CcComponent">
<column name="name" phpName="DbName" primaryKey="true" type="VARCHAR" size="32" required="true" />
<column name="ip" phpName="DbIp" type="VARCHAR" size="18" required="true"/>
</table>
</database>

View file

@ -498,6 +498,24 @@ CREATE TABLE "cc_login_attempts"
COMMENT ON TABLE "cc_login_attempts" IS '';
SET search_path TO public;
-----------------------------------------------------------------------------
-- cc_component
-----------------------------------------------------------------------------
DROP TABLE "cc_component" CASCADE;
CREATE TABLE "cc_component"
(
"name" VARCHAR(32) NOT NULL,
"ip" VARCHAR(32) NOT NULL,
PRIMARY KEY ("name")
);
COMMENT ON TABLE "cc_component" IS '';
SET search_path TO public;
ALTER TABLE "cc_access" ADD CONSTRAINT "cc_access_owner_fkey" FOREIGN KEY ("owner") REFERENCES "cc_subjs" ("id");