Fix add audit tables migration for SQLite
Fix session for SQLite