mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
461 B
19 lines
461 B
# 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)
|
|
]
|