Skip to content

Commit

Permalink
Table actions description
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 14, 2024
1 parent e89c97e commit 749977b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datasette_configure_fts/__init__.py
Expand Up @@ -33,6 +33,7 @@ async def inner():
)
),
"label": "Configure full-text search",
"description": "Select columns to make searchable for this table",
}
]

Expand Down Expand Up @@ -90,6 +91,7 @@ async def configure_fts_database_get(datasette, request):
continue
if table_name in hidden_tables:
continue

# Only text columns
def find_text_columns(conn):
columns_and_types = sqlite_utils.Database(conn)[table_name].columns_dict
Expand Down

0 comments on commit 749977b

Please sign in to comment.