Modified to specifically check 'flx' database for deciding whether to add TimeStorage columns