Coverage for django_napse/core/migrations/0008_bothistory.py: 100%
5 statements
« prev ^ index » next coverage.py v7.4.3, created at 2024-03-12 13:49 +0000
« prev ^ index » next coverage.py v7.4.3, created at 2024-03-12 13:49 +0000
1# Generated by Django 4.2.7 on 2024-01-07 13:23
3import django.db.models.deletion
4from django.db import migrations, models
7class Migration(migrations.Migration):
8 dependencies = [
9 ("django_napse_core", "0007_historydatapoint_created_at"),
10 ]
12 operations = [
13 migrations.CreateModel(
14 name="BotHistory",
15 fields=[
16 (
17 "history_ptr",
18 models.OneToOneField(
19 auto_created=True,
20 on_delete=django.db.models.deletion.CASCADE,
21 parent_link=True,
22 primary_key=True,
23 serialize=False,
24 to="django_napse_core.history",
25 ),
26 ),
27 ("owner", models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name="history", to="django_napse_core.bot")),
28 ],
29 bases=("django_napse_core.history",),
30 ),
31 ]