summaryrefslogtreecommitdiff
path: root/sqlx-data.json
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-27 19:55:10 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-27 19:58:45 -0500
commit21b7b57336cd3bf7bd328ada38c6069a48504f85 (patch)
treec0d47337f584403febcfc9ec365ea1ea810e782e /sqlx-data.json
parent3418ebf4db2375e0dfe2343da57d674e1f4fd57f (diff)
`cargo fmt`
Diffstat (limited to 'sqlx-data.json')
-rw-r--r--sqlx-data.json225
1 files changed, 225 insertions, 0 deletions
diff --git a/sqlx-data.json b/sqlx-data.json
new file mode 100644
index 0000000..a0a5c19
--- /dev/null
+++ b/sqlx-data.json
@@ -0,0 +1,225 @@
+{
+ "db": "PostgreSQL",
+ "05a3ad4f0b6c1c34d120e2fbf37927259ffbcac0b6b4c6e9dc5864cef9ce6640": {
+ "describe": {
+ "columns": [],
+ "nullable": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Varchar"
+ ]
+ }
+ },
+ "query": "\n insert into table_players (active_tables_id,\n player_id,\n position)\n values ($1, $2, 'south')\n "
+ },
+ "26fc6af83759bf876a88aebcdf36b5282bdd354f09a7ecdc2e21f9418874ae41": {
+ "describe": {
+ "columns": [],
+ "nullable": [],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ }
+ },
+ "query": "\n delete from table_players where player_id = $1\n "
+ },
+ "3e270c5c0bb37186f0cd75d3197413611f7e2ad83a8ccbe31a4c463d69ee9d4c": {
+ "describe": {
+ "columns": [
+ {
+ "name": "id",
+ "ordinal": 0,
+ "type_info": "Uuid"
+ },
+ {
+ "name": "player_id",
+ "ordinal": 1,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "access_token",
+ "ordinal": 2,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "access_token_expiration",
+ "ordinal": 3,
+ "type_info": "Timestamptz"
+ },
+ {
+ "name": "refresh_token",
+ "ordinal": 4,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "last_refresh",
+ "ordinal": 5,
+ "type_info": "Timestamptz"
+ }
+ ],
+ "nullable": [
+ false,
+ false,
+ false,
+ false,
+ false,
+ false
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Varchar",
+ "Varchar",
+ "Timestamptz",
+ "Varchar"
+ ]
+ }
+ },
+ "query": "\n insert into sessions (\n id,\n player_id,\n access_token,\n access_token_expiration,\n refresh_token\n ) values ($1, $2, $3, $4, $5)\n on conflict (id) do update set\n access_token = EXCLUDED.access_token,\n access_token_expiration = EXCLUDED.access_token_expiration,\n refresh_token = EXCLUDED.refresh_token,\n last_refresh = now()\n returning *\n "
+ },
+ "48a1d60ab96fc82fa4064fffeb0ab71689e9641e9cf8f99232048e9ee354ec55": {
+ "describe": {
+ "columns": [
+ {
+ "name": "id",
+ "ordinal": 0,
+ "type_info": "Uuid"
+ },
+ {
+ "name": "player_id",
+ "ordinal": 1,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "access_token",
+ "ordinal": 2,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "access_token_expiration",
+ "ordinal": 3,
+ "type_info": "Timestamptz"
+ },
+ {
+ "name": "refresh_token",
+ "ordinal": 4,
+ "type_info": "Varchar"
+ },
+ {
+ "name": "last_refresh",
+ "ordinal": 5,
+ "type_info": "Timestamptz"
+ }
+ ],
+ "nullable": [
+ false,
+ false,
+ false,
+ false,
+ false,
+ false
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ }
+ },
+ "query": "\n select * from sessions\n where id = $1\n "
+ },
+ "9c334e7646337f746e885253c8942750ed49ddb7fb0860c75afa6f8430dbc560": {
+ "describe": {
+ "columns": [
+ {
+ "name": "id",
+ "ordinal": 0,
+ "type_info": "Uuid"
+ }
+ ],
+ "nullable": [
+ false
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ }
+ },
+ "query": "\n insert into active_tables (id)\n values ($1)\n returning id\n "
+ },
+ "b87f3b68e682f1db7552db6b18e9fb2ba208a47b526cc764f740b9c687d75992": {
+ "describe": {
+ "columns": [],
+ "nullable": [],
+ "parameters": {
+ "Left": [
+ "Varchar"
+ ]
+ }
+ },
+ "query": "\n insert into players (id)\n values ($1)\n on conflict do nothing\n "
+ },
+ "bab6adb0a18c6dcb8cd61b19c84347a2495c09fa12229299d6a64c1a01a38395": {
+ "describe": {
+ "columns": [
+ {
+ "name": "id",
+ "ordinal": 0,
+ "type_info": "Uuid"
+ }
+ ],
+ "nullable": [
+ false
+ ],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ }
+ },
+ "query": "\n select tables.id\n from table_players players\n natural join active_tables tables\n where player_id = $1\n "
+ },
+ "c343b2efe469200c56d080c82caead4a6ca48a344dde344561de81ebf6343747": {
+ "describe": {
+ "columns": [],
+ "nullable": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Int8",
+ "Jsonb"
+ ]
+ }
+ },
+ "query": "\n insert into object_journal (id, seq, payload)\n values ($1, $2, $3)\n "
+ },
+ "e37e47e3fbd6e06006280687bd73a7bb55a2847bf76deb284b8373b93c479fcd": {
+ "describe": {
+ "columns": [
+ {
+ "name": "seq",
+ "ordinal": 0,
+ "type_info": "Int8"
+ },
+ {
+ "name": "payload: _",
+ "ordinal": 1,
+ "type_info": "Jsonb"
+ }
+ ],
+ "nullable": [
+ false,
+ false
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Int8"
+ ]
+ }
+ },
+ "query": "\n select seq, payload as \"payload: _\" from object_journal\n where id = $1 and seq >= $2\n order by seq\n "
+ }
+} \ No newline at end of file