# Generated by Django 2.2.6 on 2019-11-16 01:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rotbot', '0003_tempchannelkey_created'), ] operations = [ migrations.AddField( model_name='channel', name='last_event_type', field=models.CharField(choices=[('cm', 'channel message'), ('ca', 'channel action'), ('cn', 'channel notice'), ('ct', 'channel topic'), ('ck', 'channel password'), ('ci', 'channel invite'), ('cj', 'channel join'), ('cp', 'channel part'), ('ck', 'channel kick'), ('kd', 'channel kicked'), ('mc', 'mode change')], default='cm', max_length=2), preserve_default=False, ), migrations.AddField( model_name='channel', name='statistic_commands', field=models.BooleanField(default=False), ), migrations.AddField( model_name='user', name='last_event_channel', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='rotbot.Channel'), ), migrations.AddField( model_name='user', name='last_event_content', field=models.CharField(max_length=307, null=True), ), migrations.AddField( model_name='user', name='last_event_datetime', field=models.DateTimeField(auto_now=True), ), migrations.AddField( model_name='user', name='last_event_subject', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subject', to='rotbot.User'), ), migrations.AddField( model_name='user', name='last_event_type', field=models.CharField(choices=[('pm', 'private message'), ('pa', 'private action'), ('pn', 'private notice'), ('cm', 'channel message'), ('ca', 'channel action'), ('cn', 'channel notice'), ('ct', 'channel topic'), ('ck', 'channel password'), ('ci', 'channel invite'), ('cj', 'channel join'), ('cp', 'channel part'), ('ck', 'channel kick'), ('kd', 'channel kicked'), ('mc', 'mode change'), ('nc', 'nick change'), ('sq', 'quit')], default='cm', max_length=2), preserve_default=False, ), migrations.AddField( model_name='user', name='last_event_user', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='rotbot.User'), ), ]