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',
)
;
