query-714904ff3cb3d812603a8daf505e556a38be72cc0b1388fb6b5929033b8c28f1.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "db_name": "PostgreSQL",
  3. "query": "INSERT INTO users\n (id, email, password_hash, is_admin, must_change_password,\n password_changed_at, created_at, updated_at)\n VALUES ($1, $2::text::citext, $3, $4, $5,\n CASE WHEN $5 THEN NULL ELSE now() END, now(), now())\n RETURNING id, email::text AS \"email!\", is_admin, must_change_password,\n disabled, totp_enabled, password_changed_at",
  4. "describe": {
  5. "columns": [
  6. {
  7. "ordinal": 0,
  8. "name": "id",
  9. "type_info": "Uuid",
  10. "origin": {
  11. "Table": {
  12. "table": "users",
  13. "name": "id"
  14. }
  15. }
  16. },
  17. {
  18. "ordinal": 1,
  19. "name": "email!",
  20. "type_info": "Text",
  21. "origin": "Expression"
  22. },
  23. {
  24. "ordinal": 2,
  25. "name": "is_admin",
  26. "type_info": "Bool",
  27. "origin": {
  28. "Table": {
  29. "table": "users",
  30. "name": "is_admin"
  31. }
  32. }
  33. },
  34. {
  35. "ordinal": 3,
  36. "name": "must_change_password",
  37. "type_info": "Bool",
  38. "origin": {
  39. "Table": {
  40. "table": "users",
  41. "name": "must_change_password"
  42. }
  43. }
  44. },
  45. {
  46. "ordinal": 4,
  47. "name": "disabled",
  48. "type_info": "Bool",
  49. "origin": {
  50. "Table": {
  51. "table": "users",
  52. "name": "disabled"
  53. }
  54. }
  55. },
  56. {
  57. "ordinal": 5,
  58. "name": "totp_enabled",
  59. "type_info": "Bool",
  60. "origin": {
  61. "Table": {
  62. "table": "users",
  63. "name": "totp_enabled"
  64. }
  65. }
  66. },
  67. {
  68. "ordinal": 6,
  69. "name": "password_changed_at",
  70. "type_info": "Timestamptz",
  71. "origin": {
  72. "Table": {
  73. "table": "users",
  74. "name": "password_changed_at"
  75. }
  76. }
  77. }
  78. ],
  79. "parameters": {
  80. "Left": [
  81. "Uuid",
  82. "Text",
  83. "Text",
  84. "Bool",
  85. "Bool"
  86. ]
  87. },
  88. "nullable": [
  89. false,
  90. null,
  91. false,
  92. false,
  93. false,
  94. false,
  95. true
  96. ]
  97. },
  98. "hash": "714904ff3cb3d812603a8daf505e556a38be72cc0b1388fb6b5929033b8c28f1"
  99. }