0002_customer.py 800 B

12345678910111213141516171819202122232425
  1. # Generated by Django 2.2.7 on 2020-03-09 09:42
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('users', '0001_initial'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Customer',
  10. fields=[
  11. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('user_name', models.CharField(max_length=20, null=True, verbose_name='用户名称')),
  13. ('password', models.CharField(max_length=20, null=True, verbose_name='密码')),
  14. ('up_date', models.DateField(verbose_name='修改时间')),
  15. ],
  16. options={
  17. 'db_table': 'mb_customer',
  18. },
  19. ),
  20. ]