Tables [dbo].[AccountPasswordPolicies]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created1:20:01 AM Thursday, March 21, 2019
Last Modified1:20:09 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_AccountPasswordPolicies_AccountID: AccountIDForeign Keys FK_AccountPasswordPolicies_AccountID_Account_AccountID: [dbo].[Account].AccountIDAccountIDint4
False
ExpirationDaysint4
True
MinimumLengthint4
True
NumberOfNonAlphaint4
True
MaxInvalidPasswordAttemptsint4
True
PasswordAttemptWindowint4
True
PasswordForNewContactsvarchar(128)128
True
KeyNameKey ColumnsUnique
Cluster Primary Key PK_AccountPasswordPolicies_AccountID: AccountIDPK_AccountPasswordPolicies_AccountIDAccountID
True
NameDeleteColumns
FK_AccountPasswordPolicies_AccountID_Account_AccountIDCascadeAccountID->[dbo].[Account].[AccountID]
CREATE TABLE [dbo].[AccountPasswordPolicies]
(
[AccountID] [int] NOT NULL,
[ExpirationDays] [int] NULL,
[MinimumLength] [int] NULL,
[NumberOfNonAlpha] [int] NULL,
[MaxInvalidPasswordAttempts] [int] NULL,
[PasswordAttemptWindow] [int] NULL,
[PasswordForNewContacts] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountPasswordPolicies] ADD CONSTRAINT [PK_AccountPasswordPolicies_AccountID] PRIMARY KEY CLUSTERED  ([AccountID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountPasswordPolicies] ADD CONSTRAINT [FK_AccountPasswordPolicies_AccountID_Account_AccountID] FOREIGN KEY ([AccountID]) REFERENCES [dbo].[Account] ([AccountID]) ON DELETE CASCADE
GO