CC-3605 : Create 2.1 upgrades

This commit is contained in:
Naomi Aro 2012-04-05 16:10:58 +02:00
parent 84efc6afb8
commit 743b5e33af
1 changed files with 3 additions and 4 deletions

View File

@ -31,10 +31,9 @@ class Version20120405114454 extends AbstractMigration
//start changes to cc_files
//$cc_files = $schema->getTable('cc_files');
$con = Doctrine_Manager::getInstance()->connection();
$con->execute("ALTER TABLE cc_files ALTER COLUMN bit_rate TYPE integer");
$con->execute("ALTER TABLE cc_files ALTER COLUMN sample_rate TYPE integer");
$this->_addSql("ALTER TABLE cc_files ALTER COLUMN bit_rate TYPE integer");
$this->_addSql("ALTER TABLE cc_files ALTER COLUMN sample_rate TYPE integer");
//end changes to cc_files
}