MrDoc/app_doc/migrations/0009_projectreport.py
2020-03-07 09:30:11 +08:00

27 lines
857 B
Python

# Generated by Django 2.1 on 2020-03-06 22:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app_doc', '0008_auto_20191221_1055'),
]
operations = [
migrations.CreateModel(
name='ProjectReport',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('allow_epub', models.IntegerField(default=0, verbose_name='前台导出EPUB')),
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app_doc.Project', unique=True)),
],
options={
'verbose_name': '文集导出',
'verbose_name_plural': '文集导出',
},
),
]