* Tobias Kremer <[EMAIL PROTECTED]> [070424 11:20]:
> But then you won't be able to tell who requested the friendship and who
> received the request. The good thing is, that this could be done without
> database triggers by overwriting DBIx::Class's insert method.

Just add another column, initiated_by, and set it to the id of the user
initiating the friendship.

        -Marc

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to