CC-3683: Upgraded database not equivalent to fresh install database part 1
- fixed cc_show table upgrade
This commit is contained in:
parent
5ec2408478
commit
a289480e27
|
@ -10,10 +10,10 @@ class Version20120403143635 extends AbstractMigration
|
||||||
public function up(Schema $schema)
|
public function up(Schema $schema)
|
||||||
{
|
{
|
||||||
$cc_show = $schema->getTable('cc_show');
|
$cc_show = $schema->getTable('cc_show');
|
||||||
$cc_show->addColumn('live_stream_using_airtime_auth', 'boolean', array('default'=> 'false'));
|
$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'=> 'false'));
|
$cc_show->addColumn('live_stream_using_custom_auth', 'boolean', array('default'=> 0, 'notnull' => 0));
|
||||||
$cc_show->addColumn('live_stream_user', 'string', array('notnull' => 0, 'length' => 255));
|
$cc_show->addColumn('live_stream_user', 'string', array('default'=> 0, 'notnull' => 0, 'length' => 255));
|
||||||
$cc_show->addColumn('live_stream_pass', 'string', array('notnull' => 0, 'length' => 255));
|
$cc_show->addColumn('live_stream_pass', 'string', array('default'=> 0, 'notnull' => 0, 'length' => 255));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function down(Schema $schema)
|
public function down(Schema $schema)
|
||||||
|
|
Loading…
Reference in New Issue