Updates migrations
To get the app working again I ran resetdb, let it crash in initdb, then ran the migration, then re-ran initdb
This commit is contained in:
parent
d1f1260640
commit
c7883cd615
106 changed files with 279 additions and 279 deletions
|
@ -1,7 +1,7 @@
|
|||
''' using a fedireads instance as a source of book data '''
|
||||
''' using a bookwyrm instance as a source of book data '''
|
||||
from django.contrib.postgres.search import SearchRank, SearchVector
|
||||
|
||||
from fedireads import models
|
||||
from bookwyrm import models
|
||||
from .abstract_connector import AbstractConnector, SearchResult
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ class Connector(AbstractConnector):
|
|||
|
||||
|
||||
def search(self, query):
|
||||
''' right now you can't search fedireads sorry, but when
|
||||
''' right now you can't search bookwyrm sorry, but when
|
||||
that gets implemented it will totally rule '''
|
||||
vector = SearchVector('title', weight='A') +\
|
||||
SearchVector('subtitle', weight='B') +\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue