Merge pull request #55 from radiorabe/feature/autodj

Robbs AutoDJ
This commit is contained in:
Robb 2017-03-11 18:41:08 -05:00 committed by GitHub
commit 2be8ef0f2b
65 changed files with 1611 additions and 126 deletions

View file

@ -622,6 +622,7 @@ class ScheduleController extends Zend_Controller_Action
}
$this->view->what = $forms["what"];
$this->view->autoplaylist = $forms["autoplaylist"];
$this->view->when = $forms["when"];
$this->view->repeats = $forms["repeats"];
$this->view->live = $forms["live"];

View file

@ -0,0 +1,3 @@
ALTER TABLE cc_show_instances DROP COLUMN IF EXISTS autoplaylist_built;
ALTER TABLE cc_show DROP COLUMN IF EXISTS has_autoplaylist;
ALTER TABLE cc_show DROP COLUMN IF EXISTS autoplaylist_id;

View file

@ -0,0 +1,3 @@
ALTER TABLE cc_show ADD COLUMN has_autoplaylist boolean default 'f' NOT NULL;
ALTER TABLE cc_show ADD COLUMN autoplaylist_id integer DEFAULT NULL;
ALTER TABLE cc_show_instances ADD COLUMN autoplaylist_built boolean default 'f' NOT NULL;