# Generated by Django 2.2.7 on 2021-07-12 06:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pingcap_sso', '0047_userawardedpoint_revoked_by'), ] operations = [ migrations.CreateModel( name='TiDBRelease', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('major_number', models.IntegerField()), ('version', models.CharField(max_length=32, unique=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ], options={ 'db_table': 'pingcap_tidb_releases', }, ), migrations.CreateModel( name='ContactUsEmergency', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('emergency_type', models.CharField(choices=[('online', 'online'), ('offline', 'offline')], max_length=32)), ('priority', models.CharField(choices=[('p0', 'P0'), ('p1', 'P1'), ('p2_and_below', 'P2 and below')], max_length=16)), ('tidb_version', models.CharField(max_length=32)), ('summary', models.TextField(max_length=500)), ('background', models.TextField(max_length=500)), ('appearance', models.TextField(max_length=500)), ('problem', models.TextField(max_length=500)), ('affect', models.TextField(max_length=500)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('created_by_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'pingcap_contact_us_emergencies', }, ), migrations.CreateModel( name='ContactUsCooperation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('cooperation_type', models.CharField(choices=[('technology', 'technology'), ('community', 'community'), ('other', 'other')], max_length=32)), ('detail', models.TextField(max_length=300)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('created_by_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'pingcap_contact_us_cooperation', }, ), migrations.CreateModel( name='ContactUsCommunication', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('tidb_node_num', models.IntegerField()), ('tikv_node_num', models.IntegerField()), ('tiflash_node_num', models.IntegerField()), ('occupation_rate_of_tidb', models.DecimalField(decimal_places=2, max_digits=4)), ('tidb_version', models.JSONField(default=list)), ('key_scene', models.TextField(blank=True, max_length=100, null=True)), ('current_scenarios_and_architecture', models.TextField(max_length=100)), ('pain_points', models.TextField(max_length=100)), ('technical_debt', models.TextField(max_length=100)), ('expect_benefits_from_tidb', models.TextField(max_length=100)), ('launch_or_poc_date', models.DateField(blank=True, null=True)), ('person_resource', models.IntegerField(blank=True, null=True)), ('tidb_usage', models.JSONField(default=list)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('created_by_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'pingcap_contact_us_communication', }, ), ]