Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

seed.sql 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. ;