2020-06-24 01:46:33 +00:00
|
|
|
# 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 = [
|
2022-05-14 17:57:27 +00:00
|
|
|
("judge", "0105_auto_20200523_0756"),
|
2020-06-24 01:46:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2022-05-14 17:57:27 +00:00
|
|
|
name="Friend",
|
2020-06-24 01:46:33 +00:00
|
|
|
fields=[
|
2022-05-14 17:57:27 +00:00
|
|
|
(
|
|
|
|
"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")),
|
2020-06-24 01:46:33 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|