Skip to content

Commit

Permalink
Updated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
traderd65 committed Dec 18, 2019
1 parent a85f77b commit 0c7c5d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@

### Database Schema

- Each event is assigned a separate table (named as the event shortcode)
- Columns: eventcode, firstname, lastname, title, company, editkey, viewkey,
PhotoID, Transfo, VoteID
- Collection name is 'badges' (in database 'cloudybadge' under root database 'cloudy')
- Columns: eventCode, firstName, lastName, title, company, editKey, viewKey,
photoID, tranStr, voteID

#### notes

- editkey is the reference value for the record in the collection
- PhotoID is the ID of the asset in Cloudinary for the RA's uploaded photo
- Transfo encodes the photo transforms submitted by RA (null otherwise)
- VoteID is the editkey of the VIEW page voted by RA (null otherwise)
Expand Down

0 comments on commit 0c7c5d7

Please sign in to comment.