Fixes error code 42803 when trying to query a view with a column named count.

This commit is contained in:
Diogo Biazus
2015-08-01 00:15:17 -04:00
parent e724c2df00
commit 449cacdacf
4 changed files with 19 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@ spec = around withApp $ do
`shouldRespondWith` [json| [
{"schema":"1","name":"auto_incrementing_pk","insertable":true}
, {"schema":"1","name":"compound_pk","insertable":true}
, {"schema":"1","name":"has_count_column","insertable":false}
, {"schema":"1","name":"has_fk","insertable":true}
, {"schema":"1","name":"insertable_view_with_join","insertable":true}
, {"schema":"1","name":"items","insertable":true}