Adonis with postgres


#1

Hello,

Forgive for my bad english.

I’m trying to use a postgres database with models to create entries.
When I post my form, all tables are filled correctly, but an error is thrown:
“error: la colonne « $attributes » de la relation « xxxx » n’existe pas”

in english:
"error: the “$attributes” column of the “xxxx " relationship does not exist”

I don’t understand this error. Is there an adonis issue or a database issue ? it may be missing a configuration on the connection configuration ?

Any idea ?


#2

I finally found the problem. 50 lines further, there was another insert with the same values but not using the models.

resolved :slight_smile: