Use meta API rather than sqlite_master