2022-07-23 20:17:20 +00:00
|
|
|
# Generated by Django 3.2.13 on 2022-07-23 12:30
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
def forwards(apps, schema_editor):
|
2024-01-27 10:29:16 +00:00
|
|
|
Bookmark = apps.get_model("bookmarks", "Bookmark")
|
2022-07-23 20:17:20 +00:00
|
|
|
Bookmark.objects.update(unread=False)
|
|
|
|
|
|
|
|
|
|
|
|
def reverse(apps, schema_editor):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2024-01-27 10:29:16 +00:00
|
|
|
("bookmarks", "0013_web_archive_optin_toast"),
|
2022-07-23 20:17:20 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2024-01-27 10:29:16 +00:00
|
|
|
model_name="bookmark",
|
|
|
|
name="unread",
|
2022-07-23 20:17:20 +00:00
|
|
|
field=models.BooleanField(default=False),
|
|
|
|
),
|
|
|
|
migrations.RunPython(forwards, reverse),
|
|
|
|
]
|