-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new script for stub account creation
- Loading branch information
1 parent
8ccc130
commit 00c2092
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
select * from aspnetusers where lastname like '% -%' | ||
--update aspnetusers set active = 0 where lastname like '% -%' | ||
--update aspnetusers set active = 1 where lastname like '% -%' | ||
|
||
declare @venmo nvarchar(100) | ||
declare @paypal nvarchar(100) | ||
declare @last4 nvarchar(100) | ||
declare @user nvarchar(100) | ||
declare @first nvarchar(100) | ||
declare @last nvarchar(100) | ||
|
||
set @venmo = 'john-bryan-17' | ||
set @paypal = '[email protected]' | ||
set @last4 = '1672' | ||
set @first = 'John' | ||
set @last = 'Bryan - 24' | ||
set @user = '[email protected]' | ||
insert into aspnetusers (id, email, emailconfirmed, phonenumberconfirmed, twofactorenabled, lockoutenabled, accessfailedcount, username, passwordhash, securitystamp, firstname, lastname, notificationpreference, paypalemail, venmoaccount, mobilelast4, active) | ||
values (newid(), @user, 1, 0, 0, 1, 0, @user, newid(), newid(), @first, @last, 0, @paypal, @venmo, @last4, 0) |