Versions are obligatory for challanges and submission
DB-SCEHEME-BREAKING CHANGE
This commit is contained in:
parent
628f8aedc2
commit
40a06a8bee
@ -146,7 +146,7 @@ addChallenge name publicRepoId privateRepoId chan = do
|
||||
challengeImage=mImage,
|
||||
challengeStarred=False,
|
||||
challengeArchived=Just False,
|
||||
challengeVersion=Just commit}
|
||||
challengeVersion=commit}
|
||||
|
||||
updateTests challengeId chan
|
||||
|
||||
|
@ -40,7 +40,7 @@ Challenge
|
||||
image ByteString Maybe
|
||||
starred Bool
|
||||
archived Bool Maybe
|
||||
version SHA1 Maybe
|
||||
version SHA1
|
||||
-- challenge version
|
||||
Version
|
||||
commit SHA1
|
||||
@ -70,7 +70,7 @@ Submission
|
||||
isPublic Bool default=False
|
||||
isHidden Bool default=False
|
||||
-- challenge version present when the submission was done
|
||||
version SHA1 Maybe
|
||||
version SHA1
|
||||
UniqueSubmissionRepoCommitChallenge repo commit challenge
|
||||
Variant
|
||||
submission SubmissionId
|
||||
|
Loading…
Reference in New Issue
Block a user