CC-3605 : Create 2.1 upgrades
This commit is contained in:
parent
84efc6afb8
commit
743b5e33af
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue