Closed lgraba closed 9 years ago
It looks like Laravel doesn't update timestamp columns on pivot tables. Will have to see what to do about this, as it would be nice to have a record of how long two users have been friends for.
Very very simple solution: Append the withTimestamps() method call onto the end of each side of the relational mapping in the User model.
It looks like Laravel doesn't update timestamp columns on pivot tables. Will have to see what to do about this, as it would be nice to have a record of how long two users have been friends for.