Skip to content

Commit

Permalink
add char to modifiable column types (#7764)
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari authored Mar 3, 2022
1 parent c000773 commit 1dd2751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ We could also modify a column to be nullable:
$table->string('name', 50)->nullable()->change();
});

> {note} The following column types can be modified: `bigInteger`, `binary`, `boolean`, `date`, `dateTime`, `dateTimeTz`, `decimal`, `integer`, `json`, `longText`, `mediumText`, `smallInteger`, `string`, `text`, `time`, `unsignedBigInteger`, `unsignedInteger`, `unsignedSmallInteger`, and `uuid`. To modify a `timestamp` column type a [Doctrine type must be registered](#prerequisites).
> {note} The following column types can be modified: `bigInteger`, `binary`, `boolean`, `char`, `date`, `dateTime`, `dateTimeTz`, `decimal`, `integer`, `json`, `longText`, `mediumText`, `smallInteger`, `string`, `text`, `time`, `unsignedBigInteger`, `unsignedInteger`, `unsignedSmallInteger`, and `uuid`. To modify a `timestamp` column type a [Doctrine type must be registered](#prerequisites).
<a name="renaming-columns"></a>
#### Renaming Columns
Expand Down

0 comments on commit 1dd2751

Please sign in to comment.