UPDATE TBDD_MODULES SET PRODUCT_VERSION = '2.4.8.3' where NAME = 'Record-Organizer' 
GO 

ALTER TABLE TBPMO_STRUCTURE_NODES_CONFIGURATION ADD FONT_FAMILY VARCHAR(50) NOT NULL DEFAULT 'Tahoma'
GO 
ALTER TABLE TBPMO_STRUCTURE_NODES_CONFIGURATION ADD FONT_COLOR BIGINT NOT NULL DEFAULT 0
GO 
ALTER TABLE TBPMO_STRUCTURE_NODES_CONFIGURATION ADD FONT_SIZE SMALLINT NOT NULL DEFAULT 10
GO 
ALTER TABLE TBPMO_STRUCTURE_NODES_CONFIGURATION ADD FONT_STYLE SMALLINT NOT NULL DEFAULT 0
GO 
ALTER TABLE TBPMO_STRUCTURE_NODES_CONFIGURATION ADD BACK_COLOR BIGINT NOT NULL DEFAULT 15790320
GO 

ALTER VIEW [dbo].[VWPMO_STRUCTURE_NODES] AS 
select 
	T.*,
	T1.CONTROL_ID,
	T1.CREATE_RECORD,
	T1.ENTITY_ID,
	T1.NAME,
	T1.TYPE_NODE,
	T1.FONT_FAMILY,
	T1.FONT_COLOR,
	T1.EXPAND AS EXPAND_NODE,
T1.FONT_SIZE,
T1.FONT_STYLE,
T1.BACK_COLOR
	 from TBPMO_STRUCTURE_NODES T, TBPMO_STRUCTURE_NODES_CONFIGURATION T1
WHERE T.NODE_CONFIG_ID = T1.GUID
GO
ALTER TABLE tbpmo_Record ALTER COLUMN RECORD_ENTITY_ID bigint
ALTER TABLE [dbo].[TBPMO_RECORD] ADD  DEFAULT ((0)) FOR RECORD_ENTITY_ID
GO



