Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Old-style manual migrations of the SQLlite database. These migrations are soon to be removed in favor of a file format with version number.
Synopsis
- data DefaultFieldValues = DefaultFieldValues { }
- migrateManually :: WalletKey k => Tracer IO DBLog -> Proxy k -> DefaultFieldValues -> [ ManualMigration ]
- newtype SchemaVersion = SchemaVersion Natural
- currentSchemaVersion :: SchemaVersion
- data InvalidDatabaseSchemaVersion = InvalidDatabaseSchemaVersion { }
Documentation
data DefaultFieldValues Source #
A set of default field values that can be consulted when performing a database migration.
migrateManually :: WalletKey k => Tracer IO DBLog -> Proxy k -> DefaultFieldValues -> [ ManualMigration ] Source #
Executes any manual database migration steps that may be required on startup.
newtype SchemaVersion Source #