removing check_same_thread as it is not supported on mysql and only needed by memory based sqllite, we use file based sqllite