
[dbo].[al_link_form_attribute_profile]
CREATE TABLE [dbo].[al_link_form_attribute_profile]
(
[form_attribute_id] [int] NOT NULL,
[profile_id] [int] NOT NULL,
[is_readonly] [int] NOT NULL,
[is_required] [int] NOT 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__al_link_f__versi__778D236C] DEFAULT ('0')
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_link_form_attribute_profile] ADD CONSTRAINT [XPKlink_form_attribute_profile] PRIMARY KEY CLUSTERED ([form_attribute_id], [profile_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_link_form_attribute_profile] WITH NOCHECK ADD CONSTRAINT [AL_LINK_FORM_ATTRIB_PROF_FK01] FOREIGN KEY ([form_attribute_id]) REFERENCES [dbo].[al_form_attribute_def] ([form_attribute_id])
GO
ALTER TABLE [dbo].[al_link_form_attribute_profile] ADD CONSTRAINT [AL_LINK_FORM_ATTRIB_PROF_FK02] FOREIGN KEY ([profile_id]) REFERENCES [dbo].[al_profile_def] ([profile_id])
GO
GRANT SELECT ON [dbo].[al_link_form_attribute_profile] TO [swcmadmin]
GRANT INSERT ON [dbo].[al_link_form_attribute_profile] TO [swcmadmin]
GRANT DELETE ON [dbo].[al_link_form_attribute_profile] TO [swcmadmin]
GRANT UPDATE ON [dbo].[al_link_form_attribute_profile] TO [swcmadmin]
GO