-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed migrations for the edx_haystack_extensions app
ECOM-6269
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...iscovery/apps/edx_haystack_extensions/migrations/0001_squashed_0002_auto_20160826_1750.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.10 on 2016-11-03 22:19 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import jsonfield.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
replaces = [('edx_haystack_extensions', '0001_initial'), ('edx_haystack_extensions', '0002_auto_20160826_1750')] | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ElasticsearchBoostConfig', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('function_score', jsonfield.fields.JSONField(default={'boost': 1.0, 'boost_mode': 'multiply', 'functions': [], 'score_mode': 'multiply'}, help_text='JSON string containing an elasticsearch function score config.', verbose_name='Function Score')), | ||
], | ||
options={ | ||
'abstract': False, | ||
}, | ||
), | ||
] |