28 lines
1.0 KiB
Python
28 lines
1.0 KiB
Python
# Generated by Django 3.2.10 on 2022-06-05 13:40
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('products', '0061_article_options'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Job',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=128, null=True)),
|
|
('status', models.CharField(default='created', max_length=64)),
|
|
('progress', models.FloatField(default=0.0)),
|
|
('message', models.TextField(default='')),
|
|
('create_time', models.DateTimeField(auto_now_add=True)),
|
|
('update_time', models.DateTimeField(auto_now=True)),
|
|
('admin', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='products.admininfo')),
|
|
],
|
|
),
|
|
]
|