diff --git a/.sqlx/query-4d89c9973ea3318085749b5982c544c2a337305491ff410ed6e72f0c609af423.json b/.sqlx/query-4d89c9973ea3318085749b5982c544c2a337305491ff410ed6e72f0c609af423.json new file mode 100644 index 0000000..fa876e5 --- /dev/null +++ b/.sqlx/query-4d89c9973ea3318085749b5982c544c2a337305491ff410ed6e72f0c609af423.json @@ -0,0 +1,38 @@ +{ + "db_name": "SQLite", + "query": "SELECT id, topic, expiration, push_resource\n FROM subscriptions\n WHERE (id) = (?)", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Text" + }, + { + "name": "topic", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "expiration", + "ordinal": 2, + "type_info": "Datetime" + }, + { + "name": "push_resource", + "ordinal": 3, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false, + false, + false, + false + ] + }, + "hash": "4d89c9973ea3318085749b5982c544c2a337305491ff410ed6e72f0c609af423" +} diff --git a/.sqlx/query-589d9e38730b484d594bab8c7e013860427f51a185229ac6a9b36832321b9db7.json b/.sqlx/query-589d9e38730b484d594bab8c7e013860427f51a185229ac6a9b36832321b9db7.json new file mode 100644 index 0000000..482d729 --- /dev/null +++ b/.sqlx/query-589d9e38730b484d594bab8c7e013860427f51a185229ac6a9b36832321b9db7.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "DELETE FROM subscriptions WHERE id = ? ", + "describe": { + "columns": [], + "parameters": { + "Right": 1 + }, + "nullable": [] + }, + "hash": "589d9e38730b484d594bab8c7e013860427f51a185229ac6a9b36832321b9db7" +} diff --git a/.sqlx/query-5d882981e72c3610d4ef2f4997ec3f783774cac46b6787e447c74a315f9bdbb8.json b/.sqlx/query-5d882981e72c3610d4ef2f4997ec3f783774cac46b6787e447c74a315f9bdbb8.json new file mode 100644 index 0000000..ac5f053 --- /dev/null +++ b/.sqlx/query-5d882981e72c3610d4ef2f4997ec3f783774cac46b6787e447c74a315f9bdbb8.json @@ -0,0 +1,38 @@ +{ + "db_name": "SQLite", + "query": "SELECT id, topic, expiration, push_resource\n FROM subscriptions\n WHERE (topic) = (?)", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Text" + }, + { + "name": "topic", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "expiration", + "ordinal": 2, + "type_info": "Datetime" + }, + { + "name": "push_resource", + "ordinal": 3, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false, + false, + false, + false + ] + }, + "hash": "5d882981e72c3610d4ef2f4997ec3f783774cac46b6787e447c74a315f9bdbb8" +} diff --git a/.sqlx/query-6a8e5ba48d72ad1d6e761c8f050ddb76480b19589fcab0283cac823ce90f94bf.json b/.sqlx/query-6a8e5ba48d72ad1d6e761c8f050ddb76480b19589fcab0283cac823ce90f94bf.json new file mode 100644 index 0000000..4b628f0 --- /dev/null +++ b/.sqlx/query-6a8e5ba48d72ad1d6e761c8f050ddb76480b19589fcab0283cac823ce90f94bf.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "INSERT OR REPLACE INTO subscriptions (id, topic, expiration, push_resource) VALUES (?, ?, ?, ?)", + "describe": { + "columns": [], + "parameters": { + "Right": 4 + }, + "nullable": [] + }, + "hash": "6a8e5ba48d72ad1d6e761c8f050ddb76480b19589fcab0283cac823ce90f94bf" +} diff --git a/src/app.rs b/src/app.rs index 4a5519f..5cab08a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -5,7 +5,6 @@ use actix_web::{web, App}; use rustical_frontend::{configure_frontend, FrontendConfig}; use rustical_store::auth::AuthenticationProvider; use rustical_store::{AddressbookStore, CalendarStore, SubscriptionStore}; -use rustical_store_sqlite::subscription_store; use std::sync::Arc; use tracing_actix_web::TracingLogger;