CC-3605 : Create 2.1 upgrades
This commit is contained in:
parent
1bc208d724
commit
e4cb109163
|
@ -9,7 +9,10 @@ class Version20120410143340 extends AbstractMigration
|
||||||
{
|
{
|
||||||
public function up(Schema $schema)
|
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)
|
public function down(Schema $schema)
|
||||||
|
|
Loading…
Reference in New Issue