aashan10/portal2

Re-code post parent id in Posts migration.

Closed this issue · 1 comments

The parent id is required for managing attachments and comments on the post. So, we'll be needing post parent id foreign key field on the database migration along with nullable type.
The post_parent_id should point to the post id itself.