I seem to be getting an error similar to the following error for a lot of different fields when I try to create new objects. I added the type field in recently and since then I cannot create objects. I have had a similar problem creating fields with json type.
Error Example
[ { message: 'ER_BAD_FIELD_ERROR: Unknown column \'type\' in \'field list\'',
locations: [Array],
path: [Array],
name: 'SequelizeDatabaseError' } ]
When I query the field list relating to the Type I get the following which seems to indicate 'type' is in fact in the fields list as far as I understand anyway.
I seem to be getting an error similar to the following error for a lot of different fields when I try to create new objects. I added the type field in recently and since then I cannot create objects. I have had a similar problem creating fields with json type.
Error Example [ { message: 'ER_BAD_FIELD_ERROR: Unknown column \'type\' in \'field list\'', locations: [Array], path: [Array], name: 'SequelizeDatabaseError' } ]
When I query the field list relating to the Type I get the following which seems to indicate 'type' is in fact in the fields list as far as I understand anyway.
query { __type(name: "Token"){ fields{ name } } }
result { "data": { "__type": { "fields": [ { "name": "type" }, { "name": "value" }, { "name": "expiry" }, { "name": "id" }, { "name": "modifiedAt" }, { "name": "createdAt" }, { "name": "user" } ] } } }
Any help would be much appreciated.
Cheers,
Adam