diff options
Diffstat (limited to 'src/sql/uninsertableInsert.sql')
| -rw-r--r-- | src/sql/uninsertableInsert.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sql/uninsertableInsert.sql b/src/sql/uninsertableInsert.sql new file mode 100644 index 0000000..5b09393 --- /dev/null +++ b/src/sql/uninsertableInsert.sql @@ -0,0 +1,5 @@ +INSERT INTO entities(type, value, detail) + VALUES ('uninsertable_line', $1, jsonb_build_object('hostnameId', $2::int, 'error', $3::text, + 'timestamp', CURRENT_TIMESTAMP)) +RETURNING + id |
