Ok, my messaging system aka the Mailing sytem is set up a bit like this.
id,
senders_id int,
receivers_id int,
message varchar(250),
snipped the random rest of it.
Anyway i was wondering if it's possible to have two seperate foreign keys. Since both senders_id and recievers_id are both holding the id of a player which is stored inside of the players table and both are referencing players(id) for their value and various other information. Is it possible to have more than one foreign key and it work well? Or is there some sort of "it's the end of the world" type event that'll come of this?
I'm going to still try it right now after i'm done posting this but i thought i'd ask how it'd all go since i'm going to include a similar thing for the pvp logs/trade logs if it was possible and works fine.
nvm the last things it seems that i forgot to make sure that the id in the other table was unsigned and the rest are the same forgot to cehck for exact matches. The original question remains.