CC-3015: Upgrade: upgrade fails
-fixed
This commit is contained in:
parent
b99d0f97ce
commit
6741adebef
6 changed files with 50 additions and 9 deletions
21
install_minimal/DoctrineMigrations/Version20111103141311.php
Normal file
21
install_minimal/DoctrineMigrations/Version20111103141311.php
Normal 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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue