mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
fix(epg): address second round of reviewer feedback
- Fix NameError in sd_lineups_search: add dispatcharr_version import - Fix DELETE handler: persist changesRemaining from SD response to custom_properties - Fix lockout reset time: calculate next midnight UTC (00:00Z) instead of rolling now+24h, matching SD's documented reset behavior - Remove redundant explicit index from SDProgramMD5: unique_together already creates this index in Postgres - Regenerate 0023_schedules_direct migration to incorporate all changes cleanly in a single migration
This commit is contained in:
parent
d8c0850fd8
commit
4d5ffaf223
2 changed files with 1 additions and 19 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 6.0.4 on 2026-05-18 22:38
|
||||
# Generated by Django 6.0.4 on 2026-05-19 23:55
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
|
@ -39,7 +39,6 @@ class Migration(migrations.Migration):
|
|||
('epg_source', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sd_program_md5s', to='epg.epgsource')),
|
||||
],
|
||||
options={
|
||||
'indexes': [models.Index(fields=['epg_source', 'program_id'], name='epg_sdprogr_epg_sou_222ce1_idx')],
|
||||
'unique_together': {('epg_source', 'program_id')},
|
||||
},
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
# Generated by Django 6.0.4 on 2026-05-19 23:46
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('epg', '0023_schedules_direct'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveIndex(
|
||||
model_name='sdprogrammd5',
|
||||
name='epg_sdprogr_epg_sou_222ce1_idx',
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue