Unfortunately I'm not able to emulate the database transaction closing with SQLite upon truncate() (SQLite will execute a DELETE statement since it apparently does not support truncates).
I did however add a sanity test so we're sure all records are actually deleted with delete().
If you'd like me to scaffold a GitHub test action with a MySQL instance to run the tests on let me know! 👍
Closes https://github.com/babenkoivan/elastic-migrations/issues/34
Unfortunately I'm not able to emulate the database transaction closing with SQLite upon
truncate()
(SQLite will execute aDELETE
statement since it apparently does not support truncates).I did however add a sanity test so we're sure all records are actually deleted with
delete()
.If you'd like me to scaffold a GitHub test action with a MySQL instance to run the tests on let me know! 👍