# Generated by Django 4.2.3 on 2023-07-08 02:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('orm_demo', '0001_initial'), ] operations = [ migrations.CreateModel( name='CardInfo', fields=[ ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='银行卡编码')), ('card_no', models.CharField(max_length=20, verbose_name='卡号')), ('bank', models.CharField(max_length=10, verbose_name='银行')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orm_demo.baseuserinfo')), ], ), ]