i have a simple database with 3 tables.
In the users
table i simply store the information and his role. In the locations
table i simply store more user information.
Now here is the thing, the column pickup_instrucntions
is a optional column, meaning only a user with a specific role
can store. So an example would be a user with role_id = 1
can't store in pickup_instrucntions
but user with role_id = 2
can, leaving one row NULL
and the other with inserted data.
Now it does get the job done but is this is good practice? Is there a better way around this?