jumpserver/apps/assets/migrations/0096_auto_20220426_1550.py

58 lines
2.1 KiB
Python
Raw Normal View History

2022-04-26 13:30:11 +00:00
# Generated by Django 3.1.14 on 2022-04-26 07:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
2022-08-24 08:14:32 +00:00
('assets', '0095_auto_20220407_1726'),
2022-04-26 13:30:11 +00:00
]
operations = [
migrations.CreateModel(
name='Database',
fields=[
('asset_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='assets.asset')),
('db_name', models.CharField(blank=True, max_length=1024, verbose_name='Database')),
],
options={
'verbose_name': 'Database',
},
bases=('assets.asset',),
),
migrations.CreateModel(
2022-08-24 08:14:32 +00:00
name='Networking',
2022-04-26 13:30:11 +00:00
fields=[
('asset_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='assets.asset')),
],
options={
'abstract': False,
},
bases=('assets.asset',),
),
migrations.CreateModel(
2022-08-24 08:14:32 +00:00
name='Cloud',
2022-04-26 13:30:11 +00:00
fields=[
('asset_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='assets.asset')),
2022-08-24 08:14:32 +00:00
('cluster', models.CharField(max_length=4096, verbose_name='Cluster')),
2022-04-26 13:30:11 +00:00
],
options={
'abstract': False,
},
bases=('assets.asset',),
),
2022-04-28 04:47:39 +00:00
migrations.CreateModel(
2022-08-24 08:14:32 +00:00
name='Web',
2022-04-28 04:47:39 +00:00
fields=[
('asset_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='assets.asset')),
2022-08-24 08:14:32 +00:00
('url', models.CharField(max_length=1024, verbose_name='url')),
2022-04-28 04:47:39 +00:00
],
options={
'abstract': False,
},
bases=('assets.asset',),
),
2022-04-26 13:30:11 +00:00
]