views:

9

answers:

0

I have a fairly typical sql database for storing photos:

id, url, name

I'd like to have a user be able to stack photos (like in Adobe elements). What is the best way to save such stacks in the database? A separate table with a one to many relationship to the photos table would work, but it means one has work with different object types when creating the UI (both photo and stack objects).

Is there a better way?

Thanks