mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-28 12:22:09 +01:00
20 lines
505 B
Python
20 lines
505 B
Python
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('core', '0019_configrevision_active'),
|
|
('users', '0015_owner'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='datasource',
|
|
name='owner',
|
|
field=models.ForeignKey(
|
|
blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='users.owner'
|
|
),
|
|
),
|
|
]
|