Skip to content

Commit

Permalink
Merge pull request laravel#2165 from EricTendian/5.2
Browse files Browse the repository at this point in the history
Noting issue with modifying columns where an enum is present in the table
  • Loading branch information
taylorotwell committed Feb 25, 2016
2 parents 58447f4 + 41a0328 commit d41c3c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ We could also modify a column to be nullable:
$table->string('name', 50)->nullable()->change();
});

> **Note:** Modifying any column in a table that also has a column of type `enum` is not currently supported.
<a name="renaming-columns"></a>
#### Renaming Columns

Expand All @@ -265,7 +267,7 @@ To rename a column, you may use the `renameColumn` method on the Schema builder.
$table->renameColumn('from', 'to');
});

> **Note:** Renaming columns in a table with a `enum` column is not currently supported.
> **Note:** Renaming any column in a table that also has a column of type `enum` is not currently supported.
<a name="dropping-columns"></a>
### Dropping Columns
Expand Down

0 comments on commit d41c3c5

Please sign in to comment.