Skip to content

Attempts Submission Column + email, question validation #21

@MathyouMB

Description

@MathyouMB

Please add the Attempts column (int) to the Submission model.

Please also add validation to the model that ensures two submissions cannot be created with the same email and question id.

Add a test that validates that the model ensures two submissions cannot be created with the same email and question id.

Screenshot 2021-04-29 at 1 22 17 PM

Metadata

Metadata

Labels

code challengeCode Challenge project specificenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions