|
@@ -1,44 +0,0 @@
|
|
|
-
|
|
|
-
|
|
|
-from __future__ import unicode_literals
|
|
|
-
|
|
|
-from django.db import migrations, models
|
|
|
-import uuid
|
|
|
-
|
|
|
-
|
|
|
-class Migration(migrations.Migration):
|
|
|
-
|
|
|
- initial = True
|
|
|
-
|
|
|
- dependencies = [
|
|
|
- ]
|
|
|
-
|
|
|
- operations = [
|
|
|
- migrations.CreateModel(
|
|
|
- name='Request',
|
|
|
- fields=[
|
|
|
- ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
- ('createAt', models.DateTimeField(auto_now_add=True)),
|
|
|
- ('updateAt', models.DateTimeField(auto_now=True)),
|
|
|
- ('name', models.CharField(max_length=35)),
|
|
|
- ('status', models.CharField(choices=[('O', 'Abierto'), ('R', 'Rechazado'), ('P', 'Procesando'), ('D', 'Hecho'), ('E', 'Error')], default='O', max_length=1)),
|
|
|
- ],
|
|
|
- options={
|
|
|
- 'abstract': False,
|
|
|
- },
|
|
|
- ),
|
|
|
- migrations.CreateModel(
|
|
|
- name='Task',
|
|
|
- fields=[
|
|
|
- ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
|
- ('name', models.CharField(max_length=35)),
|
|
|
- ('createAt', models.DateTimeField(auto_now_add=True)),
|
|
|
- ('updateAt', models.DateTimeField(auto_now=True)),
|
|
|
- ('playbook_name', models.CharField(max_length=35)),
|
|
|
- ('last_execution', models.DateTimeField()),
|
|
|
- ],
|
|
|
- options={
|
|
|
- 'abstract': False,
|
|
|
- },
|
|
|
- ),
|
|
|
- ]
|