guild-journal/guild/migrations/0010_playsessionsummaryvers...

47 lines
1.4 KiB
Python

# Generated by Django 4.2.1 on 2023-06-22 18:40
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("guild", "0009_rename_resourceearned_reward_alter_reward_options"),
]
operations = [
migrations.CreateModel(
name="PlaySessionSummaryVersion",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("summary", models.TextField()),
(
"created_at",
models.DateTimeField(auto_now_add=True, verbose_name="created at"),
),
(
"playsession",
models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="guild.playsession",
verbose_name="playsession",
),
),
],
options={
"verbose_name": "playsession summary version",
"verbose_name_plural": "playsession summary versions",
"ordering": ["-created_at"],
},
),
]