修复数据表迁移
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
# Generated manually for MediaFile proxy model
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('core', '0003_deploylog'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='MediaFile',
|
||||||
|
fields=[
|
||||||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'verbose_name': '媒体文件',
|
||||||
|
'verbose_name_plural': '媒体文件管理',
|
||||||
|
'managed': False,
|
||||||
|
'default_permissions': [],
|
||||||
|
'permissions': [('manage_files', '可管理媒体文件')],
|
||||||
|
},
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user