add discord bridge field to the channel model
will be used in a future change to clean up markov chains
This commit is contained in:
parent
3d0be3c25a
commit
f812857d75
18
ircbot/migrations/0019_ircchannel_discord_bridge.py
Normal file
18
ircbot/migrations/0019_ircchannel_discord_bridge.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.18 on 2023-02-16 22:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ircbot', '0018_ircserver_replace_irc_control_with_markdown'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='ircchannel',
|
||||
name='discord_bridge',
|
||||
field=models.CharField(blank=True, default='', max_length=32),
|
||||
),
|
||||
]
|
@ -104,6 +104,8 @@ class IrcChannel(models.Model):
|
||||
|
||||
markov_learn_from_channel = models.BooleanField(default=True)
|
||||
|
||||
discord_bridge = models.CharField(default='', max_length=32, blank=True)
|
||||
|
||||
class Meta:
|
||||
"""Settings for the model."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user