Skip to content

Commit e02f8a1

Browse files
author
Kevin Martin
committed
added test data for unencrypted data check
1 parent 4d35921 commit e02f8a1

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
INSERT INTO [dbo].[UnencryptedData] ([UnencryptedDataId], [Password], [PasswordIsEncrypted], [LastPasswordChangedDate], [PasswordConfigurationSettings], [PasswordComplexityPattern], [PasswordExpirationDate], [IsPasswordChangedFlag], [LastPasswordFailedDate], [MaxPasswordCharacters], [MinPasswordCharacters], [CreditCardNumber], [CCN], [CreditCardToken], [SSN], [SocialSecurityNumber], [PassportNumber], [DLL], [DriverLicenseNumber], [LicenseCount]) VALUES (1, N'Passw0rd1!', N'0x9892C5339D13A94CC03384E609798F4E4688DACF95BB896FE60931255F054E20', '2020-08-20', '<password allowusedbefore=false>', N'^[a-zA-Z]\w{3,14}$', '2021-08-20', 1, '2019-08-20', 100, 10, '4111111111111111', '5555555555554444', N'J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n', '555255864', N'555-25-5864', 223235245, 'MN2234223', N'WI2930840923', 1000)

Test Database/RedGateDatabaseInfo.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<DataWriteAllFilesInOneDirectory>True</DataWriteAllFilesInOneDirectory>
6060
</WriteToFileOptions>
6161
<DataFileSet>
62-
<Count>0</Count>
62+
<Count>1</Count>
63+
<DataFile>dbo.UnencryptedData_Data.sql</DataFile>
6364
</DataFileSet>
6465
</DatabaseInformation>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
CREATE TABLE [dbo].[UnencryptedData]
2+
(
3+
[UnencryptedDataId] [int] NOT NULL,
4+
[Password] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
5+
[PasswordIsEncrypted] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
6+
[LastPasswordChangedDate] [date] NULL,
7+
[PasswordConfigurationSettings] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
8+
[PasswordComplexityPattern] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
9+
[PasswordExpirationDate] [date] NULL,
10+
[IsPasswordChangedFlag] [bit] NULL,
11+
[LastPasswordFailedDate] [date] NULL,
12+
[MaxPasswordCharacters] [int] NULL,
13+
[MinPasswordCharacters] [int] NULL,
14+
[CreditCardNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
15+
[CCN] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
16+
[CreditCardToken] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
17+
[SSN] [char] (9) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
18+
[SocialSecurityNumber] [nchar] (11) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
19+
[PassportNumber] [int] NULL,
20+
[DLL] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
21+
[DriverLicenseNumber] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
22+
[LicenseCount] [bigint] NULL
23+
) ON [PRIMARY]
24+
GO
25+
ALTER TABLE [dbo].[UnencryptedData] ADD CONSTRAINT [PK_UnencryptedData] PRIMARY KEY CLUSTERED ([UnencryptedDataId]) ON [PRIMARY]
26+
GO

0 commit comments

Comments
 (0)