Proposing a way for database classes/drivers modification. This is a backport from version 4, see https://github.com/ivantcholakov/starter-public-edition-4/issues/5