Skip to content
Unverified Commit d187c4c7 authored by Christian Bruckmayer's avatar Christian Bruckmayer
Browse files

[ci] Use truncation strategy for migration tests

this is necessary when Mysql DDE statements (create/drop/truncate table) are used
because these are not supported by transaction strategy otherwise it will raise an
'ActiveRecord::StatementInvalid: Mysql2::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1'
exception.

https://stackoverflow.com/questions/13161394/activerecord-error-savepoint-active-record-1-does-not-exist
parent b6dd5fb5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment