Exunit test strange behaviour

I am trying to test some file uploading related endpoints, and while using the actual enpoint it works perfectly, with the test I am getting this error:

** (Postgrex.Error) ERROR 42703 (undefined_column) column "uuid" of relation "post_attachments" does not exist

Also checking the db, the uuid column is very much there.
Why am i getting this error?

Have you checked your_app_dev or your_app_test? The easiest solution is to bring test DB down and rerun tests env MIX_ENV=test mix do ecto.drop, test.