class BlueprintState (View source)
| protected Blueprint | $blueprint | The blueprint instance. | |
| protected Connection | $connection | The connection instance. | |
| protected Grammar | $grammar | The grammar instance. |
| void | __construct(Blueprint $blueprint, Connection $connection, Grammar $grammar)
Create a new blueprint state instance. | |
| IndexDefinition|null | getPrimaryKey()
Get the primary key. | |
| ColumnDefinition[] | getColumns()
Get the columns. | |
| IndexDefinition[] | getIndexes()
Get the indexes. | |
| ForeignKeyDefinition[] | getForeignKeys()
Get the foreign keys. | |
| update(Fluent $command) No description |
Create a new blueprint state instance.
Get the primary key.
Get the columns.
Get the indexes.
Get the foreign keys.
No description
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/Schema/BlueprintState.html