array getColumnListing(string $table) Get the column listing for a given table. Parameters string $table Return Value array
string getColumnType(string $table, string $column) Get the data type for the given column name. Parameters string $table string $column Return Value string
Connection getConnection() Get the database connection instance. Return Value Connection
bool hasColumn(string $table, string $column) Determine if the given table has a given column. Parameters string $table string $column Return Value bool
bool hasColumns(string $table, array $columns) Determine if the given table has given columns. Parameters string $table array $columns Return Value bool
bool hasTable(string $table) Determine if the given table exists. Parameters string $table Return Value bool
void rename(string $from, string $to) Rename a table on the schema. Parameters string $from string $to Return Value void
$this setConnection(Connection $connection) Set the database connection instance. Parameters Connection $connection Return Value $this
Blueprint table(string $table, Closure $callback) Modify a table on the schema. Parameters string $table Closure $callback Return Value Blueprint
void __construct(Connection $connection) Create a new database Schema manager. Parameters Connection $connection Return Value void
Page 9600 of 11844