Skip to content

Criterion

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

To store details pertaining of Competition criteria for a competition.

DB Table Schema

Attribute Type
id integer
competition_id integer
category string
name integer
description text

Validations

Attribute Constraint Value
category values people's choice, regional challenge
description max length MAX_TEXT_LENGTH
name presence true

Associations

  • One Criterion can have only one Competition.
  • One Criterion can have many ChallengeCriteria.

Permissions

Title Create Update Read Destroy
GovHack Management Team
Competition Director
Chief Judge
Clone this wiki locally