Laravel migration, how to deal with enum & SQLite in tests context

Sometimes running tests could be the hell, when you have to implement tests with testing tools that not working perfectly like the production tool you are using. Here a little trick to be able to easily use enum in Laravel migration when you have to switch between MySQL server and SQLite database.

Continue reading