quick little question
Posted: Fri Jan 28, 2011 5:02 am
In mysql i have a table....ok in this table it stores the players buildings that he/she has per city...so i wanna know how many fields is too much?
like right now i have so far:
id (AI)
cityid
playerid
tag1
1_level
tag2
2_level
tag3
3_level
tag4
4_level
tag5
5_level
.........
and that keeps going on to fill all the city spots that player can build per city.....so in the end is going to be aprox 34-40 fields...
so im wondering if this is too much?
or should i make seperate tables...like one called villagepositions:
id
userid
cityid
tag1
tag2
tag3
tag4
....and so on
and then have a table for the building levels:
id
userid
cityid
buildingid
tagid
?????????????????????????????????????????
like right now i have so far:
id (AI)
cityid
playerid
tag1
1_level
tag2
2_level
tag3
3_level
tag4
4_level
tag5
5_level
.........
and that keeps going on to fill all the city spots that player can build per city.....so in the end is going to be aprox 34-40 fields...
so im wondering if this is too much?
or should i make seperate tables...like one called villagepositions:
id
userid
cityid
tag1
tag2
tag3
tag4
....and so on
and then have a table for the building levels:
id
userid
cityid
buildingid
tagid
?????????????????????????????????????????