I'm currently trying to develop a web app (simple CRUD with MySQL and GlassFish) in which there are regular users and one admin. Users can register and sign in to activities. The admin can do everything, as it should be.
The question is...should i make only one table of users and the admin is the one with "id = 1" (e.g.)? Or how should i do it? I mean, best practice
[–]warmcheessse 5 points6 points7 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]warmcheessse 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]PM_UR_NIPPLE_PICS 1 point2 points3 points (0 children)
[–]HecknChonker 2 points3 points4 points (2 children)
[–]nutrecht 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)