[Hpr] Fwd: How to link multiple hosts in a mysql db

Ken Fallon ken.fallon at gmail.com
Wed May 15 09:08:24 PDT 2013

On Wed, 15 May 2013 14:24:21 +0200
Johan Vervloet <johan.vervloet at gmail.com> wrote:

> (I should have sent this to the list :-))
> ---------- Forwarded message ----------
> From: Johan Vervloet <johan.vervloet at gmail.com>
> Date: 2013/5/15
> Subject: Re: [Hpr] How to link multiple hosts in a mysql db
> To: Dave Morriss <dave.morriss at gmail.com>
> 2013/5/15 Dave Morriss <dave.morriss at gmail.com>:
> > On 15/05/13 11:39, Ken Fallon wrote:
> >> OK then, how do I deal with someone that contributes but is not a
> >> host ! For Example, Pokeys Son.
> The easiest way is - imo - Renaming the table 'host' to 'contributor',
> and add to the table a boolean column, 'IsHost'. Set it to true for
> hosts.
> Johan

(Apologies to Pokey for the use of his family for this exercise) 

In my view, every "person" is a "Host", it's just some of them don't
know it yet. Therefore the "Hosts" table can be maintained as it is but
with the addition of "hosts" that have not authored their own show as

Atom makes a distinction between author and contributor

So the episodes table would have a link to a "author" from the host

So the new table would be a contributor table with an n:m relationship.


More information about the Hpr mailing list