CC-3605 : Create 2.1 upgrades

This commit is contained in:
Naomi Aro 2012-04-10 15:54:38 +02:00
parent 1bc208d724
commit e4cb109163
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,10 @@ class Version20120410143340 extends AbstractMigration
{
public function up(Schema $schema)
{
//add temp columns for changing bitrate and sample rate to integers.
$this->_addSql("ALTER TABLE cc_playlist ADD creator_id integer");
$this->_addSql("UPDATE cc_playlist SET creator_id = ()");
}
public function down(Schema $schema)