CC-3015: Upgrade: upgrade fails

-fixed
This commit is contained in:
Martin Konecny 2011-11-03 14:16:43 -04:00
parent b99d0f97ce
commit 6741adebef
6 changed files with 50 additions and 9 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace DoctrineMigrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
class Version20111103141311 extends AbstractMigration
{
public function up(Schema $schema)
{
// add timezone column to cc_show_days
$cc_subjs = $schema->getTable('cc_show_days');
$cc_subjs->addColumn('timezone', 'string', array('required' => true));
}
public function down(Schema $schema)
{
}
}