Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020-101
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sachith Fernando
2020-101
Commits
edf1f457
Commit
edf1f457
authored
Oct 09, 2020
by
I.K Seneviratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Committing the migrations of lecture video and activity frame groupings.
parent
e9dacbab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
FirstApp/migrations/0009_lectureactivityframegroupings.py
FirstApp/migrations/0009_lectureactivityframegroupings.py
+25
-0
FirstApp/migrations/0010_lecturevideoframelandmarks_lecturevideotimelandmarks.py
...0_lecturevideoframelandmarks_lecturevideotimelandmarks.py
+34
-0
No files found.
FirstApp/migrations/0009_lectureactivityframegroupings.py
0 → 100644
View file @
edf1f457
# Generated by Django 2.2.11 on 2020-10-08 17:02
import
FirstApp.MongoModels
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
djongo.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'FirstApp'
,
'0008_auto_20200825_1821'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'LectureActivityFrameGroupings'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_activity_frame_groupings_id'
,
models
.
CharField
(
default
=
''
,
max_length
=
15
)),
(
'frame_group_details'
,
djongo
.
models
.
fields
.
ArrayField
(
model_container
=
FirstApp
.
MongoModels
.
LectureActivityFrameGroupDetails
)),
(
'lecture_activity_id'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureActivity'
)),
],
),
]
FirstApp/migrations/0010_lecturevideoframelandmarks_lecturevideotimelandmarks.py
0 → 100644
View file @
edf1f457
# Generated by Django 2.2.11 on 2020-10-09 09:10
import
FirstApp.MongoModels
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
djongo.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'FirstApp'
,
'0009_lectureactivityframegroupings'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'LectureVideoTimeLandmarks'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_video_time_landmarks_id'
,
models
.
CharField
(
max_length
=
15
)),
(
'time_landmarks'
,
djongo
.
models
.
fields
.
ArrayField
(
model_container
=
FirstApp
.
MongoModels
.
Landmarks
)),
(
'lecture_video_id'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureVideo'
)),
],
),
migrations
.
CreateModel
(
name
=
'LectureVideoFrameLandmarks'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_video_frame_landmarks_id'
,
models
.
CharField
(
max_length
=
15
)),
(
'frame_landmarks'
,
djongo
.
models
.
fields
.
ArrayField
(
model_container
=
FirstApp
.
MongoModels
.
Landmarks
)),
(
'lecture_video_id'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureVideo'
)),
],
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment