메소드 |
설명 |
|
blueprintResolver ( Closure $resolver ) : void |
Set the Schema Blueprint resolver callback. |
|
create ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint |
Create a new table on the schema. |
|
disableForeignKeyConstraints ( ) : boolean |
Disable foreign key constraints. |
|
drop ( string $table ) : Illuminate\Database\Schema\Blueprint |
Drop a table from the schema. |
|
dropIfExists ( string $table ) : Illuminate\Database\Schema\Blueprint |
Drop a table from the schema if it exists. |
|
enableForeignKeyConstraints ( ) : boolean |
Enable foreign key constraints. |
|
getColumnListing ( string $table ) : array |
Get the column listing for a given table. |
|
getColumnType ( string $table, string $column ) : string |
Get the data type for the given column name. |
|
getConnection ( ) : Connection |
Get the database connection instance. |
|
hasColumn ( string $table, string $column ) : boolean |
Determine if the given table has a given column. |
|
hasColumns ( string $table, array $columns ) : boolean |
Determine if the given table has given columns. |
|
hasTable ( string $table ) : boolean |
Determine if the given table exists. |
|
rename ( string $from, string $to ) : Illuminate\Database\Schema\Blueprint |
Rename a table on the schema. |
|
setConnection ( Connection $connection ) |
Set the database connection instance. |
|
table ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint |
Modify a table on the schema. |
|