summaryrefslogtreecommitdiff
path: root/.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-04 00:28:35 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-04 00:28:35 -0400
commit2965a788cfcf4a0386cb8832e0d96491bf54c1d3 (patch)
tree096b00f64b092396e99d04ebe124fa15d734f6c1 /.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json
parent289e99ba977ebe6c4599141bc368c17f9905ffcc (diff)
Display a different / page depending on whether the current identity is valid or not.
This is mostly a proof of concept for the implementation of form login implemented in previous commits, but it _is_ useful as it controls whether the / page shows login, or shows logout. From here, chat is next!
Diffstat (limited to '.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json')
-rw-r--r--.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json b/.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json
new file mode 100644
index 0000000..8c6e9f2
--- /dev/null
+++ b/.sqlx/query-a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712.json
@@ -0,0 +1,32 @@
+{
+ "db_name": "SQLite",
+ "query": "\n select\n id as \"id: Id\",\n name,\n password_hash as \"password_hash: StoredHash\"\n from login\n where name = $1\n ",
+ "describe": {
+ "columns": [
+ {
+ "name": "id: Id",
+ "ordinal": 0,
+ "type_info": "Text"
+ },
+ {
+ "name": "name",
+ "ordinal": 1,
+ "type_info": "Text"
+ },
+ {
+ "name": "password_hash: StoredHash",
+ "ordinal": 2,
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Right": 1
+ },
+ "nullable": [
+ false,
+ false,
+ false
+ ]
+ },
+ "hash": "a9203ebdb9c57e59ae79ae5932f00e82f9dd4ad8a5abf3e905db36d3f9a06712"
+}