Schema
final class Schema (View source)
Methods
createTable(TableDefinition $definition)
bool
drop(string $table, bool $ifExists = false)
bool
rename(string $from, string $to)
bool
createDatabase(string $database)
bool
dropDatabase(string $database)
bool
compileCreate(string $table, Closure $definition, bool $ifNotExists = false)
string
compileCreateStatements(string $table, Closure $definition, bool $ifNotExists = false)
array
compileTable(string $table, Closure $definition)
array
compileDrop(string $table, bool $ifExists = false)
string
compileRename(string $from, string $to)
string
Details
drop
bool
drop(string $table, bool $ifExists = false)
No description
rename
bool
rename(string $from, string $to)
No description
createDatabase
bool
createDatabase(string $database)
No description
dropDatabase
bool
dropDatabase(string $database)
No description
compileCreate
string
compileCreate(string $table, Closure $definition, bool $ifNotExists = false)
No description
compileCreateStatements
array
compileCreateStatements(string $table, Closure $definition, bool $ifNotExists = false)
No description
compileDrop
string
compileDrop(string $table, bool $ifExists = false)
No description
compileRename
string
compileRename(string $from, string $to)
No description