0007_sheetbigboxes_sheetboxes.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Generated by Django 2.1.2 on 2019-09-26 15:40
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('segment', '0006_auto_20181025_1341'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='SheetBigBoxes',
  10. fields=[
  11. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新日期')),
  13. ('series_number', models.CharField(max_length=100, null=True)),
  14. ('raw_name', models.CharField(max_length=100, null=True)),
  15. ('small_box_path', models.CharField(max_length=100, null=True)),
  16. ('subject_id', models.IntegerField(default=0)),
  17. ('save_path', models.CharField(max_length=100, null=True)),
  18. ('raw_big_box_path', models.CharField(max_length=100, null=True)),
  19. ('subject', models.CharField(default='unknown_subject', max_length=20)),
  20. ],
  21. ),
  22. migrations.CreateModel(
  23. name='SheetBoxes',
  24. fields=[
  25. ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新日期')),
  26. ('paper_id', models.CharField(max_length=100, primary_key=True, serialize=False)),
  27. ('raw_name', models.CharField(max_length=100, null=True)),
  28. ('subject_id', models.IntegerField(default=0)),
  29. ('subject', models.CharField(default='unknown_subject', max_length=20)),
  30. ('save_path', models.CharField(max_length=100, null=True)),
  31. ('xml_box_path', models.CharField(max_length=100, null=True)),
  32. ('download_path', models.CharField(default='', max_length=100)),
  33. ],
  34. ),
  35. ]