mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Default null for new search indexed field for backwards compatibility.
This commit is contained in:
parent
c4326a2827
commit
ccd9f8ba6f
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ class Migration(SchemaMigration):
|
|||
def forwards(self, orm):
|
||||
# Adding field 'Feed.search_indexed'
|
||||
db.add_column('feeds', 'search_indexed',
|
||||
self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True),
|
||||
self.gf('django.db.models.fields.NullBooleanField')(default=None, null=True, blank=True),
|
||||
keep_default=False)
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ class Migration(SchemaMigration):
|
|||
'premium_subscribers': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
||||
's3_icon': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}),
|
||||
's3_page': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}),
|
||||
'search_indexed': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
|
||||
'search_indexed': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
||||
'stories_last_month': ('django.db.models.fields.IntegerField', [], {'default': '0'})
|
||||
},
|
||||
u'rss_feeds.feeddata': {
|
||||
|
|
|
@ -81,7 +81,7 @@ class Feed(models.Model):
|
|||
favicon_not_found = models.BooleanField(default=False)
|
||||
s3_page = models.NullBooleanField(default=False, blank=True, null=True)
|
||||
s3_icon = models.NullBooleanField(default=False, blank=True, null=True)
|
||||
search_indexed = models.NullBooleanField(null=True, blank=True)
|
||||
search_indexed = models.NullBooleanField(default=None, null=True, blank=True)
|
||||
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Add table
Reference in a new issue