pull/646/head
morpheus65535 5 years ago committed by GitHub
parent 6ace946754
commit dddb9db63c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -134,7 +134,7 @@ class TableHistory(BaseModel):
language = TextField(null=True) language = TextField(null=True)
provider = TextField(null=True) provider = TextField(null=True)
score = TextField(null=True) score = TextField(null=True)
sonarr_episode_id = ForeignKeyField(TableEpisodes, field='sonarr_episode_id', column_name='sonarrEpisodeId', null=False, unique=True) sonarr_episode_id = ForeignKeyField(TableEpisodes, field='sonarr_episode_id', column_name='sonarrEpisodeId', null=False)
sonarr_series_id = ForeignKeyField(TableShows, field='sonarr_series_id', column_name='sonarrSeriesId', null=False) sonarr_series_id = ForeignKeyField(TableShows, field='sonarr_series_id', column_name='sonarrSeriesId', null=False)
timestamp = IntegerField(null=False) timestamp = IntegerField(null=False)
video_path = TextField(null=True) video_path = TextField(null=True)
@ -149,7 +149,7 @@ class TableHistoryMovie(BaseModel):
description = TextField(null=False) description = TextField(null=False)
language = TextField(null=True) language = TextField(null=True)
provider = TextField(null=True) provider = TextField(null=True)
radarr_id = ForeignKeyField(TableMovies, field='radarr_id', column_name='radarrId') radarr_id = ForeignKeyField(TableMovies, field='radarr_id', column_name='radarrId', null=False)
score = TextField(null=True) score = TextField(null=True)
timestamp = IntegerField(null=False) timestamp = IntegerField(null=False)
video_path = TextField(null=True) video_path = TextField(null=True)

Loading…
Cancel
Save