MySQLDialect

slick.migration.api.MySQLDialect
class MySQLDialect extends Dialect[MySQLProfile], SimulatedRenameIndex[MySQLProfile]

Attributes

Graph
Supertypes
trait SimulatedRenameIndex[MySQLProfile]
class Dialect[MySQLProfile]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def alterColumnNullability(table: TableInfo, column: ColumnInfo): String

Attributes

Definition Classes
override def alterColumnType(table: TableInfo, column: ColumnInfo): List[String]

Attributes

Definition Classes
override def autoInc(ci: ColumnInfo): String

Attributes

Definition Classes
override def createPrimaryKey(table: TableInfo, name: String, columns: Seq[FieldSymbol]): String

Attributes

Definition Classes
override def dropForeignKey(table: TableInfo, name: String): String

Attributes

Definition Classes
override def dropIndex(index: IndexInfo): String

Attributes

Definition Classes
override def dropPrimaryKey(table: TableInfo, name: String): String

Attributes

Definition Classes
override def quoteIdentifier(id: String): String

Attributes

Definition Classes
override def renameColumn(table: TableInfo, from: String, to: String): String

Requires MySQL 8.0

Requires MySQL 8.0

Attributes

Definition Classes
override def renameColumn(table: TableInfo, from: ColumnInfo, to: String): String

Attributes

Definition Classes

Inherited methods

def addColumn(table: TableInfo, column: ColumnInfo): String

Attributes

Inherited from:
Dialect
def addColumnWithInitialValue(table: TableInfo, column: ColumnInfo, rawSqlExpr: String): List[String]

Attributes

Inherited from:
Dialect
def alterColumnDefault(table: TableInfo, column: ColumnInfo): String

Attributes

Inherited from:
Dialect
def columnList(columns: Seq[FieldSymbol]): String

Attributes

Inherited from:
Dialect
def columnSql(ci: ColumnInfo, newTable: Boolean): String

Attributes

Inherited from:
Dialect
def columnType(ci: ColumnInfo): String

Attributes

Inherited from:
Dialect
def createForeignKey(sourceTable: TableInfo, name: String, sourceColumns: Seq[FieldSymbol], targetTable: TableInfo, targetColumns: Seq[FieldSymbol], onUpdate: ForeignKeyAction, onDelete: ForeignKeyAction): String

Attributes

Inherited from:
Dialect
def createIndex(index: IndexInfo): String

Attributes

Inherited from:
Dialect
def createTable(table: TableInfo, columns: Seq[ColumnInfo]): List[String]

Attributes

Inherited from:
Dialect
def dropColumn(table: TableInfo, column: String): List[String]

Attributes

Inherited from:
Dialect
def dropConstraint(table: TableInfo, name: String): String

Attributes

Inherited from:
Dialect
def dropTable(table: TableInfo): String

Attributes

Inherited from:
Dialect
def migrateTable(table: TableInfo, actions: List[Action]): List[String]

Attributes

Inherited from:
Dialect
def notNull(ci: ColumnInfo): String

Attributes

Inherited from:
Dialect
def primaryKey(ci: ColumnInfo, newTable: Boolean): String

Attributes

Inherited from:
Dialect
def quoteTableName(t: TableInfo): String

Attributes

Inherited from:
Dialect
override def renameIndex(old: IndexInfo, newName: String): List[String]

Attributes

Definition Classes
Inherited from:
SimulatedRenameIndex
def renameTable(table: TableInfo, to: String): String

Attributes

Inherited from:
Dialect