GetContext returns the migration context for cancellation checking
()
| 1004 | |
| 1005 | // GetContext returns the migration context for cancellation checking |
| 1006 | func (mctx *MigrationContext) GetContext() context.Context { |
| 1007 | return mctx.ctx |
| 1008 | } |
| 1009 | |
| 1010 | // SetAbortError stores the fatal error that triggered abort |
| 1011 | // Only the first error is stored (subsequent errors are ignored) |
no outgoing calls