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

ALTER TABLE TBGI_HISTORY ADD FILE_HASH VARCHAR(100) NULL
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX1 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX2 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX3 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX4 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX5 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX6 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX7 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX8 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX9 VARCHAR(250)
ALTER TABLE TBGI_HISTORY ALTER COLUMN INDEX10 VARCHAR(250)
GO
