jimfog Posted January 28, 2015 Share Posted January 28, 2015 As you know many apps in the web are accompanied by payment packages. I am trying to figure out how to store these in the db. One thought I made is to have an ENUM column in the table that business users are stored(along with other attributes related to them)...for example this column might have ENUM values of "solo" and "multi"-two names I am considering for the packages. What do you propose? Since it is something common in today's applications I believe the solution must be standardized more or less. Link to comment Share on other sites More sharing options...
justsomeguy Posted January 28, 2015 Share Posted January 28, 2015 It sounds like a regular 1-to-many relationship.http://www.databaseprimer.com/pages/relationship_1tox/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now