From 72fe18ecdead0b4d69012a81ef9d1682938d385e Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 17 Dec 2024 16:24:46 +0100 Subject: [PATCH] sqlx prepare --- ...3d0f4bac44f03e38f8f8293292aa78fbb1751.json | 34 ------------------- ...b8b04c1f0d140104e1593b8a38b7a67dca7c1.json | 34 +++++++++++++++++++ ...4b7b805b7c679881c7d324729aa450dc92da6.json | 29 ++++++++++++++++ ...b8c550d9c5e7cd5558f2aaab7e002747bd7d1.json | 29 ---------------- 4 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 .sqlx/query-4c6e6cdd377e08af8c54243eb9b3d0f4bac44f03e38f8f8293292aa78fbb1751.json create mode 100644 .sqlx/query-4e9ee3214db6178565dbcd05e7bb8b04c1f0d140104e1593b8a38b7a67dca7c1.json create mode 100644 .sqlx/query-7587e724d83c7fa258e4249d4c44b7b805b7c679881c7d324729aa450dc92da6.json delete mode 100644 .sqlx/query-d6e0f659dce32aab6ab939073d2b8c550d9c5e7cd5558f2aaab7e002747bd7d1.json diff --git a/.sqlx/query-4c6e6cdd377e08af8c54243eb9b3d0f4bac44f03e38f8f8293292aa78fbb1751.json b/.sqlx/query-4c6e6cdd377e08af8c54243eb9b3d0f4bac44f03e38f8f8293292aa78fbb1751.json deleted file mode 100644 index 9090d2b..0000000 --- a/.sqlx/query-4c6e6cdd377e08af8c54243eb9b3d0f4bac44f03e38f8f8293292aa78fbb1751.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n INSERT INTO proposal_snapshots (\n proposal_id,\n block_height,\n ts,\n editor_id,\n social_db_post_block_height,\n labels,\n proposal_version,\n proposal_body_version,\n name,\n category,\n summary,\n description,\n linked_proposals,\n linked_rfp,\n requested_sponsorship_usd_amount,\n requested_sponsorship_paid_in_currency,\n requested_sponsor,\n receiver_account,\n supervisor,\n timeline,\n views\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8,\n $9, $10, $11, $12, $13, $14,\n $15, $16, $17, $18, $19, $20, $21\n ) ON CONFLICT (proposal_id, ts) DO UPDATE SET\n block_height = $2,\n editor_id = $4,\n social_db_post_block_height = $5,\n labels = $6,\n proposal_version = $7,\n proposal_body_version = $8,\n name = $9,\n category = $10,\n summary = $11,\n description = $12,\n linked_proposals = $13,\n linked_rfp = $14,\n requested_sponsorship_usd_amount = $15,\n requested_sponsorship_paid_in_currency = $16,\n requested_sponsor = $17,\n receiver_account = $18,\n supervisor = $19,\n timeline = $20,\n views = $21\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Int4", - "Int8", - "Int8", - "Varchar", - "Int8", - "Jsonb", - "Varchar", - "Varchar", - "Text", - "Varchar", - "Text", - "Text", - "Jsonb", - "Int4", - "Int4", - "Varchar", - "Varchar", - "Varchar", - "Varchar", - "Jsonb", - "Int4" - ] - }, - "nullable": [] - }, - "hash": "4c6e6cdd377e08af8c54243eb9b3d0f4bac44f03e38f8f8293292aa78fbb1751" -} diff --git a/.sqlx/query-4e9ee3214db6178565dbcd05e7bb8b04c1f0d140104e1593b8a38b7a67dca7c1.json b/.sqlx/query-4e9ee3214db6178565dbcd05e7bb8b04c1f0d140104e1593b8a38b7a67dca7c1.json new file mode 100644 index 0000000..963cd6d --- /dev/null +++ b/.sqlx/query-4e9ee3214db6178565dbcd05e7bb8b04c1f0d140104e1593b8a38b7a67dca7c1.json @@ -0,0 +1,34 @@ +{ + "db_name": "PostgreSQL", + "query": "\n INSERT INTO proposal_snapshots (\n proposal_id,\n block_height,\n ts,\n editor_id,\n social_db_post_block_height,\n labels,\n proposal_version,\n proposal_body_version,\n name,\n category,\n summary,\n description,\n linked_proposals,\n linked_rfp,\n requested_sponsorship_usd_amount,\n requested_sponsorship_paid_in_currency,\n requested_sponsor,\n receiver_account,\n supervisor,\n timeline,\n views\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8,\n $9, $10, $11, $12, $13, $14,\n $15, $16, $17, $18, $19, $20, $21\n ) ON CONFLICT (proposal_id, ts) DO UPDATE SET\n block_height = $2,\n editor_id = $4,\n social_db_post_block_height = $5,\n labels = $6,\n proposal_version = $7,\n proposal_body_version = $8,\n name = $9,\n category = $10,\n summary = $11,\n description = $12,\n linked_proposals = $13,\n linked_rfp = $14,\n requested_sponsorship_usd_amount = $15,\n requested_sponsorship_paid_in_currency = $16,\n requested_sponsor = $17,\n receiver_account = $18,\n supervisor = $19,\n timeline = $20,\n views = $21\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Int4", + "Int8", + "Int8", + "Varchar", + "Int8", + "Jsonb", + "Varchar", + "Varchar", + "Text", + "Varchar", + "Text", + "Text", + "Jsonb", + "Int4", + "Int4", + "Varchar", + "Varchar", + "Varchar", + "Varchar", + "Jsonb", + "Int4" + ] + }, + "nullable": [] + }, + "hash": "4e9ee3214db6178565dbcd05e7bb8b04c1f0d140104e1593b8a38b7a67dca7c1" +} diff --git a/.sqlx/query-7587e724d83c7fa258e4249d4c44b7b805b7c679881c7d324729aa450dc92da6.json b/.sqlx/query-7587e724d83c7fa258e4249d4c44b7b805b7c679881c7d324729aa450dc92da6.json new file mode 100644 index 0000000..335e67f --- /dev/null +++ b/.sqlx/query-7587e724d83c7fa258e4249d4c44b7b805b7c679881c7d324729aa450dc92da6.json @@ -0,0 +1,29 @@ +{ + "db_name": "PostgreSQL", + "query": "\n INSERT INTO rfp_snapshots (\n rfp_id,\n block_height,\n ts,\n editor_id,\n social_db_post_block_height,\n labels,\n linked_proposals,\n rfp_version,\n rfp_body_version,\n name,\n category,\n summary,\n description,\n timeline,\n submission_deadline,\n views\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8,\n $9, $10, $11, $12, $13, $14, $15, $16\n ) ON CONFLICT (rfp_id, ts) DO UPDATE SET\n block_height = $2,\n editor_id = $4,\n social_db_post_block_height = $5,\n labels = $6,\n linked_proposals = $7,\n rfp_version = $8,\n rfp_body_version = $9,\n name = $10,\n category = $11,\n summary = $12,\n description = $13,\n timeline = $14,\n submission_deadline = $15,\n views = $16\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Int4", + "Int8", + "Int8", + "Varchar", + "Int8", + "Jsonb", + "Jsonb", + "Varchar", + "Varchar", + "Text", + "Varchar", + "Text", + "Text", + "Jsonb", + "Int8", + "Int4" + ] + }, + "nullable": [] + }, + "hash": "7587e724d83c7fa258e4249d4c44b7b805b7c679881c7d324729aa450dc92da6" +} diff --git a/.sqlx/query-d6e0f659dce32aab6ab939073d2b8c550d9c5e7cd5558f2aaab7e002747bd7d1.json b/.sqlx/query-d6e0f659dce32aab6ab939073d2b8c550d9c5e7cd5558f2aaab7e002747bd7d1.json deleted file mode 100644 index 02df132..0000000 --- a/.sqlx/query-d6e0f659dce32aab6ab939073d2b8c550d9c5e7cd5558f2aaab7e002747bd7d1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n INSERT INTO rfp_snapshots (\n rfp_id,\n block_height,\n ts,\n editor_id,\n social_db_post_block_height,\n labels,\n linked_proposals,\n rfp_version,\n rfp_body_version,\n name,\n category,\n summary,\n description,\n timeline,\n submission_deadline,\n views\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8,\n $9, $10, $11, $12, $13, $14, $15, $16\n ) ON CONFLICT (rfp_id, ts) DO UPDATE SET\n block_height = $2,\n editor_id = $4,\n social_db_post_block_height = $5,\n labels = $6,\n linked_proposals = $7,\n rfp_version = $8,\n rfp_body_version = $9,\n name = $10,\n category = $11,\n summary = $12,\n description = $13,\n timeline = $14,\n submission_deadline = $15,\n views = $16\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Int4", - "Int8", - "Int8", - "Varchar", - "Int8", - "Jsonb", - "Jsonb", - "Varchar", - "Varchar", - "Text", - "Varchar", - "Text", - "Text", - "Jsonb", - "Int8", - "Int4" - ] - }, - "nullable": [] - }, - "hash": "d6e0f659dce32aab6ab939073d2b8c550d9c5e7cd5558f2aaab7e002747bd7d1" -}