diora-web/feeds/migrations/0004_item_notify.py
mrwnslz 74bb3a44df
All checks were successful
Build and push Docker image / build (push) Successful in 14s
Test / test (push) Successful in 7m42s
Feeds: Glocke je Blog (Benachrichtigung bei neuen Posts)
- Source.notify; ein neuer Post wird beim Eintreffen markiert (Item.notify),
  nie beim ersten Abruf eines Blogs, nie älter als 2 Tage
- GET /feeds/notifications/?after=<id>: ungelesene markierte Posts von Blogs mit
  Glocke nach der zuletzt gesehenen id; ohne after nur der Startpunkt
- Glocken-Schalter in der Blog-Leiste und in den Einstellungen des Blogs;
  window.__dioraFeedsOpenItem öffnet einen Post (Antippen der Benachrichtigung)
- sw v94

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 21:40:27 +02:00

18 lines
394 B
Python

# Generated by Django 6.1 on 2026-10-04 19:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('feeds', '0003_blog_flags_words'),
]
operations = [
migrations.AddField(
model_name='item',
name='notify',
field=models.BooleanField(db_index=True, default=False),
),
]