From: Mike Bayer Date: Sun, 9 Nov 2025 19:21:07 +0000 (-0500) Subject: fix docs code example X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f039bb76ede61a5a5e5c3712e2741340a93d0943;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix docs code example Change-Id: I7b262725e6eedaeef9ebc0e956cae515b68ed9cd --- diff --git a/doc/build/changelog/migration_21.rst b/doc/build/changelog/migration_21.rst index d6ca0198bf..2ef92b7db7 100644 --- a/doc/build/changelog/migration_21.rst +++ b/doc/build/changelog/migration_21.rst @@ -1071,7 +1071,9 @@ the new SQL syntax. The index definitions that used the arrow operator syntax (``h -> 'key'``) will not match the new subscript syntax (``h['key']``), which may cause index scans to not be used. -To update an existing index:: +To update an existing index: + +.. sourcecode:: sql -- Drop the old index DROP INDEX IF EXISTS idx_hstore_key;