Commit 460e8a8e authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Update of the SQL schema for webapp_version table



I updated the Django migration file in order to force the order of the
fields and match the order given by the rails database.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 77cbf0df
......@@ -162,14 +162,14 @@ class Migration(migrations.Migration):
name='WebappVersion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
('number', models.CharField(blank=True, max_length=255)),
('changelog', models.CharField(blank=True, max_length=255)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
('webapp', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='poc.Webapp')),
('docker_image_size', models.FloatField(blank=True, null=True)),
('state', models.IntegerField(null=True)),
('published', models.IntegerField()),
('webapp', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='poc.Webapp')),
],
options={
'db_table': 'webapp_versions',
......
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