LaravelDatabaseSchema

Summary

No public properties found
No constants found
No protected properties found
N/A
No private methods found
No private properties found
N/A
File
databaseschema.php
Package
Default
Class hierarchy
LaravelDatabaseSchema

Tags

None found

Methods

table()

table(string  $table, \Closure  $callback) : void

Begin a fluent schema operation on a database table.

Parameters

string $table
Closure $callback

static

Tags

None found

create()

create(string  $table, \Closure  $callback) : void

Create a new database table schema.

Parameters

string $table
Closure $callback

static

Tags

None found

rename()

rename(string  $table, string  $new_name) : void

Rename a database table in the schema.

Parameters

string $table
string $new_name

static

Tags

None found

drop()

drop(string  $table, string  $connection = null) : void

Drop a database table from the schema.

Parameters

string $table
string $connection

static

Tags

None found

execute()

execute(\Laravel\Database\Schema\Table  $table) : void

Execute the given schema operation against the database.

Parameters

LaravelDatabaseSchemaTable $table

static

Tags

None found

grammar()

grammar(\Laravel\Database\Connection  $connection) : \Laravel\Database\Grammar

Create the appropriate schema grammar for the driver.

Parameters

LaravelDatabaseConnection $connection

Returns

LaravelDatabaseGrammar

static

Tags

None found

implications()

implications(\Laravel\Database\Schema\Table  $table) : void

Add any implicit commands to the schema table operation.

Parameters

LaravelDatabaseSchemaTable $table

static

Tags

None found