Skip to content
Snippets Groups Projects
Commit f3832b27 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Add drupal_id to reviews.

parent 2d3fc7eb
No related branches found
No related tags found
No related merge requests found
# Generated by Django 2.0.2 on 2018-08-29 14:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('review', '0009_auto_20180823_0918'),
]
operations = [
migrations.AddField(
model_name='review',
name='drupal_id',
field=models.IntegerField(blank=True, editable=False, null=True),
),
]
......@@ -120,6 +120,9 @@ class Review(ReviewFormFieldsMixin, BaseStreamForm, AccessFormData, models.Model
score = models.DecimalField(max_digits=10, decimal_places=1, default=0)
is_draft = models.BooleanField(default=False, verbose_name="Draft")
# Meta: used for migration purposes only
drupal_id = models.IntegerField(null=True, blank=True, editable=False)
objects = ReviewQuerySet.as_manager()
class Meta:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment