Issues with wardrobe on PostgreSQL database.
srcr opened this issue · comments
There are a few issues with PostgreSQL support specialy on the tags table.
one I already identified:
When adding a tag this query is run on the database (SQL: insert into "tags" ("tag", "post_id") values (?, ?) returning "id") but id is not a valid field. it should return post_id.
the second is querying for a tag list:
'SQLSTATE[42803]: Grouping error: 7 ERROR: column "tags.post_id" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: select distinct * from "tags" group by "tag" order by "tag"
If you need any help with testing from my end please let me know.