35 lines
963 B
Python
35 lines
963 B
Python
# Generated by Django 5.2.7 on 2026-05-14 23:36
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
def fw_func(apps, _schema_editor):
|
|
Objectiv = apps.get_model("noita", "Objectiv")
|
|
Objectiv.objects.filter(objectiv_id="DEATH").delete()
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("noita", "0009_objectiv_submission"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="DeathCounter",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("seed", models.CharField(max_length=32)),
|
|
("seen_at", models.DateTimeField()),
|
|
],
|
|
),
|
|
migrations.RunPython(fw_func, migrations.RunPython.noop),
|
|
]
|