mirror of https://github.com/jumpserver/jumpserver
pref: 修改 migrations
parent
c55f068258
commit
651228795e
|
@ -25,11 +25,6 @@ class Migration(migrations.Migration):
|
|||
('date_finished', models.DateTimeField(null=True)),
|
||||
],
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='celerytask',
|
||||
old_name='date_finished',
|
||||
new_name='date_last_published',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='celerytask',
|
||||
name='args',
|
||||
|
@ -54,14 +49,4 @@ class Migration(migrations.Migration):
|
|||
model_name='celerytask',
|
||||
name='state',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='celerytask',
|
||||
name='description',
|
||||
field=models.CharField(max_length=2048, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='celerytask',
|
||||
name='verbose_name',
|
||||
field=models.CharField(max_length=1024, null=True),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
# Generated by Django 3.2.14 on 2022-10-24 09:12
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ops', '0027_auto_20221024_1709'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='celerytask',
|
||||
name='date_last_published',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='celerytask',
|
||||
name='description',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='celerytask',
|
||||
name='verbose_name',
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue