Skip to content

Commit

Permalink
Add make_searchable metadata argument example
Browse files Browse the repository at this point in the history
  • Loading branch information
jweatherby authored and jpvanhal committed Aug 7, 2023
1 parent f62ab59 commit c97252c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ We want the name and content to be fulltext indexed, hence we put them inside th

Base = declarative_base()

make_searchable()

make_searchable(Base.metadata)

class Article(Base):
__tablename__ = 'article'
Expand Down

0 comments on commit c97252c

Please sign in to comment.