# Generated by Django 2.2.7 on 2022-05-17 07:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pingcap_sso', '0103_auto_20220517_1527'), ] operations = [ migrations.CreateModel( name='LarkMessage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('message_type', models.CharField(choices=[('post', 'post'), ('markdown', 'markdown')], default='post', max_length=32)), ('payload', models.TextField()), ('response_body', models.TextField(blank=True, null=True)), ('remark', models.CharField(blank=True, max_length=255, null=True)), ('status', models.CharField(choices=[('pending', 'pending'), ('success', 'success'), ('failed', 'failed')], default='pending', max_length=32)), ('send_at', models.DateTimeField(blank=True, null=True)), ('webhook', models.CharField(blank=True, max_length=255, null=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('creator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'pingcap_lark_messages', }, ), ]