query(), which returns false on failure instead of throwing, so a * backfill that cannot see the outcome would retire its slug with no index * created. Kept here rather than reimplemented in DataBackfills so this class * stays the only place that knows the index name. */ public static function hasOrderIdTypeIndex(): bool { return static::hasIndex(self::ORDER_ID_TYPE_INDEX); } public static function addMetaColumn() { // "ALTER TABLE %i ADD COLUMN `meta` JSON DEFAULT NULL AFTER `country`" static::addColumnIfNotExists('meta', 'JSON DEFAULT NULL', 'country'); } }