
[dbo].[al_link_form_attribute_config]
CREATE TABLE [dbo].[al_link_form_attribute_config]
(
[form_attribute_id] [int] NOT NULL,
[config_id] [int] NOT NULL,
[position] [int] NULL,
[column_index] [int] NULL,
[creation_user] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_date] [int] NULL,
[last_update_user] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_update_date] [int] NULL,
[version_number] [int] NULL CONSTRAINT [DF_FAC_VERSION] DEFAULT ('0'),
[visible] [int] NULL,
[control_type_id] [int] NULL,
[foreign_display_type] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_link_form_attribute_config] ADD CONSTRAINT [xpkal_link_form_att_config] PRIMARY KEY CLUSTERED ([form_attribute_id], [config_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_link_form_attribute_config] ADD CONSTRAINT [al_link_form_att_cfg_fk01] FOREIGN KEY ([form_attribute_id]) REFERENCES [dbo].[al_form_attribute_def] ([form_attribute_id])
GO
ALTER TABLE [dbo].[al_link_form_attribute_config] ADD CONSTRAINT [al_link_form_att_cfg_fk02] FOREIGN KEY ([config_id]) REFERENCES [dbo].[al_configuration_def] ([id])
GO
ALTER TABLE [dbo].[al_link_form_attribute_config] ADD CONSTRAINT [FK_AL_LNK_FORM_ATTR_CONFG_FK01] FOREIGN KEY ([control_type_id]) REFERENCES [dbo].[al_control_type_def] ([control_type_id])
GO