SchemaCompiler
final class SchemaCompiler (View source)
Methods
__construct(SchemaGrammarInterface $grammar)
compileCreate(string $table, Closure $definition, bool $ifNotExists = false)
string
compileCreateStatements(string $table, Closure $definition, bool $ifNotExists = false)
array
compileCreateTable(TableDefinition $definition)
string
compileCreateTableStatements(TableDefinition $definition)
array
compileTable(string $table, Closure $definition)
array
compileDrop(string $table, bool $ifExists = false)
string
compileRename(string $from, string $to)
string
compileCreateDatabase(string $database)
string
compileDropDatabase(string $database)
string
Details
compileCreate
string
compileCreate(string $table, Closure $definition, bool $ifNotExists = false)
No description
compileCreateStatements
array
compileCreateStatements(string $table, Closure $definition, bool $ifNotExists = false)
No description
compileCreateTableStatements
array
compileCreateTableStatements(TableDefinition $definition)
No description
compileDrop
string
compileDrop(string $table, bool $ifExists = false)
No description
compileRename
string
compileRename(string $from, string $to)
No description
compileCreateDatabase
string
compileCreateDatabase(string $database)
No description
compileDropDatabase
string
compileDropDatabase(string $database)
No description