FlyingIsFun1217 Posted December 12, 2008 Share Posted December 12, 2008 Hey everyone! Long time no see Anyway, my current task involves designing a system to track tasks assigned by leaders of a team, to members of the team. Currently, I've got a system to log users in (that wasn't a problem at all), but what I need help with is the design for an unlimited amount of tasks. Essentially, I'd like each user to be able to have multiple tasks, each holding some info (such as status, assignee, assigner, original date, etc.). What I'm not sure on, is how to set up the database to handle such problems. I want to keep all tables for the system in one database, including the table I have for users. Should I keep one huge table for each task? Have each task be a table? If I had each table be a task, how would I know which tasks were for which users (assuming that I have a HUGE amount of tasks, and a huge number of users)? Thanks for the help on this! I really appreciate it! FlyingsFun1217 Quote Link to comment https://forums.phpfreaks.com/topic/136604-database-for-tasks-system/ Share on other sites More sharing options...
xtopolis Posted December 12, 2008 Share Posted December 12, 2008 Reading up on proper normalization will answer a lot of your questions. http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html Things to consider are: what if a task is reassigned.. what if multiple people are leaders of the same task. Having tables in the same database isn't a problem.. After you read you will start to understand how you should separate your tables, and what data should go in where. Quote Link to comment https://forums.phpfreaks.com/topic/136604-database-for-tasks-system/#findComment-713297 Share on other sites More sharing options...
FlyingIsFun1217 Posted December 16, 2008 Author Share Posted December 16, 2008 Busy at the current moment, but a quick overview seems to show that being just what I was looking for. Thanks! FlyingIsFun1217 Quote Link to comment https://forums.phpfreaks.com/topic/136604-database-for-tasks-system/#findComment-716779 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.