|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- INSERT INTO branch
- (type, num )
- VALUES
- ('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',
- )
- ;
|