Commit cd517365 authored by BERJON Matthieu's avatar BERJON Matthieu

Update of the SQL schema for job_queues table

I reorded the migration file in order to fit the models and have
something easier to read and compare. I didn't have to do any particular
modification as the Django model is identical to the rails one.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 394af133
......@@ -129,6 +129,20 @@ class Migration(migrations.Migration):
'db_table': 'quotas',
},
),
migrations.CreateModel(
name='JobQueue',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('timeout', models.IntegerField(blank=True, null=True)),
('is_default', models.IntegerField()),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
],
options={
'db_table': 'job_queues',
},
),
migrations.CreateModel(
name='Job',
fields=[
......@@ -150,20 +164,6 @@ class Migration(migrations.Migration):
'db_table': 'jobs',
},
),
migrations.CreateModel(
name='JobQueue',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('timeout', models.IntegerField(blank=True, null=True)),
('is_default', models.IntegerField()),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
],
options={
'db_table': 'job_queues',
},
),
migrations.CreateModel(
name='JobUploads',
fields=[
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment