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:
parent
514777e8d2
commit
b11cbd8159
4546 changed files with 138 additions and 51 deletions
40
airtime_mvc/library/Zend/Queue/Adapter/Db/queue_sqlite.sql
Normal file
40
airtime_mvc/library/Zend/Queue/Adapter/Db/queue_sqlite.sql
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
Sample grant for SQLite
|
||||
|
||||
CREATE ROLE queue LOGIN
|
||||
PASSWORD '[CHANGE ME]'
|
||||
NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
|
||||
|
||||
*/
|
||||
|
||||
--
|
||||
-- Table structure for table `queue`
|
||||
--
|
||||
|
||||
CREATE TABLE queue
|
||||
(
|
||||
queue_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
queue_name VARCHAR(100) NOT NULL,
|
||||
timeout INTEGER NOT NULL DEFAULT 30
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
--
|
||||
-- Table structure for table `message`
|
||||
--
|
||||
|
||||
CREATE TABLE message
|
||||
(
|
||||
message_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
queue_id INTEGER PRIMARY KEY,
|
||||
handle CHAR(32),
|
||||
body VARCHAR(8192) NOT NULL,
|
||||
md5 CHAR(32) NOT NULL,
|
||||
timeout REAL,
|
||||
created INTEGER,
|
||||
FOREIGN KEY (queue_id) REFERENCES queue(queue_id)
|
||||
);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue