'undefined method current_database' causing ffcrm:setup rake task halt when using SQLite3

When running ffcrm:setup for the first time on an instance running SQLite3, rake task is unable to proceed, giving the following error:

undefined method `current_database' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x000001040e2630>

SQLite3Adapter does not have a current_database method.

I've created a check to pull the sqlite3 database name using 'instance_variable_get' if it is detected that the adapter in use is indeed SQLite3Adapter.

Else, it will proceed as per normal and use 'current_database'.