Skip to content

Commit

Permalink
fix(issue#665): Add migration for DB
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbojko committed Aug 30, 2017
1 parent ea7022a commit f9ebc61
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions mysite/ct/migrations/0023_course_copied_from.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('ct', '0022_auto_20170527_1519'),
]

operations = [
migrations.AddField(
model_name='course',
name='copied_from',
field=models.ForeignKey(blank=True, to='ct.Course', null=True),
),
]

0 comments on commit f9ebc61

Please sign in to comment.