Tables [dbo].[PlasticTokenTypeGatewayMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)16
Created9:01:35 AM Friday, October 11, 2024
Last Modified9:01:35 AM Friday, October 11, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticTokenTypeGatewayMap: TokenTypeGatewayMapIDTokenTypeGatewayMapIDint4
No
1 - 1
Foreign Keys FK_PlasticTokenTypeGatewayMap_TokenTypeFID: [dbo].[PlasticTokenType].TokenTypeFIDIndexes IX_PlasticTokenTypeGatewayMap_TokenType_ProviderType: TokenTypeFID\ProviderTypeFIDTokenTypeFIDint4
No
Foreign Keys FK_PlasticTokenTypeGatewayMap_ProviderTypeFID: [dbo].[PlasticProviderType].ProviderTypeFIDIndexes IX_PlasticTokenTypeGatewayMap_ProviderType_ExternalCode: ProviderTypeFID\ExternalCodeIndexes IX_PlasticTokenTypeGatewayMap_TokenType_ProviderType: TokenTypeFID\ProviderTypeFIDProviderTypeFIDint4
No
Indexes IX_PlasticTokenTypeGatewayMap_ProviderType_ExternalCode: ProviderTypeFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticTokenTypeGatewayMap: TokenTypeGatewayMapIDPK_PlasticTokenTypeGatewayMapTokenTypeGatewayMapID
Yes
IX_PlasticTokenTypeGatewayMap_ProviderType_ExternalCodeProviderTypeFID, ExternalCode
Yes
IX_PlasticTokenTypeGatewayMap_TokenType_ProviderTypeTokenTypeFID, ProviderTypeFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_PlasticTokenTypeGatewayMap_ProviderTypeFIDProviderTypeFID->[dbo].[PlasticProviderType].[ProviderTypeID]
FK_PlasticTokenTypeGatewayMap_TokenTypeFIDTokenTypeFID->[dbo].[PlasticTokenType].[TokenTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticTokenTypeGatewayMap]
(
[TokenTypeGatewayMapID] [int] NOT NULL IDENTITY(1, 1),
[TokenTypeFID] [int] NOT NULL,
[ProviderTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenTypeGatewayMap] ADD CONSTRAINT [PK_PlasticTokenTypeGatewayMap] PRIMARY KEY CLUSTERED  ([TokenTypeGatewayMapID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticTokenTypeGatewayMap_ProviderType_ExternalCode] ON [dbo].[PlasticTokenTypeGatewayMap] ([ProviderTypeFID], [ExternalCode]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticTokenTypeGatewayMap_TokenType_ProviderType] ON [dbo].[PlasticTokenTypeGatewayMap] ([TokenTypeFID], [ProviderTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenTypeGatewayMap] ADD CONSTRAINT [FK_PlasticTokenTypeGatewayMap_ProviderTypeFID] FOREIGN KEY ([ProviderTypeFID]) REFERENCES [dbo].[PlasticProviderType] ([ProviderTypeID])
GO
ALTER TABLE [dbo].[PlasticTokenTypeGatewayMap] ADD CONSTRAINT [FK_PlasticTokenTypeGatewayMap_TokenTypeFID] FOREIGN KEY ([TokenTypeFID]) REFERENCES [dbo].[PlasticTokenType] ([TokenTypeID])
GO
GRANT SELECT ON  [dbo].[PlasticTokenTypeGatewayMap] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticTokenTypeGatewayMap] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticTokenTypeGatewayMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticTokenTypeGatewayMap] TO [MssExec]
GO
Uses
Used By