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
2020-101
2020-101
Commits
2fec6e76
Commit
2fec6e76
authored
Sep 22, 2020
by
I.K Seneviratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrations
parent
195f9fcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
136 additions
and
0 deletions
+136
-0
FirstApp/migrations/0007_auto_20200825_1658.py
FirstApp/migrations/0007_auto_20200825_1658.py
+98
-0
FirstApp/migrations/0008_auto_20200825_1821.py
FirstApp/migrations/0008_auto_20200825_1821.py
+38
-0
No files found.
FirstApp/migrations/0007_auto_20200825_1658.py
0 → 100644
View file @
2fec6e76
# Generated by Django 2.2.11 on 2020-08-25 11:28
import
FirstApp.MongoModels
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
djongo.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'FirstApp'
,
'0006_lecturercredentials'
),
]
operations
=
[
migrations
.
RenameField
(
model_name
=
'lectureemotionreport'
,
old_name
=
'lecture_id'
,
new_name
=
'lecture_emotion_id'
,
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'angry_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'disgust_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'happy_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'neutral_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'sad_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AlterField
(
model_name
=
'lectureemotionreport'
,
name
=
'surprise_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
CreateModel
(
name
=
'LectureVideo'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_video_id'
,
models
.
CharField
(
max_length
=
10
)),
(
'date'
,
models
.
DateField
()),
(
'video_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'video_length'
,
models
.
DurationField
()),
(
'lecturer'
,
models
.
ForeignKey
(
default
=
0
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.Lecturer'
)),
(
'subject'
,
models
.
ForeignKey
(
default
=
0
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.Subject'
)),
],
),
migrations
.
CreateModel
(
name
=
'LectureGazeEstimation'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_gaze_id'
,
models
.
CharField
(
max_length
=
10
)),
(
'lecture_video_id'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureVideo'
)),
],
),
migrations
.
CreateModel
(
name
=
'LectureActivity'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'lecture_activity_id'
,
models
.
CharField
(
max_length
=
10
)),
(
'talking_perct'
,
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
)),
(
'listening_perct'
,
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
)),
(
'writing_perct'
,
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
)),
(
'phone_perct'
,
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
)),
(
'lecture_video_id'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureVideo'
)),
],
),
migrations
.
CreateModel
(
name
=
'FacultyTimetable'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'timetable_id'
,
models
.
CharField
(
max_length
=
10
)),
(
'timetable'
,
djongo
.
models
.
fields
.
ArrayField
(
model_container
=
FirstApp
.
MongoModels
.
DateTimeTable
)),
(
'faculty'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.Faculty'
)),
],
),
migrations
.
AddField
(
model_name
=
'lectureemotionreport'
,
name
=
'lecture_video_id'
,
field
=
models
.
ForeignKey
(
default
=
0
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'FirstApp.LectureVideo'
),
),
]
FirstApp/migrations/0008_auto_20200825_1821.py
0 → 100644
View file @
2fec6e76
# Generated by Django 2.2.11 on 2020-08-25 12:51
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'FirstApp'
,
'0007_auto_20200825_1658'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'lecturegazeestimation'
,
name
=
'looking_down_and_left_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AddField
(
model_name
=
'lecturegazeestimation'
,
name
=
'looking_down_and_right_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AddField
(
model_name
=
'lecturegazeestimation'
,
name
=
'looking_front_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AddField
(
model_name
=
'lecturegazeestimation'
,
name
=
'looking_up_and_left_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
migrations
.
AddField
(
model_name
=
'lecturegazeestimation'
,
name
=
'looking_up_and_right_perct'
,
field
=
models
.
DecimalField
(
decimal_places
=
1
,
default
=
0.0
,
max_digits
=
3
),
),
]
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