--Share use by Core, Mobile and Webwork.
--This value is insert when new WR is created and this field is not allow to change in front end.
IF NOT EXISTS (
    SELECT * FROM INFORMATION_SCHEMA.COLUMNS 
    WHERE TABLE_NAME = 'wkr_mst' AND COLUMN_NAME = 'wkr_mst_source'
)
BEGIN
    ALTER TABLE wkr_mst 
    ADD wkr_mst_source varchar(30);
END

DELETE	cf_label
WHERE	table_name = 'wkr_mst'
AND 	column_name = 'wkr_mst_source'
GO

INSERT 	cf_label (language_cd, table_name, column_name, 
		default_label,
		customize_label, 
		default_header, 
		customize_header, 
		cfr_flag, cf_label_required, audit_user, audit_date ) 
SELECT 	language_cd, 'wkr_mst', 'wkr_mst_source', 
		'Source:', 
		'Source:', 
		'Source', 
		'Source', 
		'0', '0', 'admin', getdate() 
FROM	cf_language 
GO