mirror of https://github.com/jumpserver/jumpserver
29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
# Generated by Django 2.1.7 on 2019-09-18 04:10
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import uuid
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('assets', '0040_auto_20190917_2056'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='GatheredUser',
|
|
fields=[
|
|
('org_id', models.CharField(blank=True, db_index=True, default='', max_length=36, verbose_name='Organization')),
|
|
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
|
('username', models.CharField(blank=True, db_index=True, max_length=32, verbose_name='Username')),
|
|
('present', models.BooleanField(default=True, verbose_name='Present')),
|
|
('date_created', models.DateTimeField(auto_now_add=True, verbose_name='Date created')),
|
|
('date_updated', models.DateTimeField(auto_now=True, verbose_name='Date updated')),
|
|
('asset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assets.Asset', verbose_name='Asset')),
|
|
],
|
|
options={'ordering': ['asset'], 'verbose_name': 'GatherUser'},
|
|
),
|
|
]
|