jumpserver/apps/terminal/migrations/0055_auto_20221031_1848.py

50 lines
1.8 KiB
Python
Raw Normal View History

2022-11-01 03:52:51 +00:00
# Generated by Django 3.2.14 on 2022-10-31 10:48
2022-10-28 10:19:44 +00:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('terminal', '0054_auto_20221027_1125'),
]
operations = [
migrations.AddField(
model_name='applet',
name='hosts',
field=models.ManyToManyField(through='terminal.AppletPublication', to='terminal.AppletHost', verbose_name='Hosts'),
),
migrations.AddField(
model_name='applethost',
name='date_inited',
2022-11-01 03:52:51 +00:00
field=models.DateTimeField(blank=True, null=True, verbose_name='Date inited'),
2022-10-28 10:19:44 +00:00
),
migrations.AddField(
model_name='applethost',
2022-11-01 03:52:51 +00:00
name='inited',
field=models.BooleanField(default=False, verbose_name='Inited'),
),
migrations.AddField(
model_name='applethostdeployment',
name='date_finished',
field=models.DateTimeField(null=True, verbose_name='Date finished'),
),
migrations.AddField(
model_name='applethostdeployment',
name='date_start',
field=models.DateTimeField(db_index=True, null=True, verbose_name='Date start'),
2022-10-28 10:19:44 +00:00
),
migrations.AlterField(
model_name='appletpublication',
name='applet',
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='publications', to='terminal.applet', verbose_name='Applet'),
),
migrations.AlterField(
model_name='appletpublication',
name='host',
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='publications', to='terminal.applethost', verbose_name='Host'),
),
]