You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/schemachanger: implement TRUNCATE in declarative schema changer
Previously, we only supported truncate in the legacy schema changer,
which meant that automatic toggling o schema_locked was not supported.
This meant certain ORM tests were failing attempting to truncate tables
with automatic schema locked enabled. This patch adds support for
TRUNCATE in the declarative schema changer in majority of cases, as long
as the index does not have references via index hints.
Fixes: #153241Fixes: #153248
Release note: None
0 commit comments