UPDATE TBDD_MODULES SET DB_VERSION = '2.5.2.1' where NAME = 'Global-Indexer' 
GO


ALTER TABLE TBGI_FILES_USER ADD DocID BIGINT	NOT NULL DEFAULT 0
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

