CC-3683: Upgraded database not equivalent to fresh install database part 1

- fixed cc_show table upgrade
This commit is contained in:
James 2012-04-27 15:30:51 -04:00
parent 5ec2408478
commit a289480e27
1 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,10 @@ class Version20120403143635 extends AbstractMigration
public function up(Schema $schema)
{
$cc_show = $schema->getTable('cc_show');
$cc_show->addColumn('live_stream_using_airtime_auth', 'boolean', array('default'=> 'false'));
$cc_show->addColumn('live_stream_using_custom_auth', 'boolean', array('default'=> 'false'));
$cc_show->addColumn('live_stream_user', 'string', array('notnull' => 0, 'length' => 255));
$cc_show->addColumn('live_stream_pass', 'string', array('notnull' => 0, 'length' => 255));
$cc_show->addColumn('live_stream_using_airtime_auth', 'boolean', array('default'=> 0, 'notnull' => 0));
$cc_show->addColumn('live_stream_using_custom_auth', 'boolean', array('default'=> 0, 'notnull' => 0));
$cc_show->addColumn('live_stream_user', 'string', array('default'=> 0, 'notnull' => 0, 'length' => 255));
$cc_show->addColumn('live_stream_pass', 'string', array('default'=> 0, 'notnull' => 0, 'length' => 255));
}
public function down(Schema $schema)