0001_initial.py 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. # Generated by Django 3.0.8 on 2020-07-28 01:07
  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='Payment',
  10. fields=[
  11. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('payment_type', models.CharField(max_length=100)),
  13. ('price_type', models.CharField(max_length=100)),
  14. ('item_type', models.CharField(max_length=100)),
  15. ('index_type', models.CharField(max_length=100)),
  16. ('index_price', models.IntegerField()),
  17. ('year', models.CharField(max_length=4)),
  18. ('month', models.CharField(max_length=2)),
  19. ],
  20. options={
  21. 'verbose_name': '支出报表',
  22. 'verbose_name_plural': '支出报表列表',
  23. 'db_table': 'pay',
  24. },
  25. ),
  26. ]