Skip to content

Commit

Permalink
URLをNULL許可するように変更。
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-endo committed Feb 19, 2016
1 parent 957c7ca commit a7019f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Migration/Version201602161300.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public function up(Schema $schema)
{
// this up() migration is auto-generated, please modify it to your needs
$table = $schema->getTable('plg_product_maker');
if (!$table->hasColumn('maker_url')) {
$table->addColumn('maker_url', 'text', array('notnull' => true));
if ($table->hasColumn('maker_url')) {
$table->changeColumn('maker_url', array('NotNull' => false));
}
}

Expand Down

0 comments on commit a7019f8

Please sign in to comment.