Verified Commit 0549e9d8 authored by Kristyna Pekarkova's avatar Kristyna Pekarkova Committed by Peter Stanko
Browse files

Fix schema, added version_id to review item

parent 6550027f
......@@ -11,7 +11,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '949bc914e571'
down_revision = '6347503cdaef'
down_revision = 'f21d6efeef88'
branch_labels = None
depends_on = None
......
......@@ -28,7 +28,7 @@ class NestedCollection:
'Submission': ('id', 'state','created_at', 'updated_at', 'result', 'points',
*_in('user', ['username', 'codename', 'name', 'uco', 'id']),
*_in('project', DEFAULTS), *_in('course', DEFAULTS)),
'ReviewItem': ('id', 'review.id', 'line', 'content', 'file',
'ReviewItem': ('id', 'review.id', 'line', 'content', 'file', 'version_id',
*_in('user', ['id', 'username', 'uco', 'name'])),
'Secret': ('id', 'name', 'expires_at')
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment