mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
a87d76ad17
* fixes user delete when they have a bookmark #14851 * Include migration for user field --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
22 lines
586 B
Python
22 lines
586 B
Python
# Generated by Django 4.2.9 on 2024-01-19 19:46
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('extras', '0105_customfield_min_max_values'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='bookmark',
|
|
name='user',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|