|
|
@@ -1,7 +1,77 @@ |
|
|
|
INSERT INTO user |
|
|
|
(firstName, lastName, nmls) |
|
|
|
INSERT INTO branch |
|
|
|
(type, num ) |
|
|
|
VALUES |
|
|
|
('Blue Train', 'John Coltrane', 56.99), |
|
|
|
('Giant Steps', 'John Coltrane', 63.99), |
|
|
|
('Jeru', 'Gerry Mulligan', 17.99), |
|
|
|
('Sarah Vaughan', 'Sarah Vaughan', 34.98); |
|
|
|
('NMLS', 'abc123idk'), |
|
|
|
('FSRA', 'another branch'); |
|
|
|
|
|
|
|
INSERT INTO user |
|
|
|
(firstName, |
|
|
|
lastName, |
|
|
|
password, |
|
|
|
nmls, |
|
|
|
branch_id, |
|
|
|
country, |
|
|
|
title, |
|
|
|
email, |
|
|
|
verified, |
|
|
|
status |
|
|
|
) VALUES |
|
|
|
|
|
|
|
( |
|
|
|
'Blue', |
|
|
|
'Coltrane', |
|
|
|
sha2('test123', 256), |
|
|
|
'nml415bas', |
|
|
|
0, |
|
|
|
'Canada', |
|
|
|
'Loan Officer', |
|
|
|
'test@example.com', |
|
|
|
true, |
|
|
|
'Free' |
|
|
|
), |
|
|
|
|
|
|
|
( |
|
|
|
'Giant', |
|
|
|
'Coltrane', |
|
|
|
sha2('test123', 256), |
|
|
|
'jsasd', |
|
|
|
0, |
|
|
|
'USA', |
|
|
|
'Mortgage Broker', |
|
|
|
'unverified@example.com', |
|
|
|
false, |
|
|
|
'Free' |
|
|
|
), |
|
|
|
|
|
|
|
( |
|
|
|
'Jeru', |
|
|
|
'Mulligan', |
|
|
|
sha2('test123', 256), |
|
|
|
'asb512', |
|
|
|
0, |
|
|
|
'USA', |
|
|
|
'Branch Manager', |
|
|
|
'manager@example.com', |
|
|
|
true, |
|
|
|
'Free' |
|
|
|
), |
|
|
|
; |
|
|
|
|
|
|
|
INSERT INTO license ( |
|
|
|
user_id, |
|
|
|
type, |
|
|
|
num |
|
|
|
) VALUES |
|
|
|
|
|
|
|
( |
|
|
|
(SELECT id FROM user WHERE email='verified@example.com'), |
|
|
|
'NMLS', |
|
|
|
'randomnmls', |
|
|
|
), |
|
|
|
|
|
|
|
( |
|
|
|
(SELECT id FROM user WHERE email='manager@example.com'), |
|
|
|
'FSRA', |
|
|
|
'examplefsra', |
|
|
|
) |
|
|
|
; |