Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

Conflicts:
	install_minimal/upgrades/airtime-2.0.0/airtime-upgrade.php
This commit is contained in:
Martin Konecny 2011-11-03 14:51:55 -04:00
commit 3d6c66a4d5
4 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,25 @@
<?php
namespace DoctrineMigrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
class Version20111102142811 extends AbstractMigration
{
public function up(Schema $schema)
{
// change 'soundcloud_upload' -> 'soundcloud_auto_upload_recorded_show' CC-2928
$this->_addSql("UPDATE cc_pref SET keystr = 'soundcloud_auto_upload_recorded_show'
WHERE keystr = 'soundcloud_upload'");
// add soundcloud_link_to_file
$cc_files = $schema->getTable('cc_files');
$cc_files->addColumn('soundcloud_link_to_file', 'string', array('length' => 4096, 'notnull' => 0, 'default'=> NULL));
}
public function down(Schema $schema)
{
}
}