Commit e7e8e38f authored by BERJON Matthieu's avatar BERJON Matthieu

Update of the SQL schema for job_uploads table

I updated the Django migration file to force the order of the fields in
order to match the ones generated by the rails app.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 7b80c89f
......@@ -175,7 +175,8 @@ class Migration(migrations.Migration):
('job_file_content_type', models.CharField(blank=True, max_length=255)),
('job_file_file_size', models.IntegerField(blank=True, null=True)),
('job_file_updated_at', models.DateTimeField(auto_now_add=True, null=True)),
('job', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='poc.Job')),
('type', models.CharField(blank=True, null=True, max_length=255)),
('job', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='poc.Job')),
],
options={
'db_table': 'job_uploads',
......
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