forked from erp-dev/erp
26 lines
705 B
Python
26 lines
705 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("notifier", "0003_alter_notifier_channel_alter_notifierroute_event_key"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="notifier",
|
|
name="channel",
|
|
field=models.CharField(
|
|
choices=[
|
|
("wecom_webhook", "企业微信机器人"),
|
|
("message_api", "消息发送 API"),
|
|
("jpush", "极光推送"),
|
|
],
|
|
default="wecom_webhook",
|
|
max_length=50,
|
|
verbose_name="通知渠道",
|
|
),
|
|
),
|
|
]
|