Skip to content

Commit

Permalink
Merge pull request #28769 from jhaoda/patch-1
Browse files Browse the repository at this point in the history
[5.8] Update generatedAs() signature
  • Loading branch information
taylorotwell authored Jun 8, 2019
2 parents 9e20849 + 50c3540 commit cc79533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Database/Schema/ColumnDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Illuminate\Database\Schema;

use Illuminate\Support\Fluent;
use Illuminate\Database\Query\Expression;

/**
* @method ColumnDefinition after(string $column) Place the column "after" another column (MySQL)
Expand All @@ -14,7 +15,7 @@
* @method ColumnDefinition comment(string $comment) Add a comment to the column (MySQL)
* @method ColumnDefinition default(mixed $value) Specify a "default" value for the column
* @method ColumnDefinition first() Place the column "first" in the table (MySQL)
* @method ColumnDefinition generatedAs(string $expression) Create a SQL compliant identity column (PostgreSQL)
* @method ColumnDefinition generatedAs(string|Expression $expression = null) Create a SQL compliant identity column (PostgreSQL)
* @method ColumnDefinition index(string $indexName = null) Add an index
* @method ColumnDefinition nullable(bool $value = true) Allow NULL values to be inserted into the column
* @method ColumnDefinition primary() Add a primary index
Expand Down

0 comments on commit cc79533

Please sign in to comment.