2023-08-24 14:31:44 +01:00
|
|
|
# Generated by Django 4.2.3 on 2023-08-24 13:02
|
2023-07-27 15:37:18 +01:00
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('auth', '0012_alter_user_first_name_max_length'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='GotifyUser',
|
|
|
|
fields=[
|
|
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
|
|
|
|
('id', models.PositiveIntegerField(verbose_name='Gotify User ID')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='GotifyApplication',
|
|
|
|
fields=[
|
|
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='gotify.gotifyuser')),
|
|
|
|
('id', models.PositiveIntegerField(verbose_name='Gotify Application ID')),
|
|
|
|
('token', models.CharField(max_length=256, verbose_name='Gotify Application Token')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|