SqliteSchemaGrammar
final class SqliteSchemaGrammar implements SchemaGrammarInterface (View source)
Methods
compileCreateDatabase(string $database)
string
compileDropDatabase(string $database)
string
compileCreateTable(TableDefinition $table)
string
array
compileAlterTable(TableDefinition $table)
array
compileDropTable(string $table, bool $ifExists = false)
string
compileRenameTable(string $from, string $to)
string
compileAddColumn(string $table, ColumnDefinition $column)
string
compileModifyColumn(string $table, ColumnDefinition $column)
string
compileDropColumn(string $table, string $column)
string
compileAddIndex(string $table, IndexDefinition $index)
string
compileDropIndex(string $table, string $index)
string
compileAddForeignKey(string $table, ForeignKeyDefinition $foreignKey)
string
compileDropForeignKey(string $table, string $foreignKey)
string
Details
compileCreateDatabase
string
compileCreateDatabase(string $database)
No description
compileDropDatabase
string
compileDropDatabase(string $database)
No description
compileCreateTableStatements
array
compileCreateTableStatements(TableDefinition $table)
No description
compileDropTable
string
compileDropTable(string $table, bool $ifExists = false)
No description
compileRenameTable
string
compileRenameTable(string $from, string $to)
No description
compileModifyColumn
string
compileModifyColumn(string $table, ColumnDefinition $column)
No description
compileDropColumn
string
compileDropColumn(string $table, string $column)
No description
compileDropIndex
string
compileDropIndex(string $table, string $index)
No description
compileAddForeignKey
string
compileAddForeignKey(string $table, ForeignKeyDefinition $foreignKey)
No description
compileDropForeignKey
string
compileDropForeignKey(string $table, string $foreignKey)
No description