From 8bb402f7f6780ca8690ee1d9f325d6b31c99d022 Mon Sep 17 00:00:00 2001 From: Adrian Date: Sun, 10 Sep 2023 14:31:47 +0300 Subject: [PATCH] Remove .sqlx from .gitignore for deployment (#29) * Add tests sqlx prepare * remove sqlx from git ignoe --- .gitignore | 1 - ...ebafb2e35b04843aeb09097800442a160c7ec.json | 14 ++++++++++++ ...8db5c176970703b5e482682cc41eda14507cf.json | 22 +++++++++++++++++++ ...241d4f5cace4d05f22b366908c8d90bb72501.json | 20 +++++++++++++++++ 4 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 .sqlx/query-317853a269a3f8b211eabd631edebafb2e35b04843aeb09097800442a160c7ec.json create mode 100644 .sqlx/query-7ee40f7a5f1bae0c8562a5ad62c8db5c176970703b5e482682cc41eda14507cf.json create mode 100644 .sqlx/query-ae151db1793d3b6524a7d4874ef241d4f5cace4d05f22b366908c8d90bb72501.json diff --git a/.gitignore b/.gitignore index 68cd59a..96f76cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /target .idea .DS_Store -.sqlx diff --git a/.sqlx/query-317853a269a3f8b211eabd631edebafb2e35b04843aeb09097800442a160c7ec.json b/.sqlx/query-317853a269a3f8b211eabd631edebafb2e35b04843aeb09097800442a160c7ec.json new file mode 100644 index 0000000..76a8f64 --- /dev/null +++ b/.sqlx/query-317853a269a3f8b211eabd631edebafb2e35b04843aeb09097800442a160c7ec.json @@ -0,0 +1,14 @@ +{ + "db_name": "PostgreSQL", + "query": "DELETE FROM briefly WHERE id = $1", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Text" + ] + }, + "nullable": [] + }, + "hash": "317853a269a3f8b211eabd631edebafb2e35b04843aeb09097800442a160c7ec" +} diff --git a/.sqlx/query-7ee40f7a5f1bae0c8562a5ad62c8db5c176970703b5e482682cc41eda14507cf.json b/.sqlx/query-7ee40f7a5f1bae0c8562a5ad62c8db5c176970703b5e482682cc41eda14507cf.json new file mode 100644 index 0000000..bf9a77b --- /dev/null +++ b/.sqlx/query-7ee40f7a5f1bae0c8562a5ad62c8db5c176970703b5e482682cc41eda14507cf.json @@ -0,0 +1,22 @@ +{ + "db_name": "PostgreSQL", + "query": "SELECT url FROM briefly WHERE id = $1", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "url", + "type_info": "Text" + } + ], + "parameters": { + "Left": [ + "Text" + ] + }, + "nullable": [ + false + ] + }, + "hash": "7ee40f7a5f1bae0c8562a5ad62c8db5c176970703b5e482682cc41eda14507cf" +} diff --git a/.sqlx/query-ae151db1793d3b6524a7d4874ef241d4f5cace4d05f22b366908c8d90bb72501.json b/.sqlx/query-ae151db1793d3b6524a7d4874ef241d4f5cace4d05f22b366908c8d90bb72501.json new file mode 100644 index 0000000..d04eaf2 --- /dev/null +++ b/.sqlx/query-ae151db1793d3b6524a7d4874ef241d4f5cace4d05f22b366908c8d90bb72501.json @@ -0,0 +1,20 @@ +{ + "db_name": "PostgreSQL", + "query": "SELECT url FROM briefly WHERE url = 'www.google.com'", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "url", + "type_info": "Text" + } + ], + "parameters": { + "Left": [] + }, + "nullable": [ + false + ] + }, + "hash": "ae151db1793d3b6524a7d4874ef241d4f5cace4d05f22b366908c8d90bb72501" +}