mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-11-23 16:07:39 +00:00
79da9e9f4f
(`ruff check --fix`)
55 lines
1.5 KiB
Python
55 lines
1.5 KiB
Python
# Generated by Django 1.9 on 2016-05-09 08:01
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
("accounts", "0004_profile_api_key"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Member",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
)
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name="profile",
|
|
name="team_access_allowed",
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
migrations.AddField(
|
|
model_name="profile",
|
|
name="team_name",
|
|
field=models.CharField(blank=True, max_length=200),
|
|
),
|
|
migrations.AddField(
|
|
model_name="member",
|
|
name="team",
|
|
field=models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to="accounts.Profile"
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="member",
|
|
name="user",
|
|
field=models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL
|
|
),
|
|
),
|
|
]
|