Skip to content

Commit 7edd759

Browse files
committed
add type parameter in Bot
1 parent 761cd6f commit 7edd759

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Generated by Django 4.2.6 on 2023-12-25 10:22
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("kubechat", "0010_config_delete_quota"),
9+
]
10+
11+
operations = [
12+
migrations.AddField(
13+
model_name="bot",
14+
name="type",
15+
field=models.CharField(
16+
choices=[("knowledge", "Knowledge"), ("common", "Common")],
17+
default=None,
18+
max_length=16,
19+
),
20+
preserve_default=False,
21+
),
22+
migrations.AlterField(
23+
model_name="botintegration",
24+
name="type",
25+
field=models.CharField(
26+
choices=[
27+
("system", "System"),
28+
("feishu", "Feishu"),
29+
("web", "Web"),
30+
("weixin", "Weixn"),
31+
("weixin_official", "Weixin Official"),
32+
],
33+
max_length=16,
34+
),
35+
),
36+
migrations.AlterField(
37+
model_name="chat",
38+
name="peer_type",
39+
field=models.CharField(
40+
choices=[
41+
("system", "System"),
42+
("feishu", "Feishu"),
43+
("weixin", "Weixin"),
44+
("weixin_official", "Weixin Official"),
45+
("web", "Web"),
46+
],
47+
default="system",
48+
max_length=16,
49+
),
50+
),
51+
]

0 commit comments

Comments
 (0)