Simon Willison 2024-11-09 09:30:23 -08:00
commit 3041c5d5da
2 changed files with 29 additions and 1 deletions

View file

@ -1975,7 +1975,7 @@ class Table(Queryable):
{"index_name": index.name},
).fetchall()[0][0]
assert index_sql is not None, (
f"Index '{index}' on table '{self.name}' does not have a "
f"Index '{index.name}' on table '{self.name}' does not have a "
"CREATE INDEX statement. You must manually drop this index prior to running this "
"transformation and manually recreate the new index after running this transformation."
)