Nice post to read. Really clear and easy to understand.
About the posts migration file I have a suggestion.
If the “body” column will store string of more than 255 characters length, before running the migration I would suggest to change its type to ":text".
This will allow to store post with unlimited length body in the database. The Post schema however is ok with the type ":string" for the body field.
I am a certified trainer that likes to share my knowledge with the world.
Also, I am an adopter of continuous learning and evolving idea.
https://dev.to/wolfiton/who-am-i-3lj7
Nice post to read. Really clear and easy to understand.
About the posts migration file I have a suggestion.
If the “body” column will store string of more than 255 characters length, before running the migration I would suggest to change its type to ":text".
This will allow to store post with unlimited length body in the database. The Post schema however is ok with the type ":string" for the body field.
I will add an alter table to the migration to change this using a generated migration, tomorrow.
Thanks @kurisusan for the suggestion.