I started building a new API for a side project of mine.
I created my first resource using the
mix phoenix.gen.json task.
I started to play around with it directly on Postman just to make sure I have everything setup properly and when I looked at the console I got a nice surprise.
Notice that is creating both a
updated_at fields into the db.
Those fields are not exposed in the model since I didn't declare them when running my generator, but they are already there ready for me to consume.