UPDATE TBDD_MODULES SET DB_VERSION = '3.3' where NAME = 'Process-Manager';
GO

IF NOT EXISTS (
    SELECT 1
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_SCHEMA = 'dbo'
      AND TABLE_NAME   = 'TBPM_CONTROL_TABLE'
      AND COLUMN_NAME  = 'INHERIT_VALUE'
)
    BEGIN
    PRINT 'Spalte existiert nicht';
ALTER TABLE TBPM_CONTROL_TABLE ADD INHERIT_VALUE BIT NOT NULL DEFAULT 0

END

GO