From f64df387729885a70a24d9b80fb90c20e17b8d15 Mon Sep 17 00:00:00 2001 From: Jamie Date: Sun, 11 Apr 2021 13:12:32 -0400 Subject: [PATCH] Add make_searchable metadata argument example --- docs/installation.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 73dc5ef..5e32633 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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'