CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.

This commit is contained in:
Paul Baranowski 2011-04-14 18:55:04 -04:00
parent 514777e8d2
commit b11cbd8159
4546 changed files with 138 additions and 51 deletions

View file

@ -0,0 +1,49 @@
/*
Sample grant for PostgreSQL
CREATE ROLE queue LOGIN
PASSWORD '[CHANGE ME]'
NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
*/
--
-- Table structure for table `queue`
--
DROP TABLE IF EXISTS queue;
CREATE TABLE queue
(
queue_id serial NOT NULL,
queue_name character varying(100) NOT NULL,
timeout smallint NOT NULL DEFAULT 30,
CONSTRAINT queue_pk PRIMARY KEY (queue_id)
)
WITH (OIDS=FALSE);
ALTER TABLE queue OWNER TO queue;
-- --------------------------------------------------------
--
-- Table structure for table `message`
--
DROP TABLE IF EXISTS message;
CREATE TABLE message
(
message_id bigserial NOT NULL,
queue_id integer,
handle character(32),
body character varying(8192) NOT NULL,
md5 character(32) NOT NULL,
timeout real,
created integer,
CONSTRAINT message_pk PRIMARY KEY (message_id),
CONSTRAINT message_ibfk_1 FOREIGN KEY (queue_id)
REFERENCES queue (queue_id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE
)
WITH (OIDS=FALSE);
ALTER TABLE message OWNER TO queue;