2019-09-18 14:06:46 +00:00
|
|
|
# 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')),
|
2019-09-19 06:48:25 +00:00
|
|
|
('present', models.BooleanField(default=True, verbose_name='Present')),
|
2019-09-18 14:06:46 +00:00
|
|
|
('date_created', models.DateTimeField(auto_now_add=True, verbose_name='Date created')),
|
|
|
|
('date_updated', models.DateTimeField(auto_now=True, verbose_name='Date updated')),
|
2019-09-19 06:48:25 +00:00
|
|
|
('asset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assets.Asset', verbose_name='Asset')),
|
2019-09-18 14:06:46 +00:00
|
|
|
],
|
|
|
|
options={'ordering': ['asset'], 'verbose_name': 'GatherUser'},
|
|
|
|
),
|
|
|
|
]
|