Add sqlx cache to allow compile time verification in CI
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 5m49s

This commit is contained in:
2026-07-02 22:07:39 -05:00
parent 0c3e86cf00
commit 3e3215b25f
7 changed files with 260 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{
"db_name": "SQLite",
"query": "SELECT * FROM subscriptions WHERE device = ? AND user = ? AND updated >= ?",
"describe": {
"columns": [
{
"name": "url",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "device",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "user",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "current",
"ordinal": 3,
"type_info": "Integer"
},
{
"name": "updated",
"ordinal": 4,
"type_info": "Integer"
}
],
"parameters": {
"Right": 3
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "109969c2dabdda9d0c8ce1d6efb8ff98c2b9d6ee3d950102224857c2b02d693a"
}

View File

@@ -0,0 +1,20 @@
{
"db_name": "SQLite",
"query": "SELECT count(name) as count from users",
"describe": {
"columns": [
{
"name": "count",
"ordinal": 0,
"type_info": "Integer"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false
]
},
"hash": "38fb9412d5c6c46dc9d136caa6a58eae2d1782076f0cf7e7f4aeb362b5370acb"
}

View File

@@ -0,0 +1,32 @@
{
"db_name": "SQLite",
"query": "SELECT * from users where name = ?",
"describe": {
"columns": [
{
"name": "name",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "role",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "password",
"ordinal": 2,
"type_info": "Text"
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false
]
},
"hash": "3a0708525a9b79496995698914aa04b30a09af51179b91f58e4c495f2d02ccf4"
}

View File

@@ -0,0 +1,32 @@
{
"db_name": "SQLite",
"query": "SELECT id, caption, type FROM devices WHERE user = ? AND id = ?",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "caption",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "type",
"ordinal": 2,
"type_info": "Text"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false
]
},
"hash": "40f2987d12324e4885d8b1c09eef9ea26519000b46fe37de6e3c4b3ebe569a1a"
}

View File

@@ -0,0 +1,68 @@
{
"db_name": "SQLite",
"query": "SELECT podcast, episode, device, guid, action, timestamp, started, position, total FROM episodes WHERE user = ? AND updated >= ?",
"describe": {
"columns": [
{
"name": "podcast",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "episode",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "device",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "guid",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "action",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "timestamp",
"ordinal": 5,
"type_info": "Text"
},
{
"name": "started",
"ordinal": 6,
"type_info": "Integer"
},
{
"name": "position",
"ordinal": 7,
"type_info": "Integer"
},
{
"name": "total",
"ordinal": 8,
"type_info": "Integer"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
true,
true,
false,
false,
true,
true,
true
]
},
"hash": "4146409ae2704d9d836a8c8fdf719a001b1faf39916af4e00f2825cbbb699387"
}

View File

@@ -0,0 +1,32 @@
{
"db_name": "SQLite",
"query": "SELECT id, caption, type FROM devices WHERE user = ?",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "caption",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "type",
"ordinal": 2,
"type_info": "Text"
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false
]
},
"hash": "4da964069e4428d88f655e76c29d5cc8e13a3593461849724eddaa86097569d9"
}

View File

@@ -0,0 +1,32 @@
{
"db_name": "SQLite",
"query": "SELECT * from users",
"describe": {
"columns": [
{
"name": "name",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "role",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "password",
"ordinal": 2,
"type_info": "Text"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false
]
},
"hash": "d4de8f5f804f721ffee589ea2a4cfef8500426de1c04d2186382af93f3d002a3"
}