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
							
								
									4c89989b8e
								
							
						
					
					
						commit
						dfda9d8c71
					
				
							
								
								
									
										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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user