Issue #3189064 by Matroskeen, quietone, benjifisher: Migration sql source plugins can not be serialised because of reference to the database connection