diff --git a/.sqlx/query-4495433fad788e6171d7cd2b8216d005e819149b0259faca07d9e23c2d7ebc8b.json b/.sqlx/query-4495433fad788e6171d7cd2b8216d005e819149b0259faca07d9e23c2d7ebc8b.json new file mode 100644 index 0000000..2ec944f --- /dev/null +++ b/.sqlx/query-4495433fad788e6171d7cd2b8216d005e819149b0259faca07d9e23c2d7ebc8b.json @@ -0,0 +1,62 @@ +{ + "db_name": "SQLite", + "query": "\nSELECT id, name, url, schedule, job_id, user_id, settings, created_at\nFROM user_data_web_scraping_resources\nWHERE user_id = ?1\nORDER BY created_at\n ", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Blob" + }, + { + "name": "name", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "url", + "ordinal": 2, + "type_info": "Text" + }, + { + "name": "schedule", + "ordinal": 3, + "type_info": "Text" + }, + { + "name": "job_id", + "ordinal": 4, + "type_info": "Blob" + }, + { + "name": "user_id", + "ordinal": 5, + "type_info": "Int64" + }, + { + "name": "settings", + "ordinal": 6, + "type_info": "Blob" + }, + { + "name": "created_at", + "ordinal": 7, + "type_info": "Int64" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false, + false, + false, + true, + true, + false, + false, + false + ] + }, + "hash": "4495433fad788e6171d7cd2b8216d005e819149b0259faca07d9e23c2d7ebc8b" +} diff --git a/.sqlx/query-5c591f196a515bd918063f756325aa1ce4a1a56c406715d23a935c231bffbae7.json b/.sqlx/query-5c591f196a515bd918063f756325aa1ce4a1a56c406715d23a935c231bffbae7.json new file mode 100644 index 0000000..804b1b8 --- /dev/null +++ b/.sqlx/query-5c591f196a515bd918063f756325aa1ce4a1a56c406715d23a935c231bffbae7.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n DELETE FROM user_data_web_scraping_resources_history\n WHERE user_id = ?1 AND tracker_id = ?2\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "5c591f196a515bd918063f756325aa1ce4a1a56c406715d23a935c231bffbae7" +} diff --git a/.sqlx/query-5c77de28549b0391a62940589015506e3db8262de36487071d0c4b7b2acedfd4.json b/.sqlx/query-5c77de28549b0391a62940589015506e3db8262de36487071d0c4b7b2acedfd4.json new file mode 100644 index 0000000..9d153f3 --- /dev/null +++ b/.sqlx/query-5c77de28549b0391a62940589015506e3db8262de36487071d0c4b7b2acedfd4.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n INSERT INTO user_data_web_scraping_resources_history (user_id, id, tracker_id, value, created_at)\n VALUES ( ?1, ?2, ?3, ?4, ?5 )\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 5 + }, + "nullable": [] + }, + "hash": "5c77de28549b0391a62940589015506e3db8262de36487071d0c4b7b2acedfd4" +} diff --git a/.sqlx/query-66e657f1a56e3adbe4f352914726d68b2fef766757e6d9d23025a35cd1f8a19c.json b/.sqlx/query-66e657f1a56e3adbe4f352914726d68b2fef766757e6d9d23025a35cd1f8a19c.json new file mode 100644 index 0000000..5371483 --- /dev/null +++ b/.sqlx/query-66e657f1a56e3adbe4f352914726d68b2fef766757e6d9d23025a35cd1f8a19c.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n INSERT INTO user_data_web_scraping_resources (user_id, id, name, url, schedule, job_id, settings, created_at)\n VALUES ( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8 )\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 8 + }, + "nullable": [] + }, + "hash": "66e657f1a56e3adbe4f352914726d68b2fef766757e6d9d23025a35cd1f8a19c" +} diff --git a/.sqlx/query-6a6d66f9fbca13095dec938d1aae9de3ce4881e24d2735c2e883be4d179f1efa.json b/.sqlx/query-6a6d66f9fbca13095dec938d1aae9de3ce4881e24d2735c2e883be4d179f1efa.json new file mode 100644 index 0000000..1bfa88d --- /dev/null +++ b/.sqlx/query-6a6d66f9fbca13095dec938d1aae9de3ce4881e24d2735c2e883be4d179f1efa.json @@ -0,0 +1,62 @@ +{ + "db_name": "SQLite", + "query": "\nSELECT id, name, url, schedule, user_id, job_id, settings, created_at\nFROM user_data_web_scraping_resources\nWHERE schedule IS NOT NULL AND job_id IS NULL\nORDER BY created_at\n ", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Blob" + }, + { + "name": "name", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "url", + "ordinal": 2, + "type_info": "Text" + }, + { + "name": "schedule", + "ordinal": 3, + "type_info": "Text" + }, + { + "name": "user_id", + "ordinal": 4, + "type_info": "Int64" + }, + { + "name": "job_id", + "ordinal": 5, + "type_info": "Blob" + }, + { + "name": "settings", + "ordinal": 6, + "type_info": "Blob" + }, + { + "name": "created_at", + "ordinal": 7, + "type_info": "Int64" + } + ], + "parameters": { + "Right": 0 + }, + "nullable": [ + false, + false, + false, + true, + false, + true, + false, + false + ] + }, + "hash": "6a6d66f9fbca13095dec938d1aae9de3ce4881e24d2735c2e883be4d179f1efa" +} diff --git a/.sqlx/query-75edaed4b417219efa6a21930ee7f9bc5db68940e321c53187868a31542aa466.json b/.sqlx/query-75edaed4b417219efa6a21930ee7f9bc5db68940e321c53187868a31542aa466.json new file mode 100644 index 0000000..513b3fa --- /dev/null +++ b/.sqlx/query-75edaed4b417219efa6a21930ee7f9bc5db68940e321c53187868a31542aa466.json @@ -0,0 +1,62 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT id, name, url, schedule, user_id, job_id, settings, created_at\n FROM user_data_web_scraping_resources\n WHERE user_id = ?1 AND id = ?2\n ", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Blob" + }, + { + "name": "name", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "url", + "ordinal": 2, + "type_info": "Text" + }, + { + "name": "schedule", + "ordinal": 3, + "type_info": "Text" + }, + { + "name": "user_id", + "ordinal": 4, + "type_info": "Int64" + }, + { + "name": "job_id", + "ordinal": 5, + "type_info": "Blob" + }, + { + "name": "settings", + "ordinal": 6, + "type_info": "Blob" + }, + { + "name": "created_at", + "ordinal": 7, + "type_info": "Int64" + } + ], + "parameters": { + "Right": 2 + }, + "nullable": [ + false, + false, + false, + true, + false, + true, + false, + false + ] + }, + "hash": "75edaed4b417219efa6a21930ee7f9bc5db68940e321c53187868a31542aa466" +} diff --git a/.sqlx/query-007bb479f840229a3ac0c2f6d150e88e396a6308864007706a2a7dc633c0debe.json b/.sqlx/query-b4b2e46a0a60a18d8f8d4d17f4db73716319150717b204a40309bf4c9fcf4829.json similarity index 51% rename from .sqlx/query-007bb479f840229a3ac0c2f6d150e88e396a6308864007706a2a7dc633c0debe.json rename to .sqlx/query-b4b2e46a0a60a18d8f8d4d17f4db73716319150717b204a40309bf4c9fcf4829.json index f91db8a..1be7bad 100644 --- a/.sqlx/query-007bb479f840229a3ac0c2f6d150e88e396a6308864007706a2a7dc633c0debe.json +++ b/.sqlx/query-b4b2e46a0a60a18d8f8d4d17f4db73716319150717b204a40309bf4c9fcf4829.json @@ -1,17 +1,17 @@ { "db_name": "SQLite", - "query": "\nSELECT user_id, key, value, timestamp\nFROM user_data\nWHERE value = ?1 AND namespace = ?2\n ", + "query": "\nSELECT id, tracker_id, value, created_at\nFROM user_data_web_scraping_resources_history\nWHERE user_id = ?1 AND tracker_id = ?2\nORDER BY created_at\n ", "describe": { "columns": [ { - "name": "user_id", + "name": "id", "ordinal": 0, - "type_info": "Int64" + "type_info": "Blob" }, { - "name": "key", + "name": "tracker_id", "ordinal": 1, - "type_info": "Text" + "type_info": "Blob" }, { "name": "value", @@ -19,7 +19,7 @@ "type_info": "Blob" }, { - "name": "timestamp", + "name": "created_at", "ordinal": 3, "type_info": "Int64" } @@ -34,5 +34,5 @@ false ] }, - "hash": "007bb479f840229a3ac0c2f6d150e88e396a6308864007706a2a7dc633c0debe" + "hash": "b4b2e46a0a60a18d8f8d4d17f4db73716319150717b204a40309bf4c9fcf4829" } diff --git a/.sqlx/query-cbf5cd50ea331cee5d8ef7814365ff900ad6322345de31bfc74a187b8a525d1e.json b/.sqlx/query-cbf5cd50ea331cee5d8ef7814365ff900ad6322345de31bfc74a187b8a525d1e.json new file mode 100644 index 0000000..a8dcded --- /dev/null +++ b/.sqlx/query-cbf5cd50ea331cee5d8ef7814365ff900ad6322345de31bfc74a187b8a525d1e.json @@ -0,0 +1,62 @@ +{ + "db_name": "SQLite", + "query": "\n SELECT id, name, url, schedule, user_id, job_id, settings, created_at\n FROM user_data_web_scraping_resources\n WHERE job_id = ?1\n ", + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": "Blob" + }, + { + "name": "name", + "ordinal": 1, + "type_info": "Text" + }, + { + "name": "url", + "ordinal": 2, + "type_info": "Text" + }, + { + "name": "schedule", + "ordinal": 3, + "type_info": "Text" + }, + { + "name": "user_id", + "ordinal": 4, + "type_info": "Int64" + }, + { + "name": "job_id", + "ordinal": 5, + "type_info": "Blob" + }, + { + "name": "settings", + "ordinal": 6, + "type_info": "Blob" + }, + { + "name": "created_at", + "ordinal": 7, + "type_info": "Int64" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false, + false, + false, + true, + false, + true, + false, + false + ] + }, + "hash": "cbf5cd50ea331cee5d8ef7814365ff900ad6322345de31bfc74a187b8a525d1e" +} diff --git a/.sqlx/query-de9f3dcdd4cd09ca0c94afebc84e4e684e44948ca5bf4f2d5c568191498bb033.json b/.sqlx/query-de9f3dcdd4cd09ca0c94afebc84e4e684e44948ca5bf4f2d5c568191498bb033.json new file mode 100644 index 0000000..86d58b5 --- /dev/null +++ b/.sqlx/query-de9f3dcdd4cd09ca0c94afebc84e4e684e44948ca5bf4f2d5c568191498bb033.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n DELETE FROM user_data_web_scraping_resources\n WHERE user_id = ?1 AND id = ?2\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "de9f3dcdd4cd09ca0c94afebc84e4e684e44948ca5bf4f2d5c568191498bb033" +} diff --git a/.sqlx/query-df97493b6a526f48c8a299d773845ba92481cfbb313220037619c62e18e85078.json b/.sqlx/query-df97493b6a526f48c8a299d773845ba92481cfbb313220037619c62e18e85078.json new file mode 100644 index 0000000..15ea687 --- /dev/null +++ b/.sqlx/query-df97493b6a526f48c8a299d773845ba92481cfbb313220037619c62e18e85078.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n UPDATE user_data_web_scraping_resources\n SET job_id = ?2\n WHERE id = ?1\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 2 + }, + "nullable": [] + }, + "hash": "df97493b6a526f48c8a299d773845ba92481cfbb313220037619c62e18e85078" +} diff --git a/.sqlx/query-ec86d6df0bb1587e2d827870409f400505bac77924cecc4f2dc666c6f983657c.json b/.sqlx/query-ec86d6df0bb1587e2d827870409f400505bac77924cecc4f2dc666c6f983657c.json new file mode 100644 index 0000000..e1c58ad --- /dev/null +++ b/.sqlx/query-ec86d6df0bb1587e2d827870409f400505bac77924cecc4f2dc666c6f983657c.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\nUPDATE user_data_web_scraping_resources\nSET name = ?3, url = ?4, schedule = ?5, settings = ?6, job_id = ?7\nWHERE user_id = ?1 AND id = ?2\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 7 + }, + "nullable": [] + }, + "hash": "ec86d6df0bb1587e2d827870409f400505bac77924cecc4f2dc666c6f983657c" +} diff --git a/.sqlx/query-ef5e10c94f3510444e64d10a41d0463a5fe4df8777a2f53ab7179d621f14ccef.json b/.sqlx/query-ef5e10c94f3510444e64d10a41d0463a5fe4df8777a2f53ab7179d621f14ccef.json new file mode 100644 index 0000000..70b68a6 --- /dev/null +++ b/.sqlx/query-ef5e10c94f3510444e64d10a41d0463a5fe4df8777a2f53ab7179d621f14ccef.json @@ -0,0 +1,12 @@ +{ + "db_name": "SQLite", + "query": "\n DELETE FROM user_data_web_scraping_resources_history\n WHERE user_id = ?1 AND tracker_id = ?2 AND id = ?3\n ", + "describe": { + "columns": [], + "parameters": { + "Right": 3 + }, + "nullable": [] + }, + "hash": "ef5e10c94f3510444e64d10a41d0463a5fe4df8777a2f53ab7179d621f14ccef" +}