Skip to content

Instantly share code, notes, and snippets.

@lorenmh
Created September 12, 2014 20:28
Show Gist options
  • Save lorenmh/ae7783923426ca73cf09 to your computer and use it in GitHub Desktop.
Save lorenmh/ae7783923426ca73cf09 to your computer and use it in GitHub Desktop.
3 hr
Models:
Organizer
Group
Contact
Location
Invite
Comment
Event
Event
<string>title
<text>description
<datetime>start_datetime
<Group_table>group_invites
<Contact_table>contact_invites
<boolean>mass_invites_sent
<datetime>mass_invites_sent_datetime
<Location>location
Location
<string>title
<string>location_string (from gmaps or something, some string like ‘1234 Deerfield Way, Utopolis, Ca, 91234’)
Comment
<Contact>contact_id
<string>text
<datetime>timestamp
Contact
<string>first_name
<string>last_name
<email>email
Group
<string>title
<Contact_table>contacts
Invite
<Event>event_id
<Contact>contact_id
<string>invite_token
<boolean>sent [default: false]
<datetime>sent_datetime
<boolean>accepted [default: false]
<integer>additional
FUNCTIONS
group list to invites
contact list to invites
Mass send invitations
Send individual invite
Send individual group invite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment