Photo Gallery

Could not successfully run query (SELECT * FROM gallery WHERE image_path != "" AND orientation="L" ORDER BY sequence) from DB: Unknown column 'orientation' in 'where clause'