diff --git a/.sqlx/query-809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a.json b/.sqlx/query-809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a.json new file mode 100644 index 0000000..64de897 --- /dev/null +++ b/.sqlx/query-809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a.json @@ -0,0 +1,38 @@ +{ + "db_name": "SQLite", + "query": "SELECT\n id,\n cache_name,\n downloads >= max_downloads AS \"out_of_downloads: bool\",\n julianday('now') - julianday(uploaded) > 5 AS \"too_old: bool\"\nFROM records\nWHERE downloads >= max_downloads OR julianday('now') - julianday(uploaded) > 5;\n", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Integer" + }, + { + "name": "cache_name", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "out_of_downloads: bool", + "ordinal": 2, + "type_info": "Integer" + }, + { + "name": "too_old: bool", + "ordinal": 3, + "type_info": "Integer" + } + ], + "parameters": { + "Right": 0 + }, + "nullable": [ + false, + false, + false, + false + ] + }, + "hash": "809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a" +} diff --git a/.sqlx/query-916ac1a076cbf0d0256d2fb2b361f646081b87d5e7ff7909ab6dd32036d80a86.json b/.sqlx/query-916ac1a076cbf0d0256d2fb2b361f646081b87d5e7ff7909ab6dd32036d80a86.json new file mode 100644 index 0000000..81fe81a --- /dev/null +++ b/.sqlx/query-916ac1a076cbf0d0256d2fb2b361f646081b87d5e7ff7909ab6dd32036d80a86.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "DELETE FROM records\nWHERE id = ?;\n", + "describe": { + "columns": [], + "parameters": { + "Right": 1 + }, + "nullable": [] + }, + "hash": "916ac1a076cbf0d0256d2fb2b361f646081b87d5e7ff7909ab6dd32036d80a86" +} diff --git a/Cargo.lock b/Cargo.lock index 3af0482..0cd4461 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1335,7 +1335,7 @@ dependencies = [ [[package]] name = "nyazoom" -version = "0.2.4" +version = "0.2.3" dependencies = [ "async-bincode", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 2b9fc1f..4e53958 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nyazoom" -version = "0.2.4" +version = "0.2.3" edition = "2021" authors = ["Zynh Ludwig "] readme = "README.md"