UPDATE TBDD_MODULES SET DB_VERSION = '2.5.2.2' where NAME = 'Global-Indexer' 
GO
IF COL_LENGTH('TBGI_FILES_USER','FILE_HASH') IS NOT NULL
    PRINT 'Column Exists';
ELSE
    ALTER TABLE TBGI_FILES_USER ADD FILE_HASH VARCHAR(200) DEFAULT ''
GO

