Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
143bdc06
Verified
Commit
143bdc06
authored
1 year ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Make end_time field in Schedule nullable
parent
d2ff72bf
No related branches found
No related tags found
No related merge requests found
Pipeline
#3315
passed
1 year ago
Stage: build
Stage: deploy
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
program/migrations/0059_alter_schedule_end_time.py
+18
-0
18 additions, 0 deletions
program/migrations/0059_alter_schedule_end_time.py
program/models.py
+1
-1
1 addition, 1 deletion
program/models.py
with
19 additions
and
1 deletion
program/migrations/0059_alter_schedule_end_time.py
0 → 100644
+
18
−
0
View file @
143bdc06
# Generated by Django 3.2.18 on 2023-04-28 22:33
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'
program
'
,
'
0058_auto_20230419_0039
'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'
schedule
'
,
name
=
'
end_time
'
,
field
=
models
.
TimeField
(
help_text
=
'
End time of schedule.
'
,
null
=
True
),
),
]
This diff is collapsed.
Click to expand it.
program/models.py
+
1
−
1
View file @
143bdc06
...
...
@@ -342,7 +342,7 @@ class Schedule(models.Model):
null
=
True
,
help_text
=
"
A tank ID in case the timeslot
'
s playlist_id is empty.
"
,
)
end_time
=
models
.
TimeField
(
help_text
=
"
End time of schedule.
"
)
end_time
=
models
.
TimeField
(
null
=
True
,
help_text
=
"
End time of schedule.
"
)
first_date
=
models
.
DateField
(
help_text
=
"
Start date of schedule.
"
)
is_repetition
=
models
.
BooleanField
(
default
=
False
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment