slick-migration-api
slick-migration-api
API
slick.migration.api
AddColumnWithInitialValue
CanConcatMigrations
CanConcatMigrations
CanConcatMigrationsLow
DerbyDialect
Dialect
GenericDialect
H2Dialect
HsqldbDialect
Migration
Migration
MigrationConcat
MigrationSeq
MySQLDialect
OracleDialect
PostgresDialect
ReversibleMigration
ReversibleMigrationSeq
SQLiteDialect
SimulatedRenameIndex
SqlMigration
SqlMigration
TableMigration
Action
Action
AddColumn
AddColumnAndSetInitialValue
AddForeignKey
AddPrimaryKey
AlterColumnDefault
AlterColumnNullable
AlterColumnType
CreateIndex
CreateTable
DropColumn
DropColumnOfName
DropForeignKey
DropIndex
DropPrimaryKey
DropTable
RenameColumnFrom
RenameColumnTo
RenameIndexFrom
RenameIndexTo
RenameTableFrom
RenameTableTo
Reversible
Reversible
WithActions
WithActions
WithActionsLow
TableMigration
ToReversible
ToReversible
slick-migration-api
/
slick.migration.api
/
H2Dialect
H2Dialect
slick.migration.api.H2Dialect
class
H2Dialect
extends
Dialect
[
H2Profile
]
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Dialect
[
H2Profile
]
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Concrete methods
override
def
autoInc
(
ci
:
ColumnInfo
):
String
Attributes
Definition Classes
Dialect
override
def
columnType
(
ci
:
ColumnInfo
):
String
Attributes
Definition Classes
Dialect
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
alterColumnNullability
(
table
:
TableInfo
,
column
:
ColumnInfo
):
String
Attributes
Inherited from:
Dialect
def
alterColumnType
(
table
:
TableInfo
,
column
:
ColumnInfo
):
List
[
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
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
createPrimaryKey
(
table
:
TableInfo
,
name
:
String
,
columns
:
Seq
[
FieldSymbol
]):
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
dropForeignKey
(
sourceTable
:
TableInfo
,
name
:
String
):
String
Attributes
Inherited from:
Dialect
def
dropIndex
(
index
:
IndexInfo
):
String
Attributes
Inherited from:
Dialect
def
dropPrimaryKey
(
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
quoteIdentifier
(
id
:
String
):
String
Attributes
Inherited from:
Dialect
def
quoteTableName
(
t
:
TableInfo
):
String
Attributes
Inherited from:
Dialect
def
renameColumn
(
table
:
TableInfo
,
from
:
ColumnInfo
,
to
:
String
):
String
Attributes
Inherited from:
Dialect
def
renameColumn
(
table
:
TableInfo
,
from
:
String
,
to
:
String
):
String
Attributes
Inherited from:
Dialect
def
renameIndex
(
old
:
IndexInfo
,
newName
:
String
):
List
[
String
]
Attributes
Inherited from:
Dialect
def
renameTable
(
table
:
TableInfo
,
to
:
String
):
String
Attributes
Inherited from:
Dialect
In this article
Attributes
Members list
Value members
Concrete methods
Inherited methods