After the upgrade ofmy rb from 1.6.12  to 1.7.14  I  get something broke 
error 
 the log of site manage evolve -- -- hint is 
#----- Evolution for auth
from django_evolution.mutations import DeleteModel


MUTATIONS = [
    DeleteModel('Message')
]
#----------------------
#----- Evolution for accounts
from django_evolution.mutations import AddField
from django.db import models
from djblets.util.fields import JSONField


MUTATIONS = [
    AddField('Profile', 'extra_data', JSONField, null=True),
    AddField('Profile', 'timezone', models.CharField, initial=u'UTC', 
max_length=30),
    AddField('Profile', 'open_an_issue', models.BooleanField, initial=True)
]
#----------------------
#----- Evolution for attachments
from django_evolution.mutations import AddField, ChangeField
from django.db import models


MUTATIONS = [
    AddField('FileAttachment', 'orig_filename', models.CharField, 
max_length=256, null=True),
    ChangeField('FileAttachment', 'file', initial=None, max_length=512)
]
#----------------------
#----- Evolution for diffviewer
from django_evolution.mutations import AddField, DeleteField
from django.db import models
from djblets.util.fields import Base64Field


MUTATIONS = [
    AddField('DiffSet', 'base_commit_id', models.CharField, max_length=64, 
null=True, db_index=True),
    AddField('DiffSetHistory', 'last_diff_updated', models.DateTimeField, 
null=True),
    AddField('FileDiff', 'diff_hash', models.ForeignKey, null=True, 
related_model='diffviewer.FileDiffData'),
    AddField('FileDiff', 'parent_diff_hash', models.ForeignKey, null=True, 
related_model='diffviewer.FileDiffData'),
    AddField('FileDiff', 'diff64', Base64Field, initial='', 
db_column='diff_base64'),
    AddField('FileDiff', 'parent_diff64', Base64Field, initial='', 
db_column='parent_diff_base64'),
    DeleteField('FileDiff', 'parent_diff'),
    DeleteField('FileDiff', 'diff')
]
#----------------------
#----- Evolution for hostingsvcs
from django_evolution.mutations import AddField
from django.db import models


MUTATIONS = [
    AddField('HostingServiceAccount', 'hosting_url', models.CharField, 
max_length=255, null=True)
]
#----------------------
#----- Evolution for reviews
from django_evolution.mutations import AddField, DeleteField
from django.db import models
from djblets.util.fields import JSONField


MUTATIONS = [
    AddField('FileAttachmentComment', 'extra_data', JSONField, null=True),
    AddField('ReviewRequest', 'last_review_activity_timestamp', 
models.DateTimeField, null=True, db_column='last_review_timestamp'),
    AddField('ReviewRequest', 'depends_on', models.ManyToManyField, 
null=True, related_model='reviews.ReviewRequest'),
    DeleteField('ReviewRequest', 'last_review_timestamp'),
    AddField('ReviewRequestDraft', 'depends_on', models.ManyToManyField, 
null=True, related_model='reviews.ReviewRequest')
]
#----------------------
#----- Evolution for scmtools
from django_evolution.mutations import AddField
from django.db import models
from djblets.util.fields import JSONField


MUTATIONS = [
    AddField('Repository', 'extra_data', JSONField, null=True),
    AddField('Repository', 'hosting_account', models.ForeignKey, null=True, 
related_model='hostingsvcs.HostingServiceAccount')
]
#----------------------
Trial evolution successful.
Run './manage.py evolve --hint --execute' to apply evolution.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to