Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 0893077

Browse files
Forgot docstring for the new db update.
1 parent bae4268 commit 0893077

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cms/cms/db/UpdateDB.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,12 @@ def change_tasktype_names():
143143

144144
@staticmethod
145145
def constraints_on_tokens():
146-
"""Remove the TaskType prefix from every task type name.
146+
"""Better constraints for token information.
147+
148+
We allow token_initial to be NULL, which means that the tokens
149+
are disabled for that contest/task. Moreover, all information
150+
are required to be non-negative (or positive when
151+
appropriate).
147152
148153
"""
149154
with SessionGen(commit=True) as session:

0 commit comments

Comments
 (0)