diff --git a/.sqlx/query-2b5906477afca4d29d82a045873e9446b1472a3530a53b016246f2527276e16d.json b/.sqlx/query-2b5906477afca4d29d82a045873e9446b1472a3530a53b016246f2527276e16d.json new file mode 100644 index 0000000..944ed54 --- /dev/null +++ b/.sqlx/query-2b5906477afca4d29d82a045873e9446b1472a3530a53b016246f2527276e16d.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "insert into messages (chat_id, content, from_admin) values ($1, $2, false);", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Uuid", + "Varchar" + ] + }, + "nullable": [] + }, + "hash": "2b5906477afca4d29d82a045873e9446b1472a3530a53b016246f2527276e16d" +} diff --git a/.sqlx/query-2b5f49ba1b74bf1ca59879f5b519d93926015ef8d4448458b6bbd7da2c5bac20.json b/.sqlx/query-2b5f49ba1b74bf1ca59879f5b519d93926015ef8d4448458b6bbd7da2c5bac20.json new file mode 100644 index 0000000..f2bf000 --- /dev/null +++ b/.sqlx/query-2b5f49ba1b74bf1ca59879f5b519d93926015ef8d4448458b6bbd7da2c5bac20.json @@ -0,0 +1,32 @@ +{ + "db_name": "PostgreSQL", + "query": "select * from chats;", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Uuid" + }, + { + "ordinal": 1, + "name": "url_path", + "type_info": "Bpchar" + }, + { + "ordinal": 2, + "name": "name", + "type_info": "Text" + } + ], + "parameters": { + "Left": [] + }, + "nullable": [ + false, + false, + true + ] + }, + "hash": "2b5f49ba1b74bf1ca59879f5b519d93926015ef8d4448458b6bbd7da2c5bac20" +} diff --git a/.sqlx/query-2c289f1d287b915f782bd6f485c7c384b3576dfdf9c5872ac08cebbd274828e5.json b/.sqlx/query-2c289f1d287b915f782bd6f485c7c384b3576dfdf9c5872ac08cebbd274828e5.json new file mode 100644 index 0000000..1e6ebe1 --- /dev/null +++ b/.sqlx/query-2c289f1d287b915f782bd6f485c7c384b3576dfdf9c5872ac08cebbd274828e5.json @@ -0,0 +1,46 @@ +{ + "db_name": "PostgreSQL", + "query": "select * from messages where id = $1", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Uuid" + }, + { + "ordinal": 1, + "name": "timestamp", + "type_info": "Timestamptz" + }, + { + "ordinal": 2, + "name": "chat_id", + "type_info": "Uuid" + }, + { + "ordinal": 3, + "name": "content", + "type_info": "Varchar" + }, + { + "ordinal": 4, + "name": "from_admin", + "type_info": "Bool" + } + ], + "parameters": { + "Left": [ + "Uuid" + ] + }, + "nullable": [ + false, + false, + false, + false, + false + ] + }, + "hash": "2c289f1d287b915f782bd6f485c7c384b3576dfdf9c5872ac08cebbd274828e5" +} diff --git a/.sqlx/query-404670e190b305e19f5668ab343a7f78170d3a59eb0ab321a0fafb21b5462e2b.json b/.sqlx/query-404670e190b305e19f5668ab343a7f78170d3a59eb0ab321a0fafb21b5462e2b.json new file mode 100644 index 0000000..c5816a0 --- /dev/null +++ b/.sqlx/query-404670e190b305e19f5668ab343a7f78170d3a59eb0ab321a0fafb21b5462e2b.json @@ -0,0 +1,47 @@ +{ + "db_name": "PostgreSQL", + "query": "select * from messages where chat_id = $1 and timestamp > $2;", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Uuid" + }, + { + "ordinal": 1, + "name": "timestamp", + "type_info": "Timestamptz" + }, + { + "ordinal": 2, + "name": "chat_id", + "type_info": "Uuid" + }, + { + "ordinal": 3, + "name": "content", + "type_info": "Varchar" + }, + { + "ordinal": 4, + "name": "from_admin", + "type_info": "Bool" + } + ], + "parameters": { + "Left": [ + "Uuid", + "Timestamptz" + ] + }, + "nullable": [ + false, + false, + false, + false, + false + ] + }, + "hash": "404670e190b305e19f5668ab343a7f78170d3a59eb0ab321a0fafb21b5462e2b" +} diff --git a/.sqlx/query-4049814e0fe01723edef078c5b77715d51e193fab70b31f82455bac7e06c1031.json b/.sqlx/query-4049814e0fe01723edef078c5b77715d51e193fab70b31f82455bac7e06c1031.json new file mode 100644 index 0000000..d6844a6 --- /dev/null +++ b/.sqlx/query-4049814e0fe01723edef078c5b77715d51e193fab70b31f82455bac7e06c1031.json @@ -0,0 +1,46 @@ +{ + "db_name": "PostgreSQL", + "query": "select * from messages where chat_id = $1", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Uuid" + }, + { + "ordinal": 1, + "name": "timestamp", + "type_info": "Timestamptz" + }, + { + "ordinal": 2, + "name": "chat_id", + "type_info": "Uuid" + }, + { + "ordinal": 3, + "name": "content", + "type_info": "Varchar" + }, + { + "ordinal": 4, + "name": "from_admin", + "type_info": "Bool" + } + ], + "parameters": { + "Left": [ + "Uuid" + ] + }, + "nullable": [ + false, + false, + false, + false, + false + ] + }, + "hash": "4049814e0fe01723edef078c5b77715d51e193fab70b31f82455bac7e06c1031" +} diff --git a/.sqlx/query-40cc554af360c05ce8094effbad9aedd411bda406fddae6ff5e0c8883b07b123.json b/.sqlx/query-40cc554af360c05ce8094effbad9aedd411bda406fddae6ff5e0c8883b07b123.json new file mode 100644 index 0000000..f08cca7 --- /dev/null +++ b/.sqlx/query-40cc554af360c05ce8094effbad9aedd411bda406fddae6ff5e0c8883b07b123.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "insert into messages (chat_id, content, from_admin) values ($1, $2, true);", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Uuid", + "Varchar" + ] + }, + "nullable": [] + }, + "hash": "40cc554af360c05ce8094effbad9aedd411bda406fddae6ff5e0c8883b07b123" +} diff --git a/.sqlx/query-db65377a842444664e08821fd12f74ba7d2ce697e56e8933a7c61118584e71ba.json b/.sqlx/query-db65377a842444664e08821fd12f74ba7d2ce697e56e8933a7c61118584e71ba.json new file mode 100644 index 0000000..9792995 --- /dev/null +++ b/.sqlx/query-db65377a842444664e08821fd12f74ba7d2ce697e56e8933a7c61118584e71ba.json @@ -0,0 +1,34 @@ +{ + "db_name": "PostgreSQL", + "query": "select * from chats where url_path = $1", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Uuid" + }, + { + "ordinal": 1, + "name": "url_path", + "type_info": "Bpchar" + }, + { + "ordinal": 2, + "name": "name", + "type_info": "Text" + } + ], + "parameters": { + "Left": [ + "Bpchar" + ] + }, + "nullable": [ + false, + false, + true + ] + }, + "hash": "db65377a842444664e08821fd12f74ba7d2ce697e56e8933a7c61118584e71ba" +}