Add 'name' field to episode.

This commit is contained in:
luxick
2018-02-28 11:16:13 +01:00
parent ac7d219bb1
commit 7e8b9787a5
4 changed files with 101 additions and 53 deletions

View File

@@ -35,6 +35,7 @@ class Episode(Model):
id = AutoField()
seq_number = IntegerField()
number = CharField()
name = CharField(null=True)
date = DateField(null=True)
season = ForeignKeyField(Season, backref='episodes')
players = ManyToManyField(Player, backref='episodes')