(your service)/packages/photo-album/sql/postgresql/photo-album-create.sql
to see what the data model is. You might have to become familiar with the content repository tho.