Where error stopped in the file whole of migration name. statement is the text the
server was sent: the whole file, or one statement inside it (a slice of whole) for a migration
without a transaction.
- name: the migration's name.
- index: its place in the list, from 0.
- whole: the migration's file.
- statement: the text that was sent to the server.
- error: what the server answered.
migration_failure :: (
name: string,
index: s64,
whole: string,
statement: string,
error: Pg_Error
) -> Migration_Failure
Where error stopped in the file whole of migration name. statement is the text the
server was sent: the whole file, or one statement inside it (a slice of whole) for a migration
without a transaction.
Parameters
- name: string
- the migration's name.
- index: s64
- its place in the list, from 0.
- whole: string
- the migration's file.
- statement: string
- the text that was sent to the server.
- error: Pg_Error
- what the server answered.