Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Hsin-Yu Chien
edx-platform-release
Commits
43b3a200
Unverified
Commit
43b3a200
authored
5 years ago
by
Cory Lee
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Readd historical schedule fks (#23414)
* Readd historical schedule fks
parent
9608528c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/core/djangoapps/schedules/migrations/0018_readd_historicalschedule_fks.py
+27
-0
27 additions, 0 deletions
...schedules/migrations/0018_readd_historicalschedule_fks.py
with
27 additions
and
0 deletions
openedx/core/djangoapps/schedules/migrations/0018_readd_historicalschedule_fks.py
0 → 100644
+
27
−
0
View file @
43b3a200
# -*- coding: utf-8 -*-
# Generated by Django 1.11.28 on 2020-03-16 14:00
from
__future__
import
unicode_literals
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'
schedules
'
,
'
0017_remove_start_from_historicalschedule
'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'
historicalschedule
'
,
name
=
'
history_user
'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
SET_NULL
,
related_name
=
'
+
'
,
to
=
settings
.
AUTH_USER_MODEL
),
),
migrations
.
AlterField
(
model_name
=
'
historicalschedule
'
,
name
=
'
start_date
'
,
field
=
models
.
DateTimeField
(
db_index
=
True
,
default
=
None
,
help_text
=
'
Date this schedule went into effect
'
,
null
=
True
),
),
]
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