37 lines
1 KiB
Python
37 lines
1 KiB
Python
# Generated by Django 2.2.12 on 2020-06-23 03:15
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("judge", "0105_auto_20200523_0756"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Friend",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"current_user",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="following_users",
|
|
to="judge.Profile",
|
|
),
|
|
),
|
|
("users", models.ManyToManyField(to="judge.Profile")),
|
|
],
|
|
),
|
|
]
|