Ok, earlier today I searched for a guide on how to make a gameobject work for a specific race. I found nothing. So I took the thing in my own hands and figured out how to do it. An example of this is in Shattrath in the middle. There is portals to all the main cities and the alliance being unable to take the horde portals and so.
So... I thought it was just to spawn that portal. But it didn't work. So I searched my db for difference from the 2 gameobjects and found it in Gameobject_spawns
So if you want to change a gameobject for a specific race go into "Gameobject_Spawns" ok... find your spawned gameobject. And the 14th row I think is named "Factions" so. I haven't rly looked up any factions yet but I found Alliance and Horde Faction atleast
Alliance = 1732
Horde = 1735
Thats what I found out.
You can check other items for their faction also.
Hope this helped somebody
This is my first guide. Please tell me if I need explain something beter.