Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

78 line
860 B

  1. INSERT INTO branch
  2. (type, num )
  3. VALUES
  4. ('NMLS', 'abc123idk'),
  5. ('FSRA', 'another branch');
  6. INSERT INTO user
  7. (firstName,
  8. lastName,
  9. password,
  10. nmls,
  11. branch_id,
  12. country,
  13. title,
  14. email,
  15. verified,
  16. status
  17. ) VALUES
  18. (
  19. 'Blue',
  20. 'Coltrane',
  21. sha2('test123', 256),
  22. 'nml415bas',
  23. 0,
  24. 'Canada',
  25. 'Loan Officer',
  26. 'test@example.com',
  27. true,
  28. 'Free'
  29. ),
  30. (
  31. 'Giant',
  32. 'Coltrane',
  33. sha2('test123', 256),
  34. 'jsasd',
  35. 0,
  36. 'USA',
  37. 'Mortgage Broker',
  38. 'unverified@example.com',
  39. false,
  40. 'Free'
  41. ),
  42. (
  43. 'Jeru',
  44. 'Mulligan',
  45. sha2('test123', 256),
  46. 'asb512',
  47. 0,
  48. 'USA',
  49. 'Branch Manager',
  50. 'manager@example.com',
  51. true,
  52. 'Free'
  53. ),
  54. ;
  55. INSERT INTO license (
  56. user_id,
  57. type,
  58. num
  59. ) VALUES
  60. (
  61. (SELECT id FROM user WHERE email='verified@example.com'),
  62. 'NMLS',
  63. 'randomnmls',
  64. ),
  65. (
  66. (SELECT id FROM user WHERE email='manager@example.com'),
  67. 'FSRA',
  68. 'examplefsra',
  69. )
  70. ;