slick.migration.api
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
A typeclass to determine the best way to combine migrations, either into a ReversibleMigrationSeq or just a MigrationSeq. Used when you call '&' on Migrations. Note that the migrations will be flattened; you will not end up with something like MigrationSeq(MigrationSeq(MigrationSeq(migA, migB), migC), migD)
.
A typeclass to determine the best way to combine migrations, either into a ReversibleMigrationSeq or just a MigrationSeq. Used when you call '&' on Migrations. Note that the migrations will be flattened; you will not end up with something like MigrationSeq(MigrationSeq(MigrationSeq(migA, migB), migC), migD)
.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
- Self type
-
CanConcatMigrations.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object CanConcatMigrations.type
Attributes
- Supertypes
Base class for database dialects. Provides methods that return the dialect-specific SQL strings for performing various database operations. The most important method is perhaps migrateTable, which is called from TableMigration#sql. These methods are to be overridden in database-specific subclasses as needed.
Base class for database dialects. Provides methods that return the dialect-specific SQL strings for performing various database operations. The most important method is perhaps migrateTable, which is called from TableMigration#sql. These methods are to be overridden in database-specific subclasses as needed.
Type parameters
- P
-
The corresponding Slick driver type. Not used, but may come in handy in certain situations.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DerbyDialectclass H2Dialectclass HsqldbDialectclass MySQLDialectclass OracleDialectclass PostgresDialectclass SQLiteDialectShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GenericDialect.type
Attributes
- Supertypes
Attributes
- Supertypes
The base of the migration type hierarchy. Produces a DBIO that runs the migration
The base of the migration type hierarchy. Produces a DBIO that runs the migration
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MigrationSeqclass ReversibleMigrationSeqtrait ReversibleMigrationclass Reversible[T]trait SqlMigrationShow all
Holds a sequence of Migrations and performs them one after the other.
Holds a sequence of Migrations and performs them one after the other.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Migrationclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ReversibleMigrationSeq
Attributes
- Supertypes
-
trait SimulatedRenameIndex[MySQLProfile]class Dialect[MySQLProfile]class Objecttrait Matchableclass Any
Attributes
- Supertypes
Attributes
- Supertypes
A Migration that can be reversed; that is, it can provide a corresponding Migration
that will undo whatever this migration will do.
A Migration that can be reversed; that is, it can provide a corresponding Migration
that will undo whatever this migration will do.
Attributes
- Supertypes
- Known subtypes
-
class ReversibleMigrationSeqclass Reversible[T]
Holds a sequence of ReversibleMigrations and performs them one after the other.
Holds a sequence of ReversibleMigrations and performs them one after the other.
Attributes
- Supertypes
-
trait ReversibleMigrationclass MigrationSeqtrait Serializabletrait Producttrait Equalstrait Migrationclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait SimulatedRenameIndex[SQLiteProfile]class Dialect[SQLiteProfile]class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MySQLDialectclass SQLiteDialect
- Self type
-
Dialect[T]
A Migration defined in terms of SQL commands. This trait implements apply
and instead defines an abstract sql method.
A Migration defined in terms of SQL commands. This trait implements apply
and instead defines an abstract sql method.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class Reversible[T]
Convenience factory for SqlMigration
Convenience factory for SqlMigration
Attributes
- Example
-
SqlMigration("drop table t1", "update t2 set x=10 where y=20")
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SqlMigration.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableMigration.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SqlMigrationtrait Migrationclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToReversible.type