0001_initial.py 791 B

12345678910111213141516171819202122232425
  1. # Generated by Django 2.1 on 2018-10-09 07:23
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='ExamImage',
  10. fields=[
  11. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('img_name', models.CharField(max_length=150, null=True)),
  13. ('subject_id', models.IntegerField()),
  14. ('subject', models.CharField(default='unknown_subject', max_length=20)),
  15. ('upload_date', models.DateField(verbose_name='保存日期')),
  16. ('save_path', models.CharField(max_length=150)),
  17. ],
  18. ),
  19. ]