Skip to content

Sponsorship

Luke Cassar edited this page Aug 21, 2018 · 3 revisions

To detail a Sponsor's patronage of a particular region.

DB Table Schema

Attribute Type
id integer
sponsor_id integer
sponsorship_type_id integer
sponsorable_type string
sponsorable_id integer
approved boolean (default: false)

Associations

  • One Sponsorship can have only one Sponsor.
  • One Sponsorship can have only one sponsorable.
    • see Sponsorable Types below
  • One Sponsorship can have only one Competition.
  • One Sponsorship can have only one SponsorshipType

Sponsorable Types

  • Region
  • Challenge

Permissions

Title Create Update Read Destroy
GovHack Management Team
Sponsorship Director
Clone this wiki locally