@@ -201,8 +201,7 @@ def downgrade() -> None:
201201 "search_vector" ,
202202 postgresql .TSVECTOR (),
203203 sa .Computed (
204- "to_tsvector('english'::regconfig, "
205- "name || ' ') || "
204+ "to_tsvector('english'::regconfig, name || ' ') || "
206205 "COALESCE(json_extract_path_text(source_params, VARIADIC ARRAY['table_name']), '') || ' ' || "
207206 "COALESCE(json_extract_path_text(target_params, VARIADIC ARRAY['table_name']), '') || ' ' || "
208207 "COALESCE(json_extract_path_text(source_params, VARIADIC ARRAY['directory_path']), '') || ' ' || "
@@ -211,7 +210,7 @@ def downgrade() -> None:
211210 "COALESCE(translate(json_extract_path_text(source_params, VARIADIC ARRAY['table_name']), './', ' '), '') || ' ' || "
212211 "COALESCE(translate(json_extract_path_text(target_params, VARIADIC ARRAY['table_name']), './', ' '), '') || ' ' || "
213212 "COALESCE(translate(json_extract_path_text(source_params, VARIADIC ARRAY['directory_path']), './', ' '), '') || ' ' || "
214- "COALESCE(translate(json_extract_path_text(target_params, VARIADIC ARRAY['directory_path']), './', ' '), '')) " ,
213+ "COALESCE(translate(json_extract_path_text(target_params, VARIADIC ARRAY['directory_path']), './', ' '), '')" ,
215214 persisted = True ,
216215 ),
217216 autoincrement = False ,
0 commit comments