Database reflection for sqlite3