void rename(string $from, string $to) Rename a table on the schema. Parameters string $from string $to Return Value void
bool hasTable(string $table) Determine if the given table exists. Parameters string $table 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 hasColumn(string $table, string $column) Determine if the given table has a given column. Parameters string $table string $column Return Value bool
Connection getConnection() Get the database connection instance. Return Value Connection
string getColumnType(string $table, string $column) Get the data type for the given column name. Parameters string $table string $column Return Value string
array getColumnListing(string $table) Get the column listing for a given table. Parameters string $table Return Value array
bool enableForeignKeyConstraints() Enable foreign key constraints. Return Value bool
void dropIfExists(string $table) Drop a table from the schema if it exists. Parameters string $table Return Value void
void drop(string $table) Drop a table from the schema. Parameters string $table Return Value void
Page 331 of 996