mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-29 08:33:44 +03:00
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
# Generated by Django 4.1.7 on 2023-04-03 11:15
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("about", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="ProjectChange",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("name", models.CharField(max_length=150)),
|
|
("created", models.DateTimeField()),
|
|
(
|
|
"project",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="changes",
|
|
to="about.project",
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"ordering": ("-created",),
|
|
},
|
|
),
|
|
]
|