2024-02-27 20:44:35 +01:00
|
|
|
# Generated by Django 5.0.2 on 2024-02-27 19:20
|
2020-04-26 19:46:58 +02:00
|
|
|
|
|
|
|
import django.db.models.deletion
|
|
|
|
import uuid
|
2024-02-27 20:44:35 +01:00
|
|
|
from django.db import migrations, models
|
2020-04-26 19:46:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
2024-02-27 20:44:35 +01:00
|
|
|
('config', '0001_initial'),
|
2020-04-26 19:46:58 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Identity',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
2024-02-27 20:44:35 +01:00
|
|
|
('identity', models.UUIDField(default=uuid.uuid4, unique=True)),
|
2020-04-26 19:46:58 +02:00
|
|
|
('name', models.CharField(max_length=100)),
|
2024-02-27 20:44:35 +01:00
|
|
|
('notes', models.TextField(blank=True)),
|
|
|
|
('heartbeat', models.DateTimeField(blank=True, null=True)),
|
2020-04-26 19:46:58 +02:00
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Task',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
2024-02-27 20:44:35 +01:00
|
|
|
('uuid', models.UUIDField(default=uuid.uuid4, unique=True)),
|
2020-04-26 19:46:58 +02:00
|
|
|
('type', models.CharField(max_length=100)),
|
2024-02-27 20:44:35 +01:00
|
|
|
('config_id', models.IntegerField()),
|
2020-04-26 19:46:58 +02:00
|
|
|
('configuration', models.TextField()),
|
2024-02-27 20:44:35 +01:00
|
|
|
('claimed_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='concierge.identity')),
|
|
|
|
('stream', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='config.stream')),
|
2020-04-26 19:46:58 +02:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|