Finish implementing webhook delivery
This commit is contained in:
28
core/migrations/0021_notificationrule_amount_and_more.py
Normal file
28
core/migrations/0021_notificationrule_amount_and_more.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 4.1.5 on 2023-01-15 20:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0020_rename_ntfy_topic_notificationsettings_topic_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='notificationrule',
|
||||
name='amount',
|
||||
field=models.IntegerField(blank=True, default=1, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='notificationrule',
|
||||
name='service',
|
||||
field=models.CharField(choices=[('ntfy', 'NTFY'), ('webhook', 'Custom webhook')], default='ntfy', max_length=255),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='notificationsettings',
|
||||
name='service',
|
||||
field=models.CharField(choices=[('ntfy', 'NTFY'), ('webhook', 'Custom webhook')], default='ntfy', max_length=255),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user