Browse Source

perf: 优化迁移文件 verbose_name

pull/12297/head
Eric 12 months ago committed by Bryan
parent
commit
4ea20a9103
  1. 9
      apps/terminal/migrations/0068_virtualapp.py

9
apps/terminal/migrations/0068_virtualapp.py

@ -1,9 +1,10 @@
# Generated by Django 4.1.10 on 2023-12-05 07:02 # Generated by Django 4.1.10 on 2023-12-05 07:02
from django.db import migrations, models
import django.db.models.deletion
import uuid import uuid
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
@ -67,7 +68,7 @@ class Migration(migrations.Migration):
('comment', models.TextField(blank=True, default='', verbose_name='Comment')), ('comment', models.TextField(blank=True, default='', verbose_name='Comment')),
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)), ('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
('status', models.CharField(default='pending', max_length=16, verbose_name='Status')), ('status', models.CharField(default='pending', max_length=16, verbose_name='Status')),
('app', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='publications', to='terminal.virtualapp', verbose_name='Virtual App')), ('app', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='publications', to='terminal.virtualapp', verbose_name='Virtual app')),
('provider', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='publications', to='terminal.appprovider', verbose_name='App Provider')), ('provider', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='publications', to='terminal.appprovider', verbose_name='App Provider')),
], ],
options={ options={
@ -83,7 +84,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='appprovider', model_name='appprovider',
name='apps', name='apps',
field=models.ManyToManyField(through='terminal.VirtualAppPublication', to='terminal.virtualapp', verbose_name='VirtualApp'), field=models.ManyToManyField(through='terminal.VirtualAppPublication', to='terminal.virtualapp', verbose_name='Virtual app'),
), ),
migrations.AddField( migrations.AddField(
model_name='appprovider', model_name='appprovider',

Loading…
Cancel
Save