migrant/types

Types

pub type Error {
  ExpectedFolderError
  FileError(simplifile.FileError)
  FilenameError(message: String)
  ExtractionError(message: String)
  DatabaseError(sqlight.Error)
  MigrationError(message: String, err: Error)
  RollbackError
}

Constructors

  • ExpectedFolderError
  • FileError(simplifile.FileError)
  • FilenameError(message: String)
  • ExtractionError(message: String)
  • DatabaseError(sqlight.Error)
  • MigrationError(message: String, err: Error)
  • RollbackError
pub type Migration {
  Migration(up: Option(String), down: Option(String))
}

Constructors

  • Migration(up: Option(String), down: Option(String))
pub type Migrations =
  Map(String, Migration)
Search Document