Свойство | Тип | Описание | |
---|---|---|---|
$comment | |||
$helper |
Метод | Описание | |
---|---|---|
__construct ( |
||
create ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint | Create a new table on the schema. | |
drop ( string $table ) : Illuminate\Database\Schema\Blueprint | Drop a table from the schema. | |
dropIfExists ( string $table ) : Illuminate\Support\Fluent | Indicate that the table should be dropped if it exists. | |
getColumnListing ( string $table ) : array | Get the column listing for a given table. | |
hasTable ( string $table ) : boolean | Determine if the given table exists. | |
table ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint | Changes an existing table on the schema. |
Метод | Описание | |
---|---|---|
createBlueprint ( string $table, Closure $callback = null ) : Illuminate\Database\Schema\Blueprint | Create a new command set with a Closure. |
public __construct ( |
||
$connection |
protected createBlueprint ( string $table, Closure $callback = null ) : Illuminate\Database\Schema\Blueprint | ||
$table | string | |
$callback | Closure | |
Результат | Illuminate\Database\Schema\Blueprint |
public dropIfExists ( string $table ) : Illuminate\Support\Fluent | ||
$table | string | |
Результат | Illuminate\Support\Fluent |
public getColumnListing ( string $table ) : array | ||
$table | string | |
Результат | array |