I am getting an invalid associations in my schemas

Hello everyone. I am creating a blog app where posts have a user_id to know who put up the post. However, when I generate users and posts and update the schema associations in users.ex and posts.ex I am getting this error

invalid association posts in schema Sayapp.Accounts.User: associated schema Sayapp.Posts.Post does not have field user_idElixir

Your help is appreciated.

Hello and welcome,

In order get answer to your question, You need to show some code, in particular both schemas…

There is not enough information