mirror of https://github.com/jumpserver/jumpserver
19 lines
461 B
Python
19 lines
461 B
Python
|
# Generated by Django 3.2.16 on 2022-12-28 09:46
|
||
|
|
||
|
from django.db import migrations
|
||
|
|
||
|
|
||
|
def migrate_remove_app_tickets(apps, *args):
|
||
|
model = apps.get_model('tickets', 'Ticket')
|
||
|
model.objects.filter(type='apply_application').delete()
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
dependencies = [
|
||
|
('tickets', '0027_alter_applycommandticket_apply_run_account'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.RunPython(migrate_remove_app_tickets)
|
||
|
]
|