Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2629 from groovecoder/fix-wiki-migrations
Browse files Browse the repository at this point in the history
fix wiki migrations after #2585
  • Loading branch information
ubernostrum committed Aug 6, 2014
2 parents c6e4801 + 8018256 commit dbba66f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kuma/wiki/migrations/0021_add_is_redirect_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
from south.v2 import SchemaMigration
from django.db import models

from wiki.models import Document
from kuma.wiki.models import Document

class Migration(SchemaMigration):

def forwards(self, orm):

# Adding field 'Document.is_redirect'
db.add_column('wiki_document', 'is_redirect', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True), keep_default=False)

def backwards(self, orm):

# Deleting field 'Document.is_redirect'
db.delete_column('wiki_document', 'is_redirect')

Expand Down
2 changes: 1 addition & 1 deletion kuma/wiki/migrations/0022_populate_is_redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.db import models
from django.db.models import F

from wiki.models import Document
from kuma.wiki.models import Document

class Migration(DataMigration):

Expand Down

0 comments on commit dbba66f

Please sign in to comment.