Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(sqlx): workspace level cache (#2882)

Sean Aye89b23d29d73d
diff --git a/flake.lock b/flake.lock
index 71e321b4e1..64efb2c72e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -8,11 +8,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
- "lastModified": 1774423251,
- "narHash": "sha256-g/PP8G9WcP4vtZVOBNYwfGxLnwLQoTERHnef8irAMeQ=",
+ "lastModified": 1777279247,
+ "narHash": "sha256-xuY2eN11OcD7QOgM2IadfWDR8XIzMbYfbn6gMtF1deE=",
"owner": "nix-community",
"repo": "fenix",
- "rev": "b70d7535088cd8a9e4322c372a475f66ffa18adf",
+ "rev": "6f6f1110eaeafbc9aea16d477c311491d0289977",
"type": "github"
},
"original": {
@@ -41,11 +41,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1774106199,
- "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
+ "lastModified": 1776877367,
+ "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
+ "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
"type": "github"
},
"original": {
@@ -65,11 +65,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
- "lastModified": 1774376228,
- "narHash": "sha256-7oA0u4aghFjjIcIDKZ26NUpXH7hVXGPC0sI1OfK7NUk=",
+ "lastModified": 1776800521,
+ "narHash": "sha256-f8YJfwAOsLFpIoqZuX3yF69UvMLrkx7iVzMH1pJU7cM=",
"owner": "rust-lang",
"repo": "rust-analyzer",
- "rev": "eabb84b771420b8396ab4bb4747694302d9be277",
+ "rev": "8954b66d43225e62c92e8bbcc8500191b5cceb1e",
"type": "github"
},
"original": {
diff --git a/rust/cloud-storage/chat/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json b/rust/cloud-storage/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json
rename to rust/cloud-storage/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json b/rust/cloud-storage/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json
rename to rust/cloud-storage/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json
diff --git a/rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json b/rust/cloud-storage/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json
similarity index 100%
rename from rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json
rename to rust/cloud-storage/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json b/rust/cloud-storage/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json
rename to rust/cloud-storage/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-0173a66e06d23847e48967c6fbf38dde11698cc4164819d48cb8f99c1ec3aae3.json b/rust/cloud-storage/.sqlx/query-0173a66e06d23847e48967c6fbf38dde11698cc4164819d48cb8f99c1ec3aae3.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-0173a66e06d23847e48967c6fbf38dde11698cc4164819d48cb8f99c1ec3aae3.json
rename to rust/cloud-storage/.sqlx/query-0173a66e06d23847e48967c6fbf38dde11698cc4164819d48cb8f99c1ec3aae3.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-01cb0b4b2fbbd64d2be9373d1e9e75b0085f5817ee4c3360f7cea76917fa5740.json b/rust/cloud-storage/.sqlx/query-01cb0b4b2fbbd64d2be9373d1e9e75b0085f5817ee4c3360f7cea76917fa5740.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-01cb0b4b2fbbd64d2be9373d1e9e75b0085f5817ee4c3360f7cea76917fa5740.json
rename to rust/cloud-storage/.sqlx/query-01cb0b4b2fbbd64d2be9373d1e9e75b0085f5817ee4c3360f7cea76917fa5740.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json b/rust/cloud-storage/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json
rename to rust/cloud-storage/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json b/rust/cloud-storage/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json
rename to rust/cloud-storage/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-020ad49dd342e529563c91a7d2403de9196482e24765f4b2c93d2da50273d69c.json b/rust/cloud-storage/.sqlx/query-020ad49dd342e529563c91a7d2403de9196482e24765f4b2c93d2da50273d69c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-020ad49dd342e529563c91a7d2403de9196482e24765f4b2c93d2da50273d69c.json
rename to rust/cloud-storage/.sqlx/query-020ad49dd342e529563c91a7d2403de9196482e24765f4b2c93d2da50273d69c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json b/rust/cloud-storage/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json
rename to rust/cloud-storage/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json b/rust/cloud-storage/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json
rename to rust/cloud-storage/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-0322d49329ea2e6d6bd515f2013a3bc08f9153d9fb263062a46a80cec5c151f0.json b/rust/cloud-storage/.sqlx/query-0322d49329ea2e6d6bd515f2013a3bc08f9153d9fb263062a46a80cec5c151f0.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-0322d49329ea2e6d6bd515f2013a3bc08f9153d9fb263062a46a80cec5c151f0.json
rename to rust/cloud-storage/.sqlx/query-0322d49329ea2e6d6bd515f2013a3bc08f9153d9fb263062a46a80cec5c151f0.json
diff --git a/rust/cloud-storage/email/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json b/rust/cloud-storage/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json
rename to rust/cloud-storage/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json b/rust/cloud-storage/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json
rename to rust/cloud-storage/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-038bbad2a1388db2e9d3da5f107ecc5418ff770838a4acfbd28bec8b78e16874.json b/rust/cloud-storage/.sqlx/query-038bbad2a1388db2e9d3da5f107ecc5418ff770838a4acfbd28bec8b78e16874.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-038bbad2a1388db2e9d3da5f107ecc5418ff770838a4acfbd28bec8b78e16874.json
rename to rust/cloud-storage/.sqlx/query-038bbad2a1388db2e9d3da5f107ecc5418ff770838a4acfbd28bec8b78e16874.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json b/rust/cloud-storage/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json
rename to rust/cloud-storage/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-03a70946dc66c884a7bd84ae9439cb208449ea7048e319ea8475752fe96d650b.json b/rust/cloud-storage/.sqlx/query-03a70946dc66c884a7bd84ae9439cb208449ea7048e319ea8475752fe96d650b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-03a70946dc66c884a7bd84ae9439cb208449ea7048e319ea8475752fe96d650b.json
rename to rust/cloud-storage/.sqlx/query-03a70946dc66c884a7bd84ae9439cb208449ea7048e319ea8475752fe96d650b.json
diff --git a/rust/cloud-storage/github/.sqlx/query-04d60026064c2948d7a528352bb3bb086ba5a39c1dc656aec25f2dd2a4eb249e.json b/rust/cloud-storage/.sqlx/query-04d60026064c2948d7a528352bb3bb086ba5a39c1dc656aec25f2dd2a4eb249e.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-04d60026064c2948d7a528352bb3bb086ba5a39c1dc656aec25f2dd2a4eb249e.json
rename to rust/cloud-storage/.sqlx/query-04d60026064c2948d7a528352bb3bb086ba5a39c1dc656aec25f2dd2a4eb249e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json b/rust/cloud-storage/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json
rename to rust/cloud-storage/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json b/rust/cloud-storage/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json
rename to rust/cloud-storage/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json b/rust/cloud-storage/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json
rename to rust/cloud-storage/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json b/rust/cloud-storage/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
rename to rust/cloud-storage/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json b/rust/cloud-storage/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json
rename to rust/cloud-storage/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json b/rust/cloud-storage/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json
rename to rust/cloud-storage/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json b/rust/cloud-storage/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
rename to rust/cloud-storage/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json b/rust/cloud-storage/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json
rename to rust/cloud-storage/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-081e71f5dae75d12f512d95febfffe28cdc4f8cc83542bf69b8c502b4892a6da.json b/rust/cloud-storage/.sqlx/query-081e71f5dae75d12f512d95febfffe28cdc4f8cc83542bf69b8c502b4892a6da.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-081e71f5dae75d12f512d95febfffe28cdc4f8cc83542bf69b8c502b4892a6da.json
rename to rust/cloud-storage/.sqlx/query-081e71f5dae75d12f512d95febfffe28cdc4f8cc83542bf69b8c502b4892a6da.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json b/rust/cloud-storage/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json
rename to rust/cloud-storage/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json b/rust/cloud-storage/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json
rename to rust/cloud-storage/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json b/rust/cloud-storage/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json
rename to rust/cloud-storage/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-08ff113e378c34c5c4cd00bd47227bb363d4c1d98a2b589c260b9c77fcb94492.json b/rust/cloud-storage/.sqlx/query-08ff113e378c34c5c4cd00bd47227bb363d4c1d98a2b589c260b9c77fcb94492.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-08ff113e378c34c5c4cd00bd47227bb363d4c1d98a2b589c260b9c77fcb94492.json
rename to rust/cloud-storage/.sqlx/query-08ff113e378c34c5c4cd00bd47227bb363d4c1d98a2b589c260b9c77fcb94492.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-0905fbb6644dc89da3bbb8f5119b1d4e83711bdb0670ea238e72097750435056.json b/rust/cloud-storage/.sqlx/query-0905fbb6644dc89da3bbb8f5119b1d4e83711bdb0670ea238e72097750435056.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-0905fbb6644dc89da3bbb8f5119b1d4e83711bdb0670ea238e72097750435056.json
rename to rust/cloud-storage/.sqlx/query-0905fbb6644dc89da3bbb8f5119b1d4e83711bdb0670ea238e72097750435056.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json b/rust/cloud-storage/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json
rename to rust/cloud-storage/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-099d255a2a214f5c4ed3ee9d5d8389dfd3ad004eb3572fb7d724b407bdb2c2e3.json b/rust/cloud-storage/.sqlx/query-099d255a2a214f5c4ed3ee9d5d8389dfd3ad004eb3572fb7d724b407bdb2c2e3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-099d255a2a214f5c4ed3ee9d5d8389dfd3ad004eb3572fb7d724b407bdb2c2e3.json
rename to rust/cloud-storage/.sqlx/query-099d255a2a214f5c4ed3ee9d5d8389dfd3ad004eb3572fb7d724b407bdb2c2e3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json b/rust/cloud-storage/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json
rename to rust/cloud-storage/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json b/rust/cloud-storage/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json
rename to rust/cloud-storage/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json b/rust/cloud-storage/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
rename to rust/cloud-storage/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-0a4d1f2c9890cc537fde22835fc5298215a79e06fd983ac9a13f52836719e8fc.json b/rust/cloud-storage/.sqlx/query-0a4d1f2c9890cc537fde22835fc5298215a79e06fd983ac9a13f52836719e8fc.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-0a4d1f2c9890cc537fde22835fc5298215a79e06fd983ac9a13f52836719e8fc.json
rename to rust/cloud-storage/.sqlx/query-0a4d1f2c9890cc537fde22835fc5298215a79e06fd983ac9a13f52836719e8fc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json b/rust/cloud-storage/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json
rename to rust/cloud-storage/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json b/rust/cloud-storage/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json
rename to rust/cloud-storage/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json b/rust/cloud-storage/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
rename to rust/cloud-storage/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-0b00cee5a9723451b253275a51d86bffbd01384921dd9c149aebcf6e1fd4f5c2.json b/rust/cloud-storage/.sqlx/query-0b00cee5a9723451b253275a51d86bffbd01384921dd9c149aebcf6e1fd4f5c2.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-0b00cee5a9723451b253275a51d86bffbd01384921dd9c149aebcf6e1fd4f5c2.json
rename to rust/cloud-storage/.sqlx/query-0b00cee5a9723451b253275a51d86bffbd01384921dd9c149aebcf6e1fd4f5c2.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-0b0ee8515cb079ef1cedbb5d8f254fef2bdc00de80faccc661bc89ffbabc7eb4.json b/rust/cloud-storage/.sqlx/query-0b0ee8515cb079ef1cedbb5d8f254fef2bdc00de80faccc661bc89ffbabc7eb4.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-0b0ee8515cb079ef1cedbb5d8f254fef2bdc00de80faccc661bc89ffbabc7eb4.json
rename to rust/cloud-storage/.sqlx/query-0b0ee8515cb079ef1cedbb5d8f254fef2bdc00de80faccc661bc89ffbabc7eb4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-0b25861527e4ecd715a759799e7dc2d43865571925e95582689df12c3b02322a.json b/rust/cloud-storage/.sqlx/query-0b25861527e4ecd715a759799e7dc2d43865571925e95582689df12c3b02322a.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-0b25861527e4ecd715a759799e7dc2d43865571925e95582689df12c3b02322a.json
rename to rust/cloud-storage/.sqlx/query-0b25861527e4ecd715a759799e7dc2d43865571925e95582689df12c3b02322a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json b/rust/cloud-storage/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json
rename to rust/cloud-storage/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json b/rust/cloud-storage/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json
rename to rust/cloud-storage/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json b/rust/cloud-storage/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json
rename to rust/cloud-storage/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json b/rust/cloud-storage/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json
rename to rust/cloud-storage/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json b/rust/cloud-storage/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json
rename to rust/cloud-storage/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json b/rust/cloud-storage/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json
rename to rust/cloud-storage/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json b/rust/cloud-storage/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json
rename to rust/cloud-storage/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-0c430068640f24611873989a569d3da039a7e63dfb1a4bab8895c6f18c1b819f.json b/rust/cloud-storage/.sqlx/query-0c430068640f24611873989a569d3da039a7e63dfb1a4bab8895c6f18c1b819f.json
similarity index 100%
rename from rust/cloud-storage/delete_chat_handler/.sqlx/query-0c430068640f24611873989a569d3da039a7e63dfb1a4bab8895c6f18c1b819f.json
rename to rust/cloud-storage/.sqlx/query-0c430068640f24611873989a569d3da039a7e63dfb1a4bab8895c6f18c1b819f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json b/rust/cloud-storage/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json
rename to rust/cloud-storage/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json b/rust/cloud-storage/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json
rename to rust/cloud-storage/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json b/rust/cloud-storage/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json
rename to rust/cloud-storage/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-0d49ab1fcffce934d215d7d34b80e3334aed9e8d1cb1efc3df8698e024d0aef9.json b/rust/cloud-storage/.sqlx/query-0d49ab1fcffce934d215d7d34b80e3334aed9e8d1cb1efc3df8698e024d0aef9.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-0d49ab1fcffce934d215d7d34b80e3334aed9e8d1cb1efc3df8698e024d0aef9.json
rename to rust/cloud-storage/.sqlx/query-0d49ab1fcffce934d215d7d34b80e3334aed9e8d1cb1efc3df8698e024d0aef9.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-0d9d272f0886376c4a756a4296517b933697934a2b3d52e931bcb2f1dc64ac87.json b/rust/cloud-storage/.sqlx/query-0d9d272f0886376c4a756a4296517b933697934a2b3d52e931bcb2f1dc64ac87.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-0d9d272f0886376c4a756a4296517b933697934a2b3d52e931bcb2f1dc64ac87.json
rename to rust/cloud-storage/.sqlx/query-0d9d272f0886376c4a756a4296517b933697934a2b3d52e931bcb2f1dc64ac87.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json b/rust/cloud-storage/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json
rename to rust/cloud-storage/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json b/rust/cloud-storage/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json
rename to rust/cloud-storage/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json b/rust/cloud-storage/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json
rename to rust/cloud-storage/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json b/rust/cloud-storage/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json
rename to rust/cloud-storage/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json b/rust/cloud-storage/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json
rename to rust/cloud-storage/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-0df754458a7a7e50fd7cdc9a66f170bd25959079efaf0bb0c916acae2234f90d.json b/rust/cloud-storage/.sqlx/query-0df754458a7a7e50fd7cdc9a66f170bd25959079efaf0bb0c916acae2234f90d.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-0df754458a7a7e50fd7cdc9a66f170bd25959079efaf0bb0c916acae2234f90d.json
rename to rust/cloud-storage/.sqlx/query-0df754458a7a7e50fd7cdc9a66f170bd25959079efaf0bb0c916acae2234f90d.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-0e03c9e174ceafd652563ce587e5025e8bf0dd3532b21cc1e2a939c0c26c7927.json b/rust/cloud-storage/.sqlx/query-0e03c9e174ceafd652563ce587e5025e8bf0dd3532b21cc1e2a939c0c26c7927.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-0e03c9e174ceafd652563ce587e5025e8bf0dd3532b21cc1e2a939c0c26c7927.json
rename to rust/cloud-storage/.sqlx/query-0e03c9e174ceafd652563ce587e5025e8bf0dd3532b21cc1e2a939c0c26c7927.json
diff --git a/rust/cloud-storage/email/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json b/rust/cloud-storage/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json
rename to rust/cloud-storage/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-0e38fa7c2ebae20feb864567132405260eb8fd223e65f4c6da337a8fbe2acc82.json b/rust/cloud-storage/.sqlx/query-0e38fa7c2ebae20feb864567132405260eb8fd223e65f4c6da337a8fbe2acc82.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-0e38fa7c2ebae20feb864567132405260eb8fd223e65f4c6da337a8fbe2acc82.json
rename to rust/cloud-storage/.sqlx/query-0e38fa7c2ebae20feb864567132405260eb8fd223e65f4c6da337a8fbe2acc82.json
diff --git a/rust/cloud-storage/call/.sqlx/query-0ea8abcb6adfa2a93579879f4bc537c13a9a4e4c313c115a83b0bc98c846db0f.json b/rust/cloud-storage/.sqlx/query-0ea8abcb6adfa2a93579879f4bc537c13a9a4e4c313c115a83b0bc98c846db0f.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-0ea8abcb6adfa2a93579879f4bc537c13a9a4e4c313c115a83b0bc98c846db0f.json
rename to rust/cloud-storage/.sqlx/query-0ea8abcb6adfa2a93579879f4bc537c13a9a4e4c313c115a83b0bc98c846db0f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json b/rust/cloud-storage/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json
rename to rust/cloud-storage/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json b/rust/cloud-storage/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json
rename to rust/cloud-storage/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json b/rust/cloud-storage/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json
rename to rust/cloud-storage/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json
diff --git a/rust/cloud-storage/.sqlx/query-0f2057f8430788bb20f5d0f144445f28fba6434c9a2fe208e0a4a45b892dea2b.json b/rust/cloud-storage/.sqlx/query-0f2057f8430788bb20f5d0f144445f28fba6434c9a2fe208e0a4a45b892dea2b.json
new file mode 100644
index 0000000000..14012e1c66
--- /dev/null
+++ b/rust/cloud-storage/.sqlx/query-0f2057f8430788bb20f5d0f144445f28fba6434c9a2fe208e0a4a45b892dea2b.json
@@ -0,0 +1,87 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n INSERT INTO team_user (team_id, user_id, team_role, tier)\n VALUES ($1, $2, $3, $4)\n RETURNING user_id, team_role as \"role!: TeamRole\", tier as \"tier!: TeamUserTier\", team_id\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "user_id",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 1,
+ "name": "role!: TeamRole",
+ "type_info": {
+ "Custom": {
+ "name": "team_role",
+ "kind": {
+ "Enum": [
+ "member",
+ "admin",
+ "owner"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "ordinal": 2,
+ "name": "tier!: TeamUserTier",
+ "type_info": {
+ "Custom": {
+ "name": "team_user_tier",
+ "kind": {
+ "Enum": [
+ "haiku",
+ "sonnet",
+ "opus"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "ordinal": 3,
+ "name": "team_id",
+ "type_info": "Uuid"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ {
+ "Custom": {
+ "name": "team_role",
+ "kind": {
+ "Enum": [
+ "member",
+ "admin",
+ "owner"
+ ]
+ }
+ }
+ },
+ {
+ "Custom": {
+ "name": "team_user_tier",
+ "kind": {
+ "Enum": [
+ "haiku",
+ "sonnet",
+ "opus"
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ false,
+ false
+ ]
+ },
+ "hash": "0f2057f8430788bb20f5d0f144445f28fba6434c9a2fe208e0a4a45b892dea2b"
+}
diff --git a/rust/cloud-storage/chat/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json b/rust/cloud-storage/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json
rename to rust/cloud-storage/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json b/rust/cloud-storage/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json
rename to rust/cloud-storage/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json b/rust/cloud-storage/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json
rename to rust/cloud-storage/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json b/rust/cloud-storage/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json
rename to rust/cloud-storage/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-11f1046dbd6f8f510a196fe1feedb4bdbfedbde691ebb4aec849a07f6b54d0fc.json b/rust/cloud-storage/.sqlx/query-11f1046dbd6f8f510a196fe1feedb4bdbfedbde691ebb4aec849a07f6b54d0fc.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-11f1046dbd6f8f510a196fe1feedb4bdbfedbde691ebb4aec849a07f6b54d0fc.json
rename to rust/cloud-storage/.sqlx/query-11f1046dbd6f8f510a196fe1feedb4bdbfedbde691ebb4aec849a07f6b54d0fc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json b/rust/cloud-storage/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json
rename to rust/cloud-storage/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json b/rust/cloud-storage/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json
rename to rust/cloud-storage/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json b/rust/cloud-storage/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json
rename to rust/cloud-storage/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json b/rust/cloud-storage/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json
rename to rust/cloud-storage/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json
diff --git a/rust/cloud-storage/call/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json b/rust/cloud-storage/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json
rename to rust/cloud-storage/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json
diff --git a/rust/cloud-storage/call/.sqlx/query-12c11b297513c688c8daf5bf541aa13c5f3bfa941859a5fdb9c7bad1654a0ec7.json b/rust/cloud-storage/.sqlx/query-12c11b297513c688c8daf5bf541aa13c5f3bfa941859a5fdb9c7bad1654a0ec7.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-12c11b297513c688c8daf5bf541aa13c5f3bfa941859a5fdb9c7bad1654a0ec7.json
rename to rust/cloud-storage/.sqlx/query-12c11b297513c688c8daf5bf541aa13c5f3bfa941859a5fdb9c7bad1654a0ec7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json b/rust/cloud-storage/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json
rename to rust/cloud-storage/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json b/rust/cloud-storage/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json
rename to rust/cloud-storage/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-13ef9a0dd33e56d64232964dc11b44b0a333958a67d89dfcb1db9dd523a1b837.json b/rust/cloud-storage/.sqlx/query-13ef9a0dd33e56d64232964dc11b44b0a333958a67d89dfcb1db9dd523a1b837.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-13ef9a0dd33e56d64232964dc11b44b0a333958a67d89dfcb1db9dd523a1b837.json
rename to rust/cloud-storage/.sqlx/query-13ef9a0dd33e56d64232964dc11b44b0a333958a67d89dfcb1db9dd523a1b837.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json b/rust/cloud-storage/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json
rename to rust/cloud-storage/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-1411c7b041f6313844a7f5a78c741e2410cce10dc0c7a196e5104e6fa2ae0875.json b/rust/cloud-storage/.sqlx/query-1411c7b041f6313844a7f5a78c741e2410cce10dc0c7a196e5104e6fa2ae0875.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-1411c7b041f6313844a7f5a78c741e2410cce10dc0c7a196e5104e6fa2ae0875.json
rename to rust/cloud-storage/.sqlx/query-1411c7b041f6313844a7f5a78c741e2410cce10dc0c7a196e5104e6fa2ae0875.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json b/rust/cloud-storage/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json
rename to rust/cloud-storage/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-14398843140a148be3189f593e689c36283225f47a6b37c197bc543f3fa18703.json b/rust/cloud-storage/.sqlx/query-14398843140a148be3189f593e689c36283225f47a6b37c197bc543f3fa18703.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-14398843140a148be3189f593e689c36283225f47a6b37c197bc543f3fa18703.json
rename to rust/cloud-storage/.sqlx/query-14398843140a148be3189f593e689c36283225f47a6b37c197bc543f3fa18703.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json b/rust/cloud-storage/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json
rename to rust/cloud-storage/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-1490ec3dcbefe6dff27992f93481ee30fef91724dadb7b7c1e461d8286235f60.json b/rust/cloud-storage/.sqlx/query-1490ec3dcbefe6dff27992f93481ee30fef91724dadb7b7c1e461d8286235f60.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-1490ec3dcbefe6dff27992f93481ee30fef91724dadb7b7c1e461d8286235f60.json
rename to rust/cloud-storage/.sqlx/query-1490ec3dcbefe6dff27992f93481ee30fef91724dadb7b7c1e461d8286235f60.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json b/rust/cloud-storage/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json
rename to rust/cloud-storage/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json b/rust/cloud-storage/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json
rename to rust/cloud-storage/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-14f0507004b3076a625e1a10ab8de9b4f09cf2a0480dbca99952cf0d8b78b177.json b/rust/cloud-storage/.sqlx/query-14f0507004b3076a625e1a10ab8de9b4f09cf2a0480dbca99952cf0d8b78b177.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-14f0507004b3076a625e1a10ab8de9b4f09cf2a0480dbca99952cf0d8b78b177.json
rename to rust/cloud-storage/.sqlx/query-14f0507004b3076a625e1a10ab8de9b4f09cf2a0480dbca99952cf0d8b78b177.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json b/rust/cloud-storage/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json
rename to rust/cloud-storage/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-15b00cf9b57c2c077f7e55bd25c267a6cf83c9efdc10ba23981f7b85847881c3.json b/rust/cloud-storage/.sqlx/query-15b00cf9b57c2c077f7e55bd25c267a6cf83c9efdc10ba23981f7b85847881c3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-15b00cf9b57c2c077f7e55bd25c267a6cf83c9efdc10ba23981f7b85847881c3.json
rename to rust/cloud-storage/.sqlx/query-15b00cf9b57c2c077f7e55bd25c267a6cf83c9efdc10ba23981f7b85847881c3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json b/rust/cloud-storage/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json
rename to rust/cloud-storage/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-16975c8ff9585b8da53ace00a26851f992232834de508dac16ff58d9da1cbc2a.json b/rust/cloud-storage/.sqlx/query-16975c8ff9585b8da53ace00a26851f992232834de508dac16ff58d9da1cbc2a.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-16975c8ff9585b8da53ace00a26851f992232834de508dac16ff58d9da1cbc2a.json
rename to rust/cloud-storage/.sqlx/query-16975c8ff9585b8da53ace00a26851f992232834de508dac16ff58d9da1cbc2a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json b/rust/cloud-storage/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json
rename to rust/cloud-storage/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json b/rust/cloud-storage/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json
rename to rust/cloud-storage/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json
diff --git a/rust/cloud-storage/email/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json b/rust/cloud-storage/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
rename to rust/cloud-storage/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json b/rust/cloud-storage/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json
rename to rust/cloud-storage/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json b/rust/cloud-storage/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json
rename to rust/cloud-storage/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-1787312f37ce2a63f3a448f70e719581607988c79c9d2f4ead58811d60d5bec7.json b/rust/cloud-storage/.sqlx/query-1787312f37ce2a63f3a448f70e719581607988c79c9d2f4ead58811d60d5bec7.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-1787312f37ce2a63f3a448f70e719581607988c79c9d2f4ead58811d60d5bec7.json
rename to rust/cloud-storage/.sqlx/query-1787312f37ce2a63f3a448f70e719581607988c79c9d2f4ead58811d60d5bec7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json b/rust/cloud-storage/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json
rename to rust/cloud-storage/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json b/rust/cloud-storage/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json
rename to rust/cloud-storage/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json
diff --git a/rust/cloud-storage/email/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json b/rust/cloud-storage/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json
rename to rust/cloud-storage/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json b/rust/cloud-storage/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json
rename to rust/cloud-storage/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-18ce46c3571cde47b087eae1c4aa5fef86b1058e0b9ad16614fc06d02f4cf86f.json b/rust/cloud-storage/.sqlx/query-18ce46c3571cde47b087eae1c4aa5fef86b1058e0b9ad16614fc06d02f4cf86f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-18ce46c3571cde47b087eae1c4aa5fef86b1058e0b9ad16614fc06d02f4cf86f.json
rename to rust/cloud-storage/.sqlx/query-18ce46c3571cde47b087eae1c4aa5fef86b1058e0b9ad16614fc06d02f4cf86f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json b/rust/cloud-storage/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json
rename to rust/cloud-storage/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-18f484857d5b6d140bfe2e78fce5632c78c630fddf249f0d53261e601969889b.json b/rust/cloud-storage/.sqlx/query-18f484857d5b6d140bfe2e78fce5632c78c630fddf249f0d53261e601969889b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-18f484857d5b6d140bfe2e78fce5632c78c630fddf249f0d53261e601969889b.json
rename to rust/cloud-storage/.sqlx/query-18f484857d5b6d140bfe2e78fce5632c78c630fddf249f0d53261e601969889b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json b/rust/cloud-storage/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
rename to rust/cloud-storage/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json b/rust/cloud-storage/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json
rename to rust/cloud-storage/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json b/rust/cloud-storage/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json
rename to rust/cloud-storage/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-19c878ce5817c5643e48a6159fce81a2f964defcb7b190460f2b16ac67078766.json b/rust/cloud-storage/.sqlx/query-19c878ce5817c5643e48a6159fce81a2f964defcb7b190460f2b16ac67078766.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-19c878ce5817c5643e48a6159fce81a2f964defcb7b190460f2b16ac67078766.json
rename to rust/cloud-storage/.sqlx/query-19c878ce5817c5643e48a6159fce81a2f964defcb7b190460f2b16ac67078766.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json b/rust/cloud-storage/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json
rename to rust/cloud-storage/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-1b30e7bb6b67b93826781122a191e243db4c43ec8630b32ea48b1c7e31724264.json b/rust/cloud-storage/.sqlx/query-1b30e7bb6b67b93826781122a191e243db4c43ec8630b32ea48b1c7e31724264.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-1b30e7bb6b67b93826781122a191e243db4c43ec8630b32ea48b1c7e31724264.json
rename to rust/cloud-storage/.sqlx/query-1b30e7bb6b67b93826781122a191e243db4c43ec8630b32ea48b1c7e31724264.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json b/rust/cloud-storage/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json
rename to rust/cloud-storage/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json b/rust/cloud-storage/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json
rename to rust/cloud-storage/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json b/rust/cloud-storage/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json
rename to rust/cloud-storage/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json b/rust/cloud-storage/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
rename to rust/cloud-storage/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json b/rust/cloud-storage/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json
rename to rust/cloud-storage/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-1b8be86d6e9c1637d47b9ec156a1d8b010408005f7e12db26e1c3fc5b6d23c29.json b/rust/cloud-storage/.sqlx/query-1b8be86d6e9c1637d47b9ec156a1d8b010408005f7e12db26e1c3fc5b6d23c29.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-1b8be86d6e9c1637d47b9ec156a1d8b010408005f7e12db26e1c3fc5b6d23c29.json
rename to rust/cloud-storage/.sqlx/query-1b8be86d6e9c1637d47b9ec156a1d8b010408005f7e12db26e1c3fc5b6d23c29.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json b/rust/cloud-storage/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json
rename to rust/cloud-storage/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json b/rust/cloud-storage/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json
rename to rust/cloud-storage/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json b/rust/cloud-storage/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json
rename to rust/cloud-storage/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json
diff --git a/rust/cloud-storage/organization_retention_handler/.sqlx/query-1c6ee06fa02288f263d5b51c30d3cd5280f4596a359328c00b1b3e2ce74c0234.json b/rust/cloud-storage/.sqlx/query-1c6ee06fa02288f263d5b51c30d3cd5280f4596a359328c00b1b3e2ce74c0234.json
similarity index 100%
rename from rust/cloud-storage/organization_retention_handler/.sqlx/query-1c6ee06fa02288f263d5b51c30d3cd5280f4596a359328c00b1b3e2ce74c0234.json
rename to rust/cloud-storage/.sqlx/query-1c6ee06fa02288f263d5b51c30d3cd5280f4596a359328c00b1b3e2ce74c0234.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json b/rust/cloud-storage/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json
rename to rust/cloud-storage/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json b/rust/cloud-storage/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json
rename to rust/cloud-storage/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-1dfe7b9de91625d4dafc473dd014326d84465827ee265f1111cd30e6d936f714.json b/rust/cloud-storage/.sqlx/query-1dfe7b9de91625d4dafc473dd014326d84465827ee265f1111cd30e6d936f714.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-1dfe7b9de91625d4dafc473dd014326d84465827ee265f1111cd30e6d936f714.json
rename to rust/cloud-storage/.sqlx/query-1dfe7b9de91625d4dafc473dd014326d84465827ee265f1111cd30e6d936f714.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json b/rust/cloud-storage/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json
rename to rust/cloud-storage/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-1e45a7245820860fa347be763bb94e3aa7d6e5d9a2660ed6668eaec3d0b39745.json b/rust/cloud-storage/.sqlx/query-1e45a7245820860fa347be763bb94e3aa7d6e5d9a2660ed6668eaec3d0b39745.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-1e45a7245820860fa347be763bb94e3aa7d6e5d9a2660ed6668eaec3d0b39745.json
rename to rust/cloud-storage/.sqlx/query-1e45a7245820860fa347be763bb94e3aa7d6e5d9a2660ed6668eaec3d0b39745.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json b/rust/cloud-storage/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json
rename to rust/cloud-storage/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json b/rust/cloud-storage/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json
rename to rust/cloud-storage/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-1ec5c2ad3ac95f2b35d28c6298da7d8e7db9a7fb97d8af9ca3219a9e13215742.json b/rust/cloud-storage/.sqlx/query-1ec5c2ad3ac95f2b35d28c6298da7d8e7db9a7fb97d8af9ca3219a9e13215742.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-1ec5c2ad3ac95f2b35d28c6298da7d8e7db9a7fb97d8af9ca3219a9e13215742.json
rename to rust/cloud-storage/.sqlx/query-1ec5c2ad3ac95f2b35d28c6298da7d8e7db9a7fb97d8af9ca3219a9e13215742.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json b/rust/cloud-storage/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json
rename to rust/cloud-storage/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-1ef37a5e008e95d1d123d815c287931dc2e7ddcbc393c0dc068cfcd1a752e6e0.json b/rust/cloud-storage/.sqlx/query-1ef37a5e008e95d1d123d815c287931dc2e7ddcbc393c0dc068cfcd1a752e6e0.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-1ef37a5e008e95d1d123d815c287931dc2e7ddcbc393c0dc068cfcd1a752e6e0.json
rename to rust/cloud-storage/.sqlx/query-1ef37a5e008e95d1d123d815c287931dc2e7ddcbc393c0dc068cfcd1a752e6e0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json b/rust/cloud-storage/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json
rename to rust/cloud-storage/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-1fa9e2989967fe9d44ee4e7c7db0091aebd9369c066fde6ccfe090bc97271e71.json b/rust/cloud-storage/.sqlx/query-1fa9e2989967fe9d44ee4e7c7db0091aebd9369c066fde6ccfe090bc97271e71.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-1fa9e2989967fe9d44ee4e7c7db0091aebd9369c066fde6ccfe090bc97271e71.json
rename to rust/cloud-storage/.sqlx/query-1fa9e2989967fe9d44ee4e7c7db0091aebd9369c066fde6ccfe090bc97271e71.json
diff --git a/rust/cloud-storage/call/.sqlx/query-1ffb3c556caf3fe25d6f69bbeeca0a39d1e5a6fadc9170a2d863fee8fbfb0939.json b/rust/cloud-storage/.sqlx/query-1ffb3c556caf3fe25d6f69bbeeca0a39d1e5a6fadc9170a2d863fee8fbfb0939.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-1ffb3c556caf3fe25d6f69bbeeca0a39d1e5a6fadc9170a2d863fee8fbfb0939.json
rename to rust/cloud-storage/.sqlx/query-1ffb3c556caf3fe25d6f69bbeeca0a39d1e5a6fadc9170a2d863fee8fbfb0939.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json b/rust/cloud-storage/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json
rename to rust/cloud-storage/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-205c24d0647adde8fd03d37aa37fce4a37f75e0b9796a77bb45d0ebb3264928a.json b/rust/cloud-storage/.sqlx/query-205c24d0647adde8fd03d37aa37fce4a37f75e0b9796a77bb45d0ebb3264928a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-205c24d0647adde8fd03d37aa37fce4a37f75e0b9796a77bb45d0ebb3264928a.json
rename to rust/cloud-storage/.sqlx/query-205c24d0647adde8fd03d37aa37fce4a37f75e0b9796a77bb45d0ebb3264928a.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-20968294bc4a969511f02809aaa0267da032ee0de31f13d0ed1929550bd8adda.json b/rust/cloud-storage/.sqlx/query-20968294bc4a969511f02809aaa0267da032ee0de31f13d0ed1929550bd8adda.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-20968294bc4a969511f02809aaa0267da032ee0de31f13d0ed1929550bd8adda.json
rename to rust/cloud-storage/.sqlx/query-20968294bc4a969511f02809aaa0267da032ee0de31f13d0ed1929550bd8adda.json
diff --git a/rust/cloud-storage/call/.sqlx/query-20a6a1d55831d2f428a4439ff09cd0f680dab8845b5789b83eee8966bbb85937.json b/rust/cloud-storage/.sqlx/query-20a6a1d55831d2f428a4439ff09cd0f680dab8845b5789b83eee8966bbb85937.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-20a6a1d55831d2f428a4439ff09cd0f680dab8845b5789b83eee8966bbb85937.json
rename to rust/cloud-storage/.sqlx/query-20a6a1d55831d2f428a4439ff09cd0f680dab8845b5789b83eee8966bbb85937.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-20a883359476f1460ce1ecb7c96d502b89f9151a884b24f316c6196f62158659.json b/rust/cloud-storage/.sqlx/query-20a883359476f1460ce1ecb7c96d502b89f9151a884b24f316c6196f62158659.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-20a883359476f1460ce1ecb7c96d502b89f9151a884b24f316c6196f62158659.json
rename to rust/cloud-storage/.sqlx/query-20a883359476f1460ce1ecb7c96d502b89f9151a884b24f316c6196f62158659.json
diff --git a/rust/cloud-storage/email/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json b/rust/cloud-storage/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json
rename to rust/cloud-storage/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json b/rust/cloud-storage/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json
rename to rust/cloud-storage/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json b/rust/cloud-storage/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json
rename to rust/cloud-storage/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json b/rust/cloud-storage/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json
rename to rust/cloud-storage/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json b/rust/cloud-storage/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json
rename to rust/cloud-storage/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json b/rust/cloud-storage/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json
rename to rust/cloud-storage/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json
diff --git a/rust/cloud-storage/email_scheduled_handler/.sqlx/query-2386c156456dbaea33ec5071907677174bdfc3048719f1be818c11b6dd7ada01.json b/rust/cloud-storage/.sqlx/query-2386c156456dbaea33ec5071907677174bdfc3048719f1be818c11b6dd7ada01.json
similarity index 100%
rename from rust/cloud-storage/email_scheduled_handler/.sqlx/query-2386c156456dbaea33ec5071907677174bdfc3048719f1be818c11b6dd7ada01.json
rename to rust/cloud-storage/.sqlx/query-2386c156456dbaea33ec5071907677174bdfc3048719f1be818c11b6dd7ada01.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2434f8a0e387b85009c8857ab719928f6e922ecf302228837e4d0686866ac515.json b/rust/cloud-storage/.sqlx/query-2434f8a0e387b85009c8857ab719928f6e922ecf302228837e4d0686866ac515.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2434f8a0e387b85009c8857ab719928f6e922ecf302228837e4d0686866ac515.json
rename to rust/cloud-storage/.sqlx/query-2434f8a0e387b85009c8857ab719928f6e922ecf302228837e4d0686866ac515.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json b/rust/cloud-storage/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json
rename to rust/cloud-storage/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json b/rust/cloud-storage/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json
rename to rust/cloud-storage/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-2524aba87b62046462d33a88cd3ccd9818906c386468c40410d1e96f1aeb4e27.json b/rust/cloud-storage/.sqlx/query-2524aba87b62046462d33a88cd3ccd9818906c386468c40410d1e96f1aeb4e27.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-2524aba87b62046462d33a88cd3ccd9818906c386468c40410d1e96f1aeb4e27.json
rename to rust/cloud-storage/.sqlx/query-2524aba87b62046462d33a88cd3ccd9818906c386468c40410d1e96f1aeb4e27.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-2576862c3cfe8c3efaf56031067a7251ed3737e3aa63d2213520a9f9b83a281c.json b/rust/cloud-storage/.sqlx/query-2576862c3cfe8c3efaf56031067a7251ed3737e3aa63d2213520a9f9b83a281c.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-2576862c3cfe8c3efaf56031067a7251ed3737e3aa63d2213520a9f9b83a281c.json
rename to rust/cloud-storage/.sqlx/query-2576862c3cfe8c3efaf56031067a7251ed3737e3aa63d2213520a9f9b83a281c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json b/rust/cloud-storage/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json
rename to rust/cloud-storage/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json b/rust/cloud-storage/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json
rename to rust/cloud-storage/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-26ab5fa9630526b99a3937baff648f056a532178864f1f62ce55d107d1702f7f.json b/rust/cloud-storage/.sqlx/query-26ab5fa9630526b99a3937baff648f056a532178864f1f62ce55d107d1702f7f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-26ab5fa9630526b99a3937baff648f056a532178864f1f62ce55d107d1702f7f.json
rename to rust/cloud-storage/.sqlx/query-26ab5fa9630526b99a3937baff648f056a532178864f1f62ce55d107d1702f7f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json b/rust/cloud-storage/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json
rename to rust/cloud-storage/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json b/rust/cloud-storage/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json
rename to rust/cloud-storage/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json b/rust/cloud-storage/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
rename to rust/cloud-storage/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json b/rust/cloud-storage/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json
rename to rust/cloud-storage/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-273231d502cf7d6ac6e29d3007fb5bf5fff4d5bc979ed1555df61f4666e1121e.json b/rust/cloud-storage/.sqlx/query-273231d502cf7d6ac6e29d3007fb5bf5fff4d5bc979ed1555df61f4666e1121e.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-273231d502cf7d6ac6e29d3007fb5bf5fff4d5bc979ed1555df61f4666e1121e.json
rename to rust/cloud-storage/.sqlx/query-273231d502cf7d6ac6e29d3007fb5bf5fff4d5bc979ed1555df61f4666e1121e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json b/rust/cloud-storage/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json
rename to rust/cloud-storage/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json
diff --git a/rust/cloud-storage/entity_access_management/.sqlx/query-279926d74db34fd618a6b507e2ec60160ef8399af5cfa11393a2e1e8d9762d65.json b/rust/cloud-storage/.sqlx/query-279926d74db34fd618a6b507e2ec60160ef8399af5cfa11393a2e1e8d9762d65.json
similarity index 100%
rename from rust/cloud-storage/entity_access_management/.sqlx/query-279926d74db34fd618a6b507e2ec60160ef8399af5cfa11393a2e1e8d9762d65.json
rename to rust/cloud-storage/.sqlx/query-279926d74db34fd618a6b507e2ec60160ef8399af5cfa11393a2e1e8d9762d65.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json b/rust/cloud-storage/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json
rename to rust/cloud-storage/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json b/rust/cloud-storage/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json
rename to rust/cloud-storage/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-27cffe57cded3d1b63df02e8dca8b2158fe2072af6b7baacd30b3f0095cb7e0c.json b/rust/cloud-storage/.sqlx/query-27cffe57cded3d1b63df02e8dca8b2158fe2072af6b7baacd30b3f0095cb7e0c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-27cffe57cded3d1b63df02e8dca8b2158fe2072af6b7baacd30b3f0095cb7e0c.json
rename to rust/cloud-storage/.sqlx/query-27cffe57cded3d1b63df02e8dca8b2158fe2072af6b7baacd30b3f0095cb7e0c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json b/rust/cloud-storage/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
rename to rust/cloud-storage/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
diff --git a/rust/cloud-storage/email/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json b/rust/cloud-storage/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json
rename to rust/cloud-storage/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json b/rust/cloud-storage/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json
rename to rust/cloud-storage/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json b/rust/cloud-storage/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
rename to rust/cloud-storage/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
diff --git a/rust/cloud-storage/call/.sqlx/query-2a75819c2697a91f55f1161c1dd79d065235f02119bbb2cc2b881f6fa8f82274.json b/rust/cloud-storage/.sqlx/query-2a75819c2697a91f55f1161c1dd79d065235f02119bbb2cc2b881f6fa8f82274.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-2a75819c2697a91f55f1161c1dd79d065235f02119bbb2cc2b881f6fa8f82274.json
rename to rust/cloud-storage/.sqlx/query-2a75819c2697a91f55f1161c1dd79d065235f02119bbb2cc2b881f6fa8f82274.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-2a7d96d4ad9f58533ca637112bdf0e50e65f9f7dade0f8e1239cc32404e2b135.json b/rust/cloud-storage/.sqlx/query-2a7d96d4ad9f58533ca637112bdf0e50e65f9f7dade0f8e1239cc32404e2b135.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-2a7d96d4ad9f58533ca637112bdf0e50e65f9f7dade0f8e1239cc32404e2b135.json
rename to rust/cloud-storage/.sqlx/query-2a7d96d4ad9f58533ca637112bdf0e50e65f9f7dade0f8e1239cc32404e2b135.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-2ac4359cf8918df8770a8f89b43195b87a928d18ff10c5d5dbec9bba0dc9eca1.json b/rust/cloud-storage/.sqlx/query-2ac4359cf8918df8770a8f89b43195b87a928d18ff10c5d5dbec9bba0dc9eca1.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-2ac4359cf8918df8770a8f89b43195b87a928d18ff10c5d5dbec9bba0dc9eca1.json
rename to rust/cloud-storage/.sqlx/query-2ac4359cf8918df8770a8f89b43195b87a928d18ff10c5d5dbec9bba0dc9eca1.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-2b56d4020e5e9882bf82e2909868eda21c8f93ee647274cbd0f7f8b8cfad02bf.json b/rust/cloud-storage/.sqlx/query-2b56d4020e5e9882bf82e2909868eda21c8f93ee647274cbd0f7f8b8cfad02bf.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-2b56d4020e5e9882bf82e2909868eda21c8f93ee647274cbd0f7f8b8cfad02bf.json
rename to rust/cloud-storage/.sqlx/query-2b56d4020e5e9882bf82e2909868eda21c8f93ee647274cbd0f7f8b8cfad02bf.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-2ba42e1b8b6e432c5cbe966076ca05523a4b1f4be0798ae362a325c172b19a43.json b/rust/cloud-storage/.sqlx/query-2ba42e1b8b6e432c5cbe966076ca05523a4b1f4be0798ae362a325c172b19a43.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-2ba42e1b8b6e432c5cbe966076ca05523a4b1f4be0798ae362a325c172b19a43.json
rename to rust/cloud-storage/.sqlx/query-2ba42e1b8b6e432c5cbe966076ca05523a4b1f4be0798ae362a325c172b19a43.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-2c16c9daa8fd2542c90ea2fcd848ed60ba013aa7ee53742b7f1f677e7082ce2f.json b/rust/cloud-storage/.sqlx/query-2c16c9daa8fd2542c90ea2fcd848ed60ba013aa7ee53742b7f1f677e7082ce2f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-2c16c9daa8fd2542c90ea2fcd848ed60ba013aa7ee53742b7f1f677e7082ce2f.json
rename to rust/cloud-storage/.sqlx/query-2c16c9daa8fd2542c90ea2fcd848ed60ba013aa7ee53742b7f1f677e7082ce2f.json
diff --git a/rust/cloud-storage/email/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json b/rust/cloud-storage/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json
rename to rust/cloud-storage/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json b/rust/cloud-storage/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json
rename to rust/cloud-storage/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json
diff --git a/rust/cloud-storage/document_text_extractor/.sqlx/query-2c523a7a5cc018de790645eef920861ebc4fc1a28d0a6e14ee1aed1d472ff87a.json b/rust/cloud-storage/.sqlx/query-2c523a7a5cc018de790645eef920861ebc4fc1a28d0a6e14ee1aed1d472ff87a.json
similarity index 100%
rename from rust/cloud-storage/document_text_extractor/.sqlx/query-2c523a7a5cc018de790645eef920861ebc4fc1a28d0a6e14ee1aed1d472ff87a.json
rename to rust/cloud-storage/.sqlx/query-2c523a7a5cc018de790645eef920861ebc4fc1a28d0a6e14ee1aed1d472ff87a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json b/rust/cloud-storage/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json
rename to rust/cloud-storage/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-2cbc42ba5738de1d3d5c0f16306cf0daaab7ccca3618ff516bdbf2efda3077e5.json b/rust/cloud-storage/.sqlx/query-2cbc42ba5738de1d3d5c0f16306cf0daaab7ccca3618ff516bdbf2efda3077e5.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-2cbc42ba5738de1d3d5c0f16306cf0daaab7ccca3618ff516bdbf2efda3077e5.json
rename to rust/cloud-storage/.sqlx/query-2cbc42ba5738de1d3d5c0f16306cf0daaab7ccca3618ff516bdbf2efda3077e5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json b/rust/cloud-storage/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json
rename to rust/cloud-storage/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json b/rust/cloud-storage/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json
rename to rust/cloud-storage/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json b/rust/cloud-storage/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json
rename to rust/cloud-storage/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-2e069f7c63dac759abe54f685567743862bb918f45f0a21481e044ff99427976.json b/rust/cloud-storage/.sqlx/query-2e069f7c63dac759abe54f685567743862bb918f45f0a21481e044ff99427976.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-2e069f7c63dac759abe54f685567743862bb918f45f0a21481e044ff99427976.json
rename to rust/cloud-storage/.sqlx/query-2e069f7c63dac759abe54f685567743862bb918f45f0a21481e044ff99427976.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json b/rust/cloud-storage/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json
rename to rust/cloud-storage/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json
diff --git a/rust/cloud-storage/email/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json b/rust/cloud-storage/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json
rename to rust/cloud-storage/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json b/rust/cloud-storage/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
rename to rust/cloud-storage/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json b/rust/cloud-storage/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json
rename to rust/cloud-storage/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json b/rust/cloud-storage/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json
rename to rust/cloud-storage/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json b/rust/cloud-storage/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json
rename to rust/cloud-storage/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json b/rust/cloud-storage/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json
rename to rust/cloud-storage/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-3152bd385bf8a62ac1258308acc31e02e1d6a1a5aa81499903ec6ca86f678219.json b/rust/cloud-storage/.sqlx/query-3152bd385bf8a62ac1258308acc31e02e1d6a1a5aa81499903ec6ca86f678219.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-3152bd385bf8a62ac1258308acc31e02e1d6a1a5aa81499903ec6ca86f678219.json
rename to rust/cloud-storage/.sqlx/query-3152bd385bf8a62ac1258308acc31e02e1d6a1a5aa81499903ec6ca86f678219.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json b/rust/cloud-storage/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
rename to rust/cloud-storage/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-317f5f566558b0a1c27174de398f923cb9e2d47d3cb0adbe628f18f753995d90.json b/rust/cloud-storage/.sqlx/query-317f5f566558b0a1c27174de398f923cb9e2d47d3cb0adbe628f18f753995d90.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-317f5f566558b0a1c27174de398f923cb9e2d47d3cb0adbe628f18f753995d90.json
rename to rust/cloud-storage/.sqlx/query-317f5f566558b0a1c27174de398f923cb9e2d47d3cb0adbe628f18f753995d90.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-31dbb9af47386234da706e7c3175a7a2e43c2231040cc399488418eab9f6023a.json b/rust/cloud-storage/.sqlx/query-31dbb9af47386234da706e7c3175a7a2e43c2231040cc399488418eab9f6023a.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-31dbb9af47386234da706e7c3175a7a2e43c2231040cc399488418eab9f6023a.json
rename to rust/cloud-storage/.sqlx/query-31dbb9af47386234da706e7c3175a7a2e43c2231040cc399488418eab9f6023a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json b/rust/cloud-storage/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json
rename to rust/cloud-storage/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json
diff --git a/rust/cloud-storage/email_refresh_handler/.sqlx/query-32900d38a985678b10e8b72c3a250033052a9fb05c14a92e0d2b89b3b47330a2.json b/rust/cloud-storage/.sqlx/query-32900d38a985678b10e8b72c3a250033052a9fb05c14a92e0d2b89b3b47330a2.json
similarity index 100%
rename from rust/cloud-storage/email_refresh_handler/.sqlx/query-32900d38a985678b10e8b72c3a250033052a9fb05c14a92e0d2b89b3b47330a2.json
rename to rust/cloud-storage/.sqlx/query-32900d38a985678b10e8b72c3a250033052a9fb05c14a92e0d2b89b3b47330a2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json b/rust/cloud-storage/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
rename to rust/cloud-storage/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-32bc3d9fd93e31e31e94a11d286017303907af0da309f50568bda9f6fa74c22f.json b/rust/cloud-storage/.sqlx/query-32bc3d9fd93e31e31e94a11d286017303907af0da309f50568bda9f6fa74c22f.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-32bc3d9fd93e31e31e94a11d286017303907af0da309f50568bda9f6fa74c22f.json
rename to rust/cloud-storage/.sqlx/query-32bc3d9fd93e31e31e94a11d286017303907af0da309f50568bda9f6fa74c22f.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-32caedb3c1bd949d4c4cfec7a3f43a1403707f4e9126f51d33d7c3c3c82b7c8a.json b/rust/cloud-storage/.sqlx/query-32caedb3c1bd949d4c4cfec7a3f43a1403707f4e9126f51d33d7c3c3c82b7c8a.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-32caedb3c1bd949d4c4cfec7a3f43a1403707f4e9126f51d33d7c3c3c82b7c8a.json
rename to rust/cloud-storage/.sqlx/query-32caedb3c1bd949d4c4cfec7a3f43a1403707f4e9126f51d33d7c3c3c82b7c8a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json b/rust/cloud-storage/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json
rename to rust/cloud-storage/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json
diff --git a/rust/cloud-storage/call/.sqlx/query-32d668d355465b6e54567a087cf54754567424b802606a92cf204041a9b70bf4.json b/rust/cloud-storage/.sqlx/query-32d668d355465b6e54567a087cf54754567424b802606a92cf204041a9b70bf4.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-32d668d355465b6e54567a087cf54754567424b802606a92cf204041a9b70bf4.json
rename to rust/cloud-storage/.sqlx/query-32d668d355465b6e54567a087cf54754567424b802606a92cf204041a9b70bf4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json b/rust/cloud-storage/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json
rename to rust/cloud-storage/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json b/rust/cloud-storage/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
rename to rust/cloud-storage/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-337c5b8167734371400bf99235e441b2a8bfe4d2d7cc242195f298437d95e7c3.json b/rust/cloud-storage/.sqlx/query-337c5b8167734371400bf99235e441b2a8bfe4d2d7cc242195f298437d95e7c3.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-337c5b8167734371400bf99235e441b2a8bfe4d2d7cc242195f298437d95e7c3.json
rename to rust/cloud-storage/.sqlx/query-337c5b8167734371400bf99235e441b2a8bfe4d2d7cc242195f298437d95e7c3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json b/rust/cloud-storage/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json
rename to rust/cloud-storage/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-341489a2c91e2bf15545e01ab49df8ca99355322514ac541a95c0ef65491505d.json b/rust/cloud-storage/.sqlx/query-341489a2c91e2bf15545e01ab49df8ca99355322514ac541a95c0ef65491505d.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-341489a2c91e2bf15545e01ab49df8ca99355322514ac541a95c0ef65491505d.json
rename to rust/cloud-storage/.sqlx/query-341489a2c91e2bf15545e01ab49df8ca99355322514ac541a95c0ef65491505d.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-345333b49aa634cf527c0d5c10f6064359b93f5cadb52da18c5e12a50cf50ae1.json b/rust/cloud-storage/.sqlx/query-345333b49aa634cf527c0d5c10f6064359b93f5cadb52da18c5e12a50cf50ae1.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-345333b49aa634cf527c0d5c10f6064359b93f5cadb52da18c5e12a50cf50ae1.json
rename to rust/cloud-storage/.sqlx/query-345333b49aa634cf527c0d5c10f6064359b93f5cadb52da18c5e12a50cf50ae1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json b/rust/cloud-storage/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json
rename to rust/cloud-storage/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-3480a69060f20430ed75c05cf9e40734b03ec692b637f99fb61b25f9b7c54583.json b/rust/cloud-storage/.sqlx/query-3480a69060f20430ed75c05cf9e40734b03ec692b637f99fb61b25f9b7c54583.json
similarity index 100%
rename from rust/cloud-storage/comms_db_client/.sqlx/query-3480a69060f20430ed75c05cf9e40734b03ec692b637f99fb61b25f9b7c54583.json
rename to rust/cloud-storage/.sqlx/query-3480a69060f20430ed75c05cf9e40734b03ec692b637f99fb61b25f9b7c54583.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-34a70ab661c087eb2c6b97d57099ac2c7ff263b9340003c319475fcafdf0356b.json b/rust/cloud-storage/.sqlx/query-34a70ab661c087eb2c6b97d57099ac2c7ff263b9340003c319475fcafdf0356b.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-34a70ab661c087eb2c6b97d57099ac2c7ff263b9340003c319475fcafdf0356b.json
rename to rust/cloud-storage/.sqlx/query-34a70ab661c087eb2c6b97d57099ac2c7ff263b9340003c319475fcafdf0356b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-34cf0289f36241df424661c22080748ca056ffa883a4cdba1652b7b8500ba179.json b/rust/cloud-storage/.sqlx/query-34cf0289f36241df424661c22080748ca056ffa883a4cdba1652b7b8500ba179.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-34cf0289f36241df424661c22080748ca056ffa883a4cdba1652b7b8500ba179.json
rename to rust/cloud-storage/.sqlx/query-34cf0289f36241df424661c22080748ca056ffa883a4cdba1652b7b8500ba179.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-34e06c7ad5a9ddb12ac9bdfb86a0ab6388547e69762533e204f39af71d0e68ee.json b/rust/cloud-storage/.sqlx/query-34e06c7ad5a9ddb12ac9bdfb86a0ab6388547e69762533e204f39af71d0e68ee.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-34e06c7ad5a9ddb12ac9bdfb86a0ab6388547e69762533e204f39af71d0e68ee.json
rename to rust/cloud-storage/.sqlx/query-34e06c7ad5a9ddb12ac9bdfb86a0ab6388547e69762533e204f39af71d0e68ee.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json b/rust/cloud-storage/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json
rename to rust/cloud-storage/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-357682d4dddfaa980129c516f38c4176352fa9b44242cdd5abe8b4ee18a62f8e.json b/rust/cloud-storage/.sqlx/query-357682d4dddfaa980129c516f38c4176352fa9b44242cdd5abe8b4ee18a62f8e.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-357682d4dddfaa980129c516f38c4176352fa9b44242cdd5abe8b4ee18a62f8e.json
rename to rust/cloud-storage/.sqlx/query-357682d4dddfaa980129c516f38c4176352fa9b44242cdd5abe8b4ee18a62f8e.json
diff --git a/rust/cloud-storage/email/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json b/rust/cloud-storage/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json
rename to rust/cloud-storage/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json b/rust/cloud-storage/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json
rename to rust/cloud-storage/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json b/rust/cloud-storage/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json
rename to rust/cloud-storage/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json
diff --git a/rust/cloud-storage/organization_retention_handler/.sqlx/query-35e9ea6799e4075ef4573116cc4dfb7c5904a23c2d859d838f607d1bd296777d.json b/rust/cloud-storage/.sqlx/query-35e9ea6799e4075ef4573116cc4dfb7c5904a23c2d859d838f607d1bd296777d.json
similarity index 100%
rename from rust/cloud-storage/organization_retention_handler/.sqlx/query-35e9ea6799e4075ef4573116cc4dfb7c5904a23c2d859d838f607d1bd296777d.json
rename to rust/cloud-storage/.sqlx/query-35e9ea6799e4075ef4573116cc4dfb7c5904a23c2d859d838f607d1bd296777d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json b/rust/cloud-storage/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
rename to rust/cloud-storage/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
diff --git a/rust/cloud-storage/call/.sqlx/query-370a87eb4e8c69c5430716f06c0b23ec03e343c026d2e13ba7c4337fab85cd05.json b/rust/cloud-storage/.sqlx/query-370a87eb4e8c69c5430716f06c0b23ec03e343c026d2e13ba7c4337fab85cd05.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-370a87eb4e8c69c5430716f06c0b23ec03e343c026d2e13ba7c4337fab85cd05.json
rename to rust/cloud-storage/.sqlx/query-370a87eb4e8c69c5430716f06c0b23ec03e343c026d2e13ba7c4337fab85cd05.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json b/rust/cloud-storage/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
rename to rust/cloud-storage/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json b/rust/cloud-storage/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
rename to rust/cloud-storage/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json b/rust/cloud-storage/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
rename to rust/cloud-storage/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
diff --git a/rust/cloud-storage/email/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json b/rust/cloud-storage/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json
rename to rust/cloud-storage/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json b/rust/cloud-storage/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json
rename to rust/cloud-storage/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json
diff --git a/rust/cloud-storage/call/.sqlx/query-38d8954ab4b43aa67742a32d78af64cfaf2c5620a534753cc358602d626693c1.json b/rust/cloud-storage/.sqlx/query-38d8954ab4b43aa67742a32d78af64cfaf2c5620a534753cc358602d626693c1.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-38d8954ab4b43aa67742a32d78af64cfaf2c5620a534753cc358602d626693c1.json
rename to rust/cloud-storage/.sqlx/query-38d8954ab4b43aa67742a32d78af64cfaf2c5620a534753cc358602d626693c1.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3907578083a1a10d49eab63c85fd92d078cbce9ef2e968480ea475623ec76f63.json b/rust/cloud-storage/.sqlx/query-3907578083a1a10d49eab63c85fd92d078cbce9ef2e968480ea475623ec76f63.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-3907578083a1a10d49eab63c85fd92d078cbce9ef2e968480ea475623ec76f63.json
rename to rust/cloud-storage/.sqlx/query-3907578083a1a10d49eab63c85fd92d078cbce9ef2e968480ea475623ec76f63.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-391f9e418d24bb793ff8e4408dd44193d3c769a6d43078570accc708e6a749b3.json b/rust/cloud-storage/.sqlx/query-391f9e418d24bb793ff8e4408dd44193d3c769a6d43078570accc708e6a749b3.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-391f9e418d24bb793ff8e4408dd44193d3c769a6d43078570accc708e6a749b3.json
rename to rust/cloud-storage/.sqlx/query-391f9e418d24bb793ff8e4408dd44193d3c769a6d43078570accc708e6a749b3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json b/rust/cloud-storage/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json
rename to rust/cloud-storage/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json b/rust/cloud-storage/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json
rename to rust/cloud-storage/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json b/rust/cloud-storage/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json
rename to rust/cloud-storage/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-3ad109bc298d98b88d0afac7d254a35a85f1671b808c2f2b71781114bbc1d134.json b/rust/cloud-storage/.sqlx/query-3ad109bc298d98b88d0afac7d254a35a85f1671b808c2f2b71781114bbc1d134.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-3ad109bc298d98b88d0afac7d254a35a85f1671b808c2f2b71781114bbc1d134.json
rename to rust/cloud-storage/.sqlx/query-3ad109bc298d98b88d0afac7d254a35a85f1671b808c2f2b71781114bbc1d134.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3aefae84fc5944abc5595794391ccac5a746205e3c1bbd0bd37b114a67b40bb0.json b/rust/cloud-storage/.sqlx/query-3aefae84fc5944abc5595794391ccac5a746205e3c1bbd0bd37b114a67b40bb0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3aefae84fc5944abc5595794391ccac5a746205e3c1bbd0bd37b114a67b40bb0.json
rename to rust/cloud-storage/.sqlx/query-3aefae84fc5944abc5595794391ccac5a746205e3c1bbd0bd37b114a67b40bb0.json
diff --git a/rust/cloud-storage/email/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json b/rust/cloud-storage/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json
rename to rust/cloud-storage/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json
diff --git a/rust/cloud-storage/email/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json b/rust/cloud-storage/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json
rename to rust/cloud-storage/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-3bb80109f339257e2fa01b7ea05d8c9786d6202db2a9fc41186d53c430d8f155.json b/rust/cloud-storage/.sqlx/query-3bb80109f339257e2fa01b7ea05d8c9786d6202db2a9fc41186d53c430d8f155.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-3bb80109f339257e2fa01b7ea05d8c9786d6202db2a9fc41186d53c430d8f155.json
rename to rust/cloud-storage/.sqlx/query-3bb80109f339257e2fa01b7ea05d8c9786d6202db2a9fc41186d53c430d8f155.json
diff --git a/rust/cloud-storage/call/.sqlx/query-3bd649e798f834ea3e0fc9d6c3b03d923622666779a97429afb926c64b517e1b.json b/rust/cloud-storage/.sqlx/query-3bd649e798f834ea3e0fc9d6c3b03d923622666779a97429afb926c64b517e1b.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-3bd649e798f834ea3e0fc9d6c3b03d923622666779a97429afb926c64b517e1b.json
rename to rust/cloud-storage/.sqlx/query-3bd649e798f834ea3e0fc9d6c3b03d923622666779a97429afb926c64b517e1b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json b/rust/cloud-storage/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json
rename to rust/cloud-storage/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json b/rust/cloud-storage/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json
rename to rust/cloud-storage/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-3c570d90cccdcc4d4546ecd377500c4882b1c7fb6c56e822cc4dfb8d4191dce4.json b/rust/cloud-storage/.sqlx/query-3c570d90cccdcc4d4546ecd377500c4882b1c7fb6c56e822cc4dfb8d4191dce4.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-3c570d90cccdcc4d4546ecd377500c4882b1c7fb6c56e822cc4dfb8d4191dce4.json
rename to rust/cloud-storage/.sqlx/query-3c570d90cccdcc4d4546ecd377500c4882b1c7fb6c56e822cc4dfb8d4191dce4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-3cc12a354bd0b48195a8f6b7b1df42d96b19eda98a61750b4405c0a0c55e50b2.json b/rust/cloud-storage/.sqlx/query-3cc12a354bd0b48195a8f6b7b1df42d96b19eda98a61750b4405c0a0c55e50b2.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-3cc12a354bd0b48195a8f6b7b1df42d96b19eda98a61750b4405c0a0c55e50b2.json
rename to rust/cloud-storage/.sqlx/query-3cc12a354bd0b48195a8f6b7b1df42d96b19eda98a61750b4405c0a0c55e50b2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json b/rust/cloud-storage/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json
rename to rust/cloud-storage/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json
diff --git a/rust/cloud-storage/call/.sqlx/query-3d13e3995ba4fb30b9e2df9b41a42099d88663620b9139706c54340e757a47fc.json b/rust/cloud-storage/.sqlx/query-3d13e3995ba4fb30b9e2df9b41a42099d88663620b9139706c54340e757a47fc.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-3d13e3995ba4fb30b9e2df9b41a42099d88663620b9139706c54340e757a47fc.json
rename to rust/cloud-storage/.sqlx/query-3d13e3995ba4fb30b9e2df9b41a42099d88663620b9139706c54340e757a47fc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json b/rust/cloud-storage/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json
rename to rust/cloud-storage/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json b/rust/cloud-storage/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json
rename to rust/cloud-storage/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json b/rust/cloud-storage/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json
rename to rust/cloud-storage/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json b/rust/cloud-storage/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json
rename to rust/cloud-storage/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e333cb74dc40b2af8d6f9ed74105709ccaeca68b0ff0906e2f6be307963b49f.json b/rust/cloud-storage/.sqlx/query-3e333cb74dc40b2af8d6f9ed74105709ccaeca68b0ff0906e2f6be307963b49f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e333cb74dc40b2af8d6f9ed74105709ccaeca68b0ff0906e2f6be307963b49f.json
rename to rust/cloud-storage/.sqlx/query-3e333cb74dc40b2af8d6f9ed74105709ccaeca68b0ff0906e2f6be307963b49f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json b/rust/cloud-storage/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json
rename to rust/cloud-storage/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json b/rust/cloud-storage/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json
rename to rust/cloud-storage/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-3e75b16310cd04a141ddede2b9360356850135fd8b7bc79ef54d6548c40dbbb0.json b/rust/cloud-storage/.sqlx/query-3e75b16310cd04a141ddede2b9360356850135fd8b7bc79ef54d6548c40dbbb0.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-3e75b16310cd04a141ddede2b9360356850135fd8b7bc79ef54d6548c40dbbb0.json
rename to rust/cloud-storage/.sqlx/query-3e75b16310cd04a141ddede2b9360356850135fd8b7bc79ef54d6548c40dbbb0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json b/rust/cloud-storage/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json
rename to rust/cloud-storage/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json b/rust/cloud-storage/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json
rename to rust/cloud-storage/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json b/rust/cloud-storage/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json
rename to rust/cloud-storage/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-3ebdc4ec5d9a7b08d21f6e249d5c72d10d42e25aa07353aa47ebd3f1ad4f56a7.json b/rust/cloud-storage/.sqlx/query-3ebdc4ec5d9a7b08d21f6e249d5c72d10d42e25aa07353aa47ebd3f1ad4f56a7.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-3ebdc4ec5d9a7b08d21f6e249d5c72d10d42e25aa07353aa47ebd3f1ad4f56a7.json
rename to rust/cloud-storage/.sqlx/query-3ebdc4ec5d9a7b08d21f6e249d5c72d10d42e25aa07353aa47ebd3f1ad4f56a7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json b/rust/cloud-storage/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json
rename to rust/cloud-storage/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json
diff --git a/rust/cloud-storage/document_text_extractor/.sqlx/query-3eefc691aa14c4c3da377bf741138ed2f91343adfb13af0c7573dd6c29f8ac9a.json b/rust/cloud-storage/.sqlx/query-3eefc691aa14c4c3da377bf741138ed2f91343adfb13af0c7573dd6c29f8ac9a.json
similarity index 100%
rename from rust/cloud-storage/document_text_extractor/.sqlx/query-3eefc691aa14c4c3da377bf741138ed2f91343adfb13af0c7573dd6c29f8ac9a.json
rename to rust/cloud-storage/.sqlx/query-3eefc691aa14c4c3da377bf741138ed2f91343adfb13af0c7573dd6c29f8ac9a.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json b/rust/cloud-storage/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json
rename to rust/cloud-storage/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3f518302c857be0e5aa9180c4cb50a316694bb9210e88c664c4f998fd5759fb3.json b/rust/cloud-storage/.sqlx/query-3f518302c857be0e5aa9180c4cb50a316694bb9210e88c664c4f998fd5759fb3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3f518302c857be0e5aa9180c4cb50a316694bb9210e88c664c4f998fd5759fb3.json
rename to rust/cloud-storage/.sqlx/query-3f518302c857be0e5aa9180c4cb50a316694bb9210e88c664c4f998fd5759fb3.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-3f5df39d7ee978e92a94f3e9c1d6f12e812b89f46a7a40cb0d4b0ff8397b1b2f.json b/rust/cloud-storage/.sqlx/query-3f5df39d7ee978e92a94f3e9c1d6f12e812b89f46a7a40cb0d4b0ff8397b1b2f.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-3f5df39d7ee978e92a94f3e9c1d6f12e812b89f46a7a40cb0d4b0ff8397b1b2f.json
rename to rust/cloud-storage/.sqlx/query-3f5df39d7ee978e92a94f3e9c1d6f12e812b89f46a7a40cb0d4b0ff8397b1b2f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json b/rust/cloud-storage/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json
rename to rust/cloud-storage/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-40791e0cf94fdc888849594849e83daebe532ed4f8935d06815c24289d3c91c2.json b/rust/cloud-storage/.sqlx/query-40791e0cf94fdc888849594849e83daebe532ed4f8935d06815c24289d3c91c2.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-40791e0cf94fdc888849594849e83daebe532ed4f8935d06815c24289d3c91c2.json
rename to rust/cloud-storage/.sqlx/query-40791e0cf94fdc888849594849e83daebe532ed4f8935d06815c24289d3c91c2.json
diff --git a/rust/cloud-storage/organization_retention_trigger/.sqlx/query-4095df49b0672e4a41dee5acbe6be80494d59ba5242b073b9dbefbf8752a39f6.json b/rust/cloud-storage/.sqlx/query-4095df49b0672e4a41dee5acbe6be80494d59ba5242b073b9dbefbf8752a39f6.json
similarity index 100%
rename from rust/cloud-storage/organization_retention_trigger/.sqlx/query-4095df49b0672e4a41dee5acbe6be80494d59ba5242b073b9dbefbf8752a39f6.json
rename to rust/cloud-storage/.sqlx/query-4095df49b0672e4a41dee5acbe6be80494d59ba5242b073b9dbefbf8752a39f6.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-40bfe125ad0bde96466e2a8ed9083c72877347fafb9fbcde0935ac10290b7cb0.json b/rust/cloud-storage/.sqlx/query-40bfe125ad0bde96466e2a8ed9083c72877347fafb9fbcde0935ac10290b7cb0.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-40bfe125ad0bde96466e2a8ed9083c72877347fafb9fbcde0935ac10290b7cb0.json
rename to rust/cloud-storage/.sqlx/query-40bfe125ad0bde96466e2a8ed9083c72877347fafb9fbcde0935ac10290b7cb0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-411177d8b75b7150971074b41fd825873d729e28915a0fd36335b36494a93c53.json b/rust/cloud-storage/.sqlx/query-411177d8b75b7150971074b41fd825873d729e28915a0fd36335b36494a93c53.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-411177d8b75b7150971074b41fd825873d729e28915a0fd36335b36494a93c53.json
rename to rust/cloud-storage/.sqlx/query-411177d8b75b7150971074b41fd825873d729e28915a0fd36335b36494a93c53.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-4123b0f2a6fa02a9191a87f2484cb27fd4220b15126fd010acbf4b954a9afb68.json b/rust/cloud-storage/.sqlx/query-4123b0f2a6fa02a9191a87f2484cb27fd4220b15126fd010acbf4b954a9afb68.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-4123b0f2a6fa02a9191a87f2484cb27fd4220b15126fd010acbf4b954a9afb68.json
rename to rust/cloud-storage/.sqlx/query-4123b0f2a6fa02a9191a87f2484cb27fd4220b15126fd010acbf4b954a9afb68.json
diff --git a/rust/cloud-storage/call/.sqlx/query-414c3ac70d95caaaf4c7fdb0556c287e3755f19187f07ec05d4ce0c60a5df751.json b/rust/cloud-storage/.sqlx/query-414c3ac70d95caaaf4c7fdb0556c287e3755f19187f07ec05d4ce0c60a5df751.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-414c3ac70d95caaaf4c7fdb0556c287e3755f19187f07ec05d4ce0c60a5df751.json
rename to rust/cloud-storage/.sqlx/query-414c3ac70d95caaaf4c7fdb0556c287e3755f19187f07ec05d4ce0c60a5df751.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json b/rust/cloud-storage/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json
rename to rust/cloud-storage/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json b/rust/cloud-storage/.sqlx/query-418d7b5ab3d820694166d0a3e3b17b9fc9b9bc8e769d50fddf4c06f09e855b9b.json
similarity index 67%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json
rename to rust/cloud-storage/.sqlx/query-418d7b5ab3d820694166d0a3e3b17b9fc9b9bc8e769d50fddf4c06f09e855b9b.json
index f7464854d5..b583f8d531 100644
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json
+++ b/rust/cloud-storage/.sqlx/query-418d7b5ab3d820694166d0a3e3b17b9fc9b9bc8e769d50fddf4c06f09e855b9b.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n DELETE FROM team_invite\n WHERE id = $1\n ",
+ "query": "\n DELETE FROM team_invite\n WHERE id = $1\n ",
"describe": {
"columns": [],
"parameters": {
@@ -10,5 +10,5 @@
},
"nullable": []
},
- "hash": "e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac"
+ "hash": "418d7b5ab3d820694166d0a3e3b17b9fc9b9bc8e769d50fddf4c06f09e855b9b"
}
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-41de07226ced9b95c7419c9e6d5d9bd9c5890cf1c144f0f8905664cd72c7f132.json b/rust/cloud-storage/.sqlx/query-41de07226ced9b95c7419c9e6d5d9bd9c5890cf1c144f0f8905664cd72c7f132.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-41de07226ced9b95c7419c9e6d5d9bd9c5890cf1c144f0f8905664cd72c7f132.json
rename to rust/cloud-storage/.sqlx/query-41de07226ced9b95c7419c9e6d5d9bd9c5890cf1c144f0f8905664cd72c7f132.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-41ef28446ebbd766c0778fd56fb8ee8094c2cb84ed3f4dab9e890d441611722b.json b/rust/cloud-storage/.sqlx/query-41ef28446ebbd766c0778fd56fb8ee8094c2cb84ed3f4dab9e890d441611722b.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-41ef28446ebbd766c0778fd56fb8ee8094c2cb84ed3f4dab9e890d441611722b.json
rename to rust/cloud-storage/.sqlx/query-41ef28446ebbd766c0778fd56fb8ee8094c2cb84ed3f4dab9e890d441611722b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-41f77dad73c881816d91df173411d39329574a7a99ae1d295fcd43afa5963408.json b/rust/cloud-storage/.sqlx/query-41f77dad73c881816d91df173411d39329574a7a99ae1d295fcd43afa5963408.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-41f77dad73c881816d91df173411d39329574a7a99ae1d295fcd43afa5963408.json
rename to rust/cloud-storage/.sqlx/query-41f77dad73c881816d91df173411d39329574a7a99ae1d295fcd43afa5963408.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json b/rust/cloud-storage/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json
rename to rust/cloud-storage/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json
diff --git a/rust/cloud-storage/call/.sqlx/query-4264fcdaec0d80ff28c8ff6e2443f685b084283f4fb1cc683330b7c7875ca312.json b/rust/cloud-storage/.sqlx/query-4264fcdaec0d80ff28c8ff6e2443f685b084283f4fb1cc683330b7c7875ca312.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-4264fcdaec0d80ff28c8ff6e2443f685b084283f4fb1cc683330b7c7875ca312.json
rename to rust/cloud-storage/.sqlx/query-4264fcdaec0d80ff28c8ff6e2443f685b084283f4fb1cc683330b7c7875ca312.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json b/rust/cloud-storage/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json
rename to rust/cloud-storage/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-42e46f8f1c2cbf80383f65dd19d4efa3ae9c2697363d56278789de68b2295366.json b/rust/cloud-storage/.sqlx/query-42e46f8f1c2cbf80383f65dd19d4efa3ae9c2697363d56278789de68b2295366.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-42e46f8f1c2cbf80383f65dd19d4efa3ae9c2697363d56278789de68b2295366.json
rename to rust/cloud-storage/.sqlx/query-42e46f8f1c2cbf80383f65dd19d4efa3ae9c2697363d56278789de68b2295366.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json b/rust/cloud-storage/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json
rename to rust/cloud-storage/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4335b5e8988b8d37dba886ecb9a1c06701a3d1f26a605fae745a70c264a9971a.json b/rust/cloud-storage/.sqlx/query-4335b5e8988b8d37dba886ecb9a1c06701a3d1f26a605fae745a70c264a9971a.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-4335b5e8988b8d37dba886ecb9a1c06701a3d1f26a605fae745a70c264a9971a.json
rename to rust/cloud-storage/.sqlx/query-4335b5e8988b8d37dba886ecb9a1c06701a3d1f26a605fae745a70c264a9971a.json
diff --git a/rust/cloud-storage/call/.sqlx/query-444840cacdf181727100b5ee338de844abb56d9cb3a88034db7b285fcff7e9b7.json b/rust/cloud-storage/.sqlx/query-444840cacdf181727100b5ee338de844abb56d9cb3a88034db7b285fcff7e9b7.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-444840cacdf181727100b5ee338de844abb56d9cb3a88034db7b285fcff7e9b7.json
rename to rust/cloud-storage/.sqlx/query-444840cacdf181727100b5ee338de844abb56d9cb3a88034db7b285fcff7e9b7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json b/rust/cloud-storage/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json
rename to rust/cloud-storage/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json
diff --git a/rust/cloud-storage/email/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json b/rust/cloud-storage/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json
rename to rust/cloud-storage/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json b/rust/cloud-storage/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json
rename to rust/cloud-storage/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json b/rust/cloud-storage/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json
rename to rust/cloud-storage/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json
diff --git a/rust/cloud-storage/call/.sqlx/query-44cc40d5175302af5445a34d4add1e7dc2d0cea3efa5b87c16cb2416b43fc098.json b/rust/cloud-storage/.sqlx/query-44cc40d5175302af5445a34d4add1e7dc2d0cea3efa5b87c16cb2416b43fc098.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-44cc40d5175302af5445a34d4add1e7dc2d0cea3efa5b87c16cb2416b43fc098.json
rename to rust/cloud-storage/.sqlx/query-44cc40d5175302af5445a34d4add1e7dc2d0cea3efa5b87c16cb2416b43fc098.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json b/rust/cloud-storage/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json
rename to rust/cloud-storage/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json b/rust/cloud-storage/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json
rename to rust/cloud-storage/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4511579c08d1a9b52afd1279a058c1a7fd6ded6c7e73a7a2dea50fd492d5e88b.json b/rust/cloud-storage/.sqlx/query-4511579c08d1a9b52afd1279a058c1a7fd6ded6c7e73a7a2dea50fd492d5e88b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4511579c08d1a9b52afd1279a058c1a7fd6ded6c7e73a7a2dea50fd492d5e88b.json
rename to rust/cloud-storage/.sqlx/query-4511579c08d1a9b52afd1279a058c1a7fd6ded6c7e73a7a2dea50fd492d5e88b.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-45267fb7a6016603a87fca1f2314d86540a99362db746fa2a04a2369bac18095.json b/rust/cloud-storage/.sqlx/query-45267fb7a6016603a87fca1f2314d86540a99362db746fa2a04a2369bac18095.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-45267fb7a6016603a87fca1f2314d86540a99362db746fa2a04a2369bac18095.json
rename to rust/cloud-storage/.sqlx/query-45267fb7a6016603a87fca1f2314d86540a99362db746fa2a04a2369bac18095.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json b/rust/cloud-storage/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json
rename to rust/cloud-storage/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json
diff --git a/rust/cloud-storage/email/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json b/rust/cloud-storage/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json
rename to rust/cloud-storage/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-45ac2a692bf3676d053ca1905fe8586ff1dd139822d3cbde8e125add5575194a.json b/rust/cloud-storage/.sqlx/query-45ac2a692bf3676d053ca1905fe8586ff1dd139822d3cbde8e125add5575194a.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-45ac2a692bf3676d053ca1905fe8586ff1dd139822d3cbde8e125add5575194a.json
rename to rust/cloud-storage/.sqlx/query-45ac2a692bf3676d053ca1905fe8586ff1dd139822d3cbde8e125add5575194a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-460e4c3dcd4adba352eb7c00381bac9d3c4b8b107dd02fd35ec991e848919eed.json b/rust/cloud-storage/.sqlx/query-460e4c3dcd4adba352eb7c00381bac9d3c4b8b107dd02fd35ec991e848919eed.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-460e4c3dcd4adba352eb7c00381bac9d3c4b8b107dd02fd35ec991e848919eed.json
rename to rust/cloud-storage/.sqlx/query-460e4c3dcd4adba352eb7c00381bac9d3c4b8b107dd02fd35ec991e848919eed.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-4656631949bab512d00e10664be31128b89c8047812362331ded6b6e0a12e1ac.json b/rust/cloud-storage/.sqlx/query-4656631949bab512d00e10664be31128b89c8047812362331ded6b6e0a12e1ac.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-4656631949bab512d00e10664be31128b89c8047812362331ded6b6e0a12e1ac.json
rename to rust/cloud-storage/.sqlx/query-4656631949bab512d00e10664be31128b89c8047812362331ded6b6e0a12e1ac.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json b/rust/cloud-storage/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json
rename to rust/cloud-storage/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-46ffaa1a906d49a47c765c9c03d89e50037adc4b72c364bdb4282ab0c8cf1237.json b/rust/cloud-storage/.sqlx/query-46ffaa1a906d49a47c765c9c03d89e50037adc4b72c364bdb4282ab0c8cf1237.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-46ffaa1a906d49a47c765c9c03d89e50037adc4b72c364bdb4282ab0c8cf1237.json
rename to rust/cloud-storage/.sqlx/query-46ffaa1a906d49a47c765c9c03d89e50037adc4b72c364bdb4282ab0c8cf1237.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-473db34286d4aeefece0b6a97cea69cad83d20908c700d750a4047ce5bee30f4.json b/rust/cloud-storage/.sqlx/query-473db34286d4aeefece0b6a97cea69cad83d20908c700d750a4047ce5bee30f4.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-473db34286d4aeefece0b6a97cea69cad83d20908c700d750a4047ce5bee30f4.json
rename to rust/cloud-storage/.sqlx/query-473db34286d4aeefece0b6a97cea69cad83d20908c700d750a4047ce5bee30f4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json b/rust/cloud-storage/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json
rename to rust/cloud-storage/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json b/rust/cloud-storage/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json
rename to rust/cloud-storage/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json b/rust/cloud-storage/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json
rename to rust/cloud-storage/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json b/rust/cloud-storage/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json
rename to rust/cloud-storage/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json b/rust/cloud-storage/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json
rename to rust/cloud-storage/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json b/rust/cloud-storage/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json
rename to rust/cloud-storage/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4857541516ce135939f34754fde00c114cdf9ed7f203553020cf032732892e80.json b/rust/cloud-storage/.sqlx/query-4857541516ce135939f34754fde00c114cdf9ed7f203553020cf032732892e80.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4857541516ce135939f34754fde00c114cdf9ed7f203553020cf032732892e80.json
rename to rust/cloud-storage/.sqlx/query-4857541516ce135939f34754fde00c114cdf9ed7f203553020cf032732892e80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json b/rust/cloud-storage/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
rename to rust/cloud-storage/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json b/rust/cloud-storage/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json
rename to rust/cloud-storage/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json
diff --git a/rust/cloud-storage/email/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json b/rust/cloud-storage/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json
rename to rust/cloud-storage/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-49044852c3fc5c0183d7253e27ec923e43d1d9abcfa5ad3fd714ce35c3c0e3f0.json b/rust/cloud-storage/.sqlx/query-49044852c3fc5c0183d7253e27ec923e43d1d9abcfa5ad3fd714ce35c3c0e3f0.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-49044852c3fc5c0183d7253e27ec923e43d1d9abcfa5ad3fd714ce35c3c0e3f0.json
rename to rust/cloud-storage/.sqlx/query-49044852c3fc5c0183d7253e27ec923e43d1d9abcfa5ad3fd714ce35c3c0e3f0.json
diff --git a/rust/cloud-storage/call/.sqlx/query-49400f2746959327b8cc5acbb374d0073864a1b684752aa2c442ca873fa969d4.json b/rust/cloud-storage/.sqlx/query-49400f2746959327b8cc5acbb374d0073864a1b684752aa2c442ca873fa969d4.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-49400f2746959327b8cc5acbb374d0073864a1b684752aa2c442ca873fa969d4.json
rename to rust/cloud-storage/.sqlx/query-49400f2746959327b8cc5acbb374d0073864a1b684752aa2c442ca873fa969d4.json
diff --git a/rust/cloud-storage/github/.sqlx/query-4942eda5f2d8832fc43c02a17aae1ec8ed06a16fc14ae6d4046eb75bc427fb69.json b/rust/cloud-storage/.sqlx/query-4942eda5f2d8832fc43c02a17aae1ec8ed06a16fc14ae6d4046eb75bc427fb69.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-4942eda5f2d8832fc43c02a17aae1ec8ed06a16fc14ae6d4046eb75bc427fb69.json
rename to rust/cloud-storage/.sqlx/query-4942eda5f2d8832fc43c02a17aae1ec8ed06a16fc14ae6d4046eb75bc427fb69.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-49b6375ff01eeccbeecacee87258d2b4c354daa345b9c838adc1fadbc6a1cbb5.json b/rust/cloud-storage/.sqlx/query-49b6375ff01eeccbeecacee87258d2b4c354daa345b9c838adc1fadbc6a1cbb5.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-49b6375ff01eeccbeecacee87258d2b4c354daa345b9c838adc1fadbc6a1cbb5.json
rename to rust/cloud-storage/.sqlx/query-49b6375ff01eeccbeecacee87258d2b4c354daa345b9c838adc1fadbc6a1cbb5.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-49cbada51408e2501723f7a1de4e170efcab0fcd922e2c5a79772256c1e51baa.json b/rust/cloud-storage/.sqlx/query-49cbada51408e2501723f7a1de4e170efcab0fcd922e2c5a79772256c1e51baa.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-49cbada51408e2501723f7a1de4e170efcab0fcd922e2c5a79772256c1e51baa.json
rename to rust/cloud-storage/.sqlx/query-49cbada51408e2501723f7a1de4e170efcab0fcd922e2c5a79772256c1e51baa.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json b/rust/cloud-storage/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json
rename to rust/cloud-storage/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-4a158c278c77c87d5394e9cf1166ceff6eead17cf856cf45a6a49896626b6bdf.json b/rust/cloud-storage/.sqlx/query-4a158c278c77c87d5394e9cf1166ceff6eead17cf856cf45a6a49896626b6bdf.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-4a158c278c77c87d5394e9cf1166ceff6eead17cf856cf45a6a49896626b6bdf.json
rename to rust/cloud-storage/.sqlx/query-4a158c278c77c87d5394e9cf1166ceff6eead17cf856cf45a6a49896626b6bdf.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4aeb58db6713bcb7ba53c394a0cde88693c45f2184b1d9553a9baa36cbef6380.json b/rust/cloud-storage/.sqlx/query-4aeb58db6713bcb7ba53c394a0cde88693c45f2184b1d9553a9baa36cbef6380.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4aeb58db6713bcb7ba53c394a0cde88693c45f2184b1d9553a9baa36cbef6380.json
rename to rust/cloud-storage/.sqlx/query-4aeb58db6713bcb7ba53c394a0cde88693c45f2184b1d9553a9baa36cbef6380.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-4aff42ef43f7b7ef454cc331d2e96f3fc28bd7c823b9eb181eb0c9fba7635c37.json b/rust/cloud-storage/.sqlx/query-4aff42ef43f7b7ef454cc331d2e96f3fc28bd7c823b9eb181eb0c9fba7635c37.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-4aff42ef43f7b7ef454cc331d2e96f3fc28bd7c823b9eb181eb0c9fba7635c37.json
rename to rust/cloud-storage/.sqlx/query-4aff42ef43f7b7ef454cc331d2e96f3fc28bd7c823b9eb181eb0c9fba7635c37.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json b/rust/cloud-storage/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json
rename to rust/cloud-storage/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json
diff --git a/rust/cloud-storage/email/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json b/rust/cloud-storage/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json
rename to rust/cloud-storage/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json b/rust/cloud-storage/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json
rename to rust/cloud-storage/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json b/rust/cloud-storage/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json
rename to rust/cloud-storage/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json b/rust/cloud-storage/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json
rename to rust/cloud-storage/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json b/rust/cloud-storage/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json
rename to rust/cloud-storage/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json
diff --git a/rust/cloud-storage/github/.sqlx/query-4c8f1c99fe7ca583e05b4ef8aba08d4fdf58135dc3e99ed73381a29f94b8a270.json b/rust/cloud-storage/.sqlx/query-4c8f1c99fe7ca583e05b4ef8aba08d4fdf58135dc3e99ed73381a29f94b8a270.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-4c8f1c99fe7ca583e05b4ef8aba08d4fdf58135dc3e99ed73381a29f94b8a270.json
rename to rust/cloud-storage/.sqlx/query-4c8f1c99fe7ca583e05b4ef8aba08d4fdf58135dc3e99ed73381a29f94b8a270.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json b/rust/cloud-storage/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json
rename to rust/cloud-storage/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json
diff --git a/rust/cloud-storage/email/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json b/rust/cloud-storage/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json
rename to rust/cloud-storage/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json b/rust/cloud-storage/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json
rename to rust/cloud-storage/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4d82dec72e255478981441dc566b2fc4fc9f5d61726741284b1301af69517705.json b/rust/cloud-storage/.sqlx/query-4d82dec72e255478981441dc566b2fc4fc9f5d61726741284b1301af69517705.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4d82dec72e255478981441dc566b2fc4fc9f5d61726741284b1301af69517705.json
rename to rust/cloud-storage/.sqlx/query-4d82dec72e255478981441dc566b2fc4fc9f5d61726741284b1301af69517705.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4dd84a2e543e14d4ed1655a0895eab7815948fcad38c5ce05925ebc4a5ebea69.json b/rust/cloud-storage/.sqlx/query-4dd84a2e543e14d4ed1655a0895eab7815948fcad38c5ce05925ebc4a5ebea69.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4dd84a2e543e14d4ed1655a0895eab7815948fcad38c5ce05925ebc4a5ebea69.json
rename to rust/cloud-storage/.sqlx/query-4dd84a2e543e14d4ed1655a0895eab7815948fcad38c5ce05925ebc4a5ebea69.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json b/rust/cloud-storage/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
rename to rust/cloud-storage/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-4e188b522b313eaf51caac616fe177abfe97c6ce6291ba8f83148ba02eaead73.json b/rust/cloud-storage/.sqlx/query-4e188b522b313eaf51caac616fe177abfe97c6ce6291ba8f83148ba02eaead73.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-4e188b522b313eaf51caac616fe177abfe97c6ce6291ba8f83148ba02eaead73.json
rename to rust/cloud-storage/.sqlx/query-4e188b522b313eaf51caac616fe177abfe97c6ce6291ba8f83148ba02eaead73.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json b/rust/cloud-storage/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json
rename to rust/cloud-storage/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json b/rust/cloud-storage/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json
rename to rust/cloud-storage/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json b/rust/cloud-storage/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json
rename to rust/cloud-storage/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-4eef29ad204776f70531f685f709f4e18f2b4f992d73ad2b608b77869a7856a9.json b/rust/cloud-storage/.sqlx/query-4eef29ad204776f70531f685f709f4e18f2b4f992d73ad2b608b77869a7856a9.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-4eef29ad204776f70531f685f709f4e18f2b4f992d73ad2b608b77869a7856a9.json
rename to rust/cloud-storage/.sqlx/query-4eef29ad204776f70531f685f709f4e18f2b4f992d73ad2b608b77869a7856a9.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-4f26a2f6044225dd1019390579a3652eafdf1db2ae15212335ebd5ecbb3b4ebe.json b/rust/cloud-storage/.sqlx/query-4f26a2f6044225dd1019390579a3652eafdf1db2ae15212335ebd5ecbb3b4ebe.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-4f26a2f6044225dd1019390579a3652eafdf1db2ae15212335ebd5ecbb3b4ebe.json
rename to rust/cloud-storage/.sqlx/query-4f26a2f6044225dd1019390579a3652eafdf1db2ae15212335ebd5ecbb3b4ebe.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4fba8b3d9705b745d4e20a4da319ad7cdfe99f883f0e27a402545ce0b3557ed1.json b/rust/cloud-storage/.sqlx/query-4fba8b3d9705b745d4e20a4da319ad7cdfe99f883f0e27a402545ce0b3557ed1.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4fba8b3d9705b745d4e20a4da319ad7cdfe99f883f0e27a402545ce0b3557ed1.json
rename to rust/cloud-storage/.sqlx/query-4fba8b3d9705b745d4e20a4da319ad7cdfe99f883f0e27a402545ce0b3557ed1.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-4fd61bd738465d867065c6cf22fd4c322073f31bf3123cf8504bac3ac225191b.json b/rust/cloud-storage/.sqlx/query-4fd61bd738465d867065c6cf22fd4c322073f31bf3123cf8504bac3ac225191b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-4fd61bd738465d867065c6cf22fd4c322073f31bf3123cf8504bac3ac225191b.json
rename to rust/cloud-storage/.sqlx/query-4fd61bd738465d867065c6cf22fd4c322073f31bf3123cf8504bac3ac225191b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json b/rust/cloud-storage/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json
rename to rust/cloud-storage/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json b/rust/cloud-storage/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json
rename to rust/cloud-storage/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-500f0b56eb070f7bb2a4ea9a95337f7074464d19fc6646401072914709be353e.json b/rust/cloud-storage/.sqlx/query-500f0b56eb070f7bb2a4ea9a95337f7074464d19fc6646401072914709be353e.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-500f0b56eb070f7bb2a4ea9a95337f7074464d19fc6646401072914709be353e.json
rename to rust/cloud-storage/.sqlx/query-500f0b56eb070f7bb2a4ea9a95337f7074464d19fc6646401072914709be353e.json
diff --git a/rust/cloud-storage/email/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json b/rust/cloud-storage/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json
rename to rust/cloud-storage/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json b/rust/cloud-storage/.sqlx/query-50332c40ef917c839c4539f12419035115d61a4c9e8146a894e41db59b0f0daa.json
similarity index 51%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json
rename to rust/cloud-storage/.sqlx/query-50332c40ef917c839c4539f12419035115d61a4c9e8146a894e41db59b0f0daa.json
index c6c06891e2..76d5ad2fda 100644
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json
+++ b/rust/cloud-storage/.sqlx/query-50332c40ef917c839c4539f12419035115d61a4c9e8146a894e41db59b0f0daa.json
@@ -1,12 +1,23 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT\n user_id,\n team_id,\n team_role as \"team_role!: TeamRole\"\n FROM team_user\n WHERE team_id = $1\n ",
+ "query": "\n SELECT team_role as \"team_role!: TeamRole\", team_id, tier as \"tier!: TeamUserTier\"\n FROM team_invite\n WHERE id = $1 AND email = $2\n ",
"describe": {
"columns": [
{
"ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
+ "name": "team_role!: TeamRole",
+ "type_info": {
+ "Custom": {
+ "name": "team_role",
+ "kind": {
+ "Enum": [
+ "member",
+ "admin",
+ "owner"
+ ]
+ }
+ }
+ }
},
{
"ordinal": 1,
@@ -15,15 +26,15 @@
},
{
"ordinal": 2,
- "name": "team_role!: TeamRole",
+ "name": "tier!: TeamUserTier",
"type_info": {
"Custom": {
- "name": "team_role",
+ "name": "team_user_tier",
"kind": {
"Enum": [
- "member",
- "admin",
- "owner"
+ "haiku",
+ "sonnet",
+ "opus"
]
}
}
@@ -32,7 +43,8 @@
],
"parameters": {
"Left": [
- "Uuid"
+ "Uuid",
+ "Text"
]
},
"nullable": [
@@ -41,5 +53,5 @@
false
]
},
- "hash": "6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654"
+ "hash": "50332c40ef917c839c4539f12419035115d61a4c9e8146a894e41db59b0f0daa"
}
diff --git a/rust/cloud-storage/chat/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json b/rust/cloud-storage/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
rename to rust/cloud-storage/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json b/rust/cloud-storage/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json
rename to rust/cloud-storage/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json b/rust/cloud-storage/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json
rename to rust/cloud-storage/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json b/rust/cloud-storage/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json
rename to rust/cloud-storage/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-518eb6a40898a1d2037db11af3e2cfa426a24d03d78ddea8c6c837143bb1d6bf.json b/rust/cloud-storage/.sqlx/query-518eb6a40898a1d2037db11af3e2cfa426a24d03d78ddea8c6c837143bb1d6bf.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-518eb6a40898a1d2037db11af3e2cfa426a24d03d78ddea8c6c837143bb1d6bf.json
rename to rust/cloud-storage/.sqlx/query-518eb6a40898a1d2037db11af3e2cfa426a24d03d78ddea8c6c837143bb1d6bf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json b/rust/cloud-storage/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json
rename to rust/cloud-storage/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json b/rust/cloud-storage/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json
rename to rust/cloud-storage/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-5293063d6203fdce622e3265581cb505e07534de33d0275ed860aea9f6614fc7.json b/rust/cloud-storage/.sqlx/query-5293063d6203fdce622e3265581cb505e07534de33d0275ed860aea9f6614fc7.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-5293063d6203fdce622e3265581cb505e07534de33d0275ed860aea9f6614fc7.json
rename to rust/cloud-storage/.sqlx/query-5293063d6203fdce622e3265581cb505e07534de33d0275ed860aea9f6614fc7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json b/rust/cloud-storage/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json
rename to rust/cloud-storage/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json b/rust/cloud-storage/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json
rename to rust/cloud-storage/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-530dbf9753f99470bd1928f17721031cd3fcee89685f44afc0d0305ec6231093.json b/rust/cloud-storage/.sqlx/query-530dbf9753f99470bd1928f17721031cd3fcee89685f44afc0d0305ec6231093.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-530dbf9753f99470bd1928f17721031cd3fcee89685f44afc0d0305ec6231093.json
rename to rust/cloud-storage/.sqlx/query-530dbf9753f99470bd1928f17721031cd3fcee89685f44afc0d0305ec6231093.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json b/rust/cloud-storage/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json
rename to rust/cloud-storage/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json b/rust/cloud-storage/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json
rename to rust/cloud-storage/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-54155d1cfe6997b0dfe33cf72d9f3e2a1bf3af9a8fb1487fd32fb3f833641046.json b/rust/cloud-storage/.sqlx/query-54155d1cfe6997b0dfe33cf72d9f3e2a1bf3af9a8fb1487fd32fb3f833641046.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-54155d1cfe6997b0dfe33cf72d9f3e2a1bf3af9a8fb1487fd32fb3f833641046.json
rename to rust/cloud-storage/.sqlx/query-54155d1cfe6997b0dfe33cf72d9f3e2a1bf3af9a8fb1487fd32fb3f833641046.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-541d038f1693e63ee6d4626f58580bca194989d88fd991abe2efd2c66d5a5e8e.json b/rust/cloud-storage/.sqlx/query-541d038f1693e63ee6d4626f58580bca194989d88fd991abe2efd2c66d5a5e8e.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-541d038f1693e63ee6d4626f58580bca194989d88fd991abe2efd2c66d5a5e8e.json
rename to rust/cloud-storage/.sqlx/query-541d038f1693e63ee6d4626f58580bca194989d88fd991abe2efd2c66d5a5e8e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json b/rust/cloud-storage/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json
rename to rust/cloud-storage/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json b/rust/cloud-storage/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json
rename to rust/cloud-storage/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json b/rust/cloud-storage/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json
rename to rust/cloud-storage/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json b/rust/cloud-storage/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json
rename to rust/cloud-storage/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json b/rust/cloud-storage/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json
rename to rust/cloud-storage/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json b/rust/cloud-storage/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json
rename to rust/cloud-storage/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json b/rust/cloud-storage/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json
rename to rust/cloud-storage/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json b/rust/cloud-storage/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json
rename to rust/cloud-storage/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json b/rust/cloud-storage/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json
rename to rust/cloud-storage/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-587ab2cbf540d6f98236ca8cc3c098a0efa439c0ccefa93c46971a0f2fe7efcf.json b/rust/cloud-storage/.sqlx/query-587ab2cbf540d6f98236ca8cc3c098a0efa439c0ccefa93c46971a0f2fe7efcf.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-587ab2cbf540d6f98236ca8cc3c098a0efa439c0ccefa93c46971a0f2fe7efcf.json
rename to rust/cloud-storage/.sqlx/query-587ab2cbf540d6f98236ca8cc3c098a0efa439c0ccefa93c46971a0f2fe7efcf.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json b/rust/cloud-storage/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json
rename to rust/cloud-storage/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json
diff --git a/rust/cloud-storage/email/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json b/rust/cloud-storage/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json
rename to rust/cloud-storage/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json b/rust/cloud-storage/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json
rename to rust/cloud-storage/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json b/rust/cloud-storage/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json
rename to rust/cloud-storage/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json b/rust/cloud-storage/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json
rename to rust/cloud-storage/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json b/rust/cloud-storage/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
rename to rust/cloud-storage/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
diff --git a/rust/cloud-storage/github/.sqlx/query-594849eb57f03099052b5415a963968dd31da940638917a96ab12dfc5a98bfa4.json b/rust/cloud-storage/.sqlx/query-594849eb57f03099052b5415a963968dd31da940638917a96ab12dfc5a98bfa4.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-594849eb57f03099052b5415a963968dd31da940638917a96ab12dfc5a98bfa4.json
rename to rust/cloud-storage/.sqlx/query-594849eb57f03099052b5415a963968dd31da940638917a96ab12dfc5a98bfa4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json b/rust/cloud-storage/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json
rename to rust/cloud-storage/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json
diff --git a/rust/cloud-storage/email/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json b/rust/cloud-storage/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json
rename to rust/cloud-storage/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json b/rust/cloud-storage/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json
rename to rust/cloud-storage/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-5a175ba3589c494d31510ec831a37d0febf04a956ff09e0a57665211118e876a.json b/rust/cloud-storage/.sqlx/query-5a175ba3589c494d31510ec831a37d0febf04a956ff09e0a57665211118e876a.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-5a175ba3589c494d31510ec831a37d0febf04a956ff09e0a57665211118e876a.json
rename to rust/cloud-storage/.sqlx/query-5a175ba3589c494d31510ec831a37d0febf04a956ff09e0a57665211118e876a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-5a45cbeeb6fa756b256688f6c4e05be4abae89c4eb3c5532a96b91f3d07e232f.json b/rust/cloud-storage/.sqlx/query-5a45cbeeb6fa756b256688f6c4e05be4abae89c4eb3c5532a96b91f3d07e232f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-5a45cbeeb6fa756b256688f6c4e05be4abae89c4eb3c5532a96b91f3d07e232f.json
rename to rust/cloud-storage/.sqlx/query-5a45cbeeb6fa756b256688f6c4e05be4abae89c4eb3c5532a96b91f3d07e232f.json
diff --git a/rust/cloud-storage/entity_access_management/.sqlx/query-5b17a30f841372cce9989af409baf993e24bfe90d3a3553f6851b3e92c8540eb.json b/rust/cloud-storage/.sqlx/query-5b17a30f841372cce9989af409baf993e24bfe90d3a3553f6851b3e92c8540eb.json
similarity index 100%
rename from rust/cloud-storage/entity_access_management/.sqlx/query-5b17a30f841372cce9989af409baf993e24bfe90d3a3553f6851b3e92c8540eb.json
rename to rust/cloud-storage/.sqlx/query-5b17a30f841372cce9989af409baf993e24bfe90d3a3553f6851b3e92c8540eb.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-5b5a3e0954cb8130b507b73e771624fa3af4166de80e72dbcae524f63af9ae2e.json b/rust/cloud-storage/.sqlx/query-5b5a3e0954cb8130b507b73e771624fa3af4166de80e72dbcae524f63af9ae2e.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-5b5a3e0954cb8130b507b73e771624fa3af4166de80e72dbcae524f63af9ae2e.json
rename to rust/cloud-storage/.sqlx/query-5b5a3e0954cb8130b507b73e771624fa3af4166de80e72dbcae524f63af9ae2e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json b/rust/cloud-storage/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json
rename to rust/cloud-storage/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-5bb9c628efd6afd6b7858e11b0f470fdaf0bbd407265fabd04e1201cd3754809.json b/rust/cloud-storage/.sqlx/query-5bb9c628efd6afd6b7858e11b0f470fdaf0bbd407265fabd04e1201cd3754809.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-5bb9c628efd6afd6b7858e11b0f470fdaf0bbd407265fabd04e1201cd3754809.json
rename to rust/cloud-storage/.sqlx/query-5bb9c628efd6afd6b7858e11b0f470fdaf0bbd407265fabd04e1201cd3754809.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json b/rust/cloud-storage/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json
rename to rust/cloud-storage/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json b/rust/cloud-storage/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json
rename to rust/cloud-storage/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json b/rust/cloud-storage/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json
rename to rust/cloud-storage/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json b/rust/cloud-storage/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json
rename to rust/cloud-storage/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json
diff --git a/rust/cloud-storage/call/.sqlx/query-5d7c176f88f6883ffdd41a43969a101f26817ebd80c68dbeffe7c3226ab67a41.json b/rust/cloud-storage/.sqlx/query-5d7c176f88f6883ffdd41a43969a101f26817ebd80c68dbeffe7c3226ab67a41.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-5d7c176f88f6883ffdd41a43969a101f26817ebd80c68dbeffe7c3226ab67a41.json
rename to rust/cloud-storage/.sqlx/query-5d7c176f88f6883ffdd41a43969a101f26817ebd80c68dbeffe7c3226ab67a41.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json b/rust/cloud-storage/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json
rename to rust/cloud-storage/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json
diff --git a/rust/cloud-storage/email/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json b/rust/cloud-storage/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
rename to rust/cloud-storage/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-5e4e9cc4a9c2a48dcd4e3988d5dbe7b95b9ceab66d44b0a0158ae65aedd79d02.json b/rust/cloud-storage/.sqlx/query-5e4e9cc4a9c2a48dcd4e3988d5dbe7b95b9ceab66d44b0a0158ae65aedd79d02.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-5e4e9cc4a9c2a48dcd4e3988d5dbe7b95b9ceab66d44b0a0158ae65aedd79d02.json
rename to rust/cloud-storage/.sqlx/query-5e4e9cc4a9c2a48dcd4e3988d5dbe7b95b9ceab66d44b0a0158ae65aedd79d02.json
diff --git a/rust/cloud-storage/sha_cleanup_worker/.sqlx/query-5e5f447067de6cef4513c80eae341ba63241b13c30a3413e83f0206497a5591a.json b/rust/cloud-storage/.sqlx/query-5e5f447067de6cef4513c80eae341ba63241b13c30a3413e83f0206497a5591a.json
similarity index 100%
rename from rust/cloud-storage/sha_cleanup_worker/.sqlx/query-5e5f447067de6cef4513c80eae341ba63241b13c30a3413e83f0206497a5591a.json
rename to rust/cloud-storage/.sqlx/query-5e5f447067de6cef4513c80eae341ba63241b13c30a3413e83f0206497a5591a.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-5eabbc475e918d8ff312b3c8a4197f5cbc314f1462ba6368aa297ff3758f5e61.json b/rust/cloud-storage/.sqlx/query-5eabbc475e918d8ff312b3c8a4197f5cbc314f1462ba6368aa297ff3758f5e61.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-5eabbc475e918d8ff312b3c8a4197f5cbc314f1462ba6368aa297ff3758f5e61.json
rename to rust/cloud-storage/.sqlx/query-5eabbc475e918d8ff312b3c8a4197f5cbc314f1462ba6368aa297ff3758f5e61.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-5ec52bf99ec6fbfa8759ae070b48113cdb5f9a4526c72be1fcce6b3bb2e88d2a.json b/rust/cloud-storage/.sqlx/query-5ec52bf99ec6fbfa8759ae070b48113cdb5f9a4526c72be1fcce6b3bb2e88d2a.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-5ec52bf99ec6fbfa8759ae070b48113cdb5f9a4526c72be1fcce6b3bb2e88d2a.json
rename to rust/cloud-storage/.sqlx/query-5ec52bf99ec6fbfa8759ae070b48113cdb5f9a4526c72be1fcce6b3bb2e88d2a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-5ee7a600e71709918f23db0066f39b2a7a87880e5a9c6aa565ac85e0efdde85d.json b/rust/cloud-storage/.sqlx/query-5ee7a600e71709918f23db0066f39b2a7a87880e5a9c6aa565ac85e0efdde85d.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-5ee7a600e71709918f23db0066f39b2a7a87880e5a9c6aa565ac85e0efdde85d.json
rename to rust/cloud-storage/.sqlx/query-5ee7a600e71709918f23db0066f39b2a7a87880e5a9c6aa565ac85e0efdde85d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json b/rust/cloud-storage/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json
rename to rust/cloud-storage/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json
diff --git a/rust/cloud-storage/call/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json b/rust/cloud-storage/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
rename to rust/cloud-storage/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json b/rust/cloud-storage/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json
rename to rust/cloud-storage/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-5f9f23e45c696db3baa3b172efb66ba931aeb9036344782bd4a5e277df2c7ce2.json b/rust/cloud-storage/.sqlx/query-5f9f23e45c696db3baa3b172efb66ba931aeb9036344782bd4a5e277df2c7ce2.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-5f9f23e45c696db3baa3b172efb66ba931aeb9036344782bd4a5e277df2c7ce2.json
rename to rust/cloud-storage/.sqlx/query-5f9f23e45c696db3baa3b172efb66ba931aeb9036344782bd4a5e277df2c7ce2.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json b/rust/cloud-storage/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json
rename to rust/cloud-storage/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-5fd1abfdae31c22ce5c71a9c3e9607566b99dbd819d7bca5a88e62fac00098d4.json b/rust/cloud-storage/.sqlx/query-5fd1abfdae31c22ce5c71a9c3e9607566b99dbd819d7bca5a88e62fac00098d4.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-5fd1abfdae31c22ce5c71a9c3e9607566b99dbd819d7bca5a88e62fac00098d4.json
rename to rust/cloud-storage/.sqlx/query-5fd1abfdae31c22ce5c71a9c3e9607566b99dbd819d7bca5a88e62fac00098d4.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-5ffee439386fd24fee2bfa20caa76b882f5be1d44a2a06a71783418fc5ef381b.json b/rust/cloud-storage/.sqlx/query-5ffee439386fd24fee2bfa20caa76b882f5be1d44a2a06a71783418fc5ef381b.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-5ffee439386fd24fee2bfa20caa76b882f5be1d44a2a06a71783418fc5ef381b.json
rename to rust/cloud-storage/.sqlx/query-5ffee439386fd24fee2bfa20caa76b882f5be1d44a2a06a71783418fc5ef381b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json b/rust/cloud-storage/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json
rename to rust/cloud-storage/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-60d9e2a257fd628f345cb615e9d6d201ca5190bdbca1c90001a98c46b789771f.json b/rust/cloud-storage/.sqlx/query-60d9e2a257fd628f345cb615e9d6d201ca5190bdbca1c90001a98c46b789771f.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-60d9e2a257fd628f345cb615e9d6d201ca5190bdbca1c90001a98c46b789771f.json
rename to rust/cloud-storage/.sqlx/query-60d9e2a257fd628f345cb615e9d6d201ca5190bdbca1c90001a98c46b789771f.json
diff --git a/rust/cloud-storage/email/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json b/rust/cloud-storage/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json
rename to rust/cloud-storage/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json b/rust/cloud-storage/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json
rename to rust/cloud-storage/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json b/rust/cloud-storage/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json
rename to rust/cloud-storage/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-614ef7fa61ce3e4521e8923ebe706ae249491210d011843f13d67214f65565c3.json b/rust/cloud-storage/.sqlx/query-614ef7fa61ce3e4521e8923ebe706ae249491210d011843f13d67214f65565c3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-614ef7fa61ce3e4521e8923ebe706ae249491210d011843f13d67214f65565c3.json
rename to rust/cloud-storage/.sqlx/query-614ef7fa61ce3e4521e8923ebe706ae249491210d011843f13d67214f65565c3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json b/rust/cloud-storage/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json
rename to rust/cloud-storage/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json b/rust/cloud-storage/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
rename to rust/cloud-storage/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json b/rust/cloud-storage/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
rename to rust/cloud-storage/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6343ce39e05b97056a1e0f7d24f929f7aac2269af2ec0830f98558045826576f.json b/rust/cloud-storage/.sqlx/query-6343ce39e05b97056a1e0f7d24f929f7aac2269af2ec0830f98558045826576f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6343ce39e05b97056a1e0f7d24f929f7aac2269af2ec0830f98558045826576f.json
rename to rust/cloud-storage/.sqlx/query-6343ce39e05b97056a1e0f7d24f929f7aac2269af2ec0830f98558045826576f.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json b/rust/cloud-storage/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json
rename to rust/cloud-storage/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json b/rust/cloud-storage/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json
rename to rust/cloud-storage/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json b/rust/cloud-storage/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json
rename to rust/cloud-storage/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-63a5819e9b22bf76402a3afcdfb6bc6cd3a96d84e15909c85c8e6ec4a8b69e42.json b/rust/cloud-storage/.sqlx/query-63a5819e9b22bf76402a3afcdfb6bc6cd3a96d84e15909c85c8e6ec4a8b69e42.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-63a5819e9b22bf76402a3afcdfb6bc6cd3a96d84e15909c85c8e6ec4a8b69e42.json
rename to rust/cloud-storage/.sqlx/query-63a5819e9b22bf76402a3afcdfb6bc6cd3a96d84e15909c85c8e6ec4a8b69e42.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-63b8a0bc87e00d95ca046f0602a14ef73e9c8ebffb19a40ed7e059004d9bdb9a.json b/rust/cloud-storage/.sqlx/query-63b8a0bc87e00d95ca046f0602a14ef73e9c8ebffb19a40ed7e059004d9bdb9a.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-63b8a0bc87e00d95ca046f0602a14ef73e9c8ebffb19a40ed7e059004d9bdb9a.json
rename to rust/cloud-storage/.sqlx/query-63b8a0bc87e00d95ca046f0602a14ef73e9c8ebffb19a40ed7e059004d9bdb9a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json b/rust/cloud-storage/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
rename to rust/cloud-storage/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-63eecd3605682482786210e65ac14cd04b67b741bac7bac67471bcfe21205d80.json b/rust/cloud-storage/.sqlx/query-63eecd3605682482786210e65ac14cd04b67b741bac7bac67471bcfe21205d80.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-63eecd3605682482786210e65ac14cd04b67b741bac7bac67471bcfe21205d80.json
rename to rust/cloud-storage/.sqlx/query-63eecd3605682482786210e65ac14cd04b67b741bac7bac67471bcfe21205d80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json b/rust/cloud-storage/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json
rename to rust/cloud-storage/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json b/rust/cloud-storage/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json
rename to rust/cloud-storage/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-6450fb466802ad93f651d24054fd250abab1fda9e01dfd44d7e02e53f107816f.json b/rust/cloud-storage/.sqlx/query-6450fb466802ad93f651d24054fd250abab1fda9e01dfd44d7e02e53f107816f.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-6450fb466802ad93f651d24054fd250abab1fda9e01dfd44d7e02e53f107816f.json
rename to rust/cloud-storage/.sqlx/query-6450fb466802ad93f651d24054fd250abab1fda9e01dfd44d7e02e53f107816f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json b/rust/cloud-storage/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json
rename to rust/cloud-storage/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-650ab172f8fa2dd93e941fc49ce22a86ce4333805799488d1c37df47d928ddc2.json b/rust/cloud-storage/.sqlx/query-650ab172f8fa2dd93e941fc49ce22a86ce4333805799488d1c37df47d928ddc2.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-650ab172f8fa2dd93e941fc49ce22a86ce4333805799488d1c37df47d928ddc2.json
rename to rust/cloud-storage/.sqlx/query-650ab172f8fa2dd93e941fc49ce22a86ce4333805799488d1c37df47d928ddc2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json b/rust/cloud-storage/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json
rename to rust/cloud-storage/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json b/rust/cloud-storage/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
rename to rust/cloud-storage/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json b/rust/cloud-storage/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json
rename to rust/cloud-storage/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-65d9a861790a256c2ce832e94358efde2c37d0ddcb6fa557b800cb442f7ba10e.json b/rust/cloud-storage/.sqlx/query-65d9a861790a256c2ce832e94358efde2c37d0ddcb6fa557b800cb442f7ba10e.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-65d9a861790a256c2ce832e94358efde2c37d0ddcb6fa557b800cb442f7ba10e.json
rename to rust/cloud-storage/.sqlx/query-65d9a861790a256c2ce832e94358efde2c37d0ddcb6fa557b800cb442f7ba10e.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-65fbbdc4a8b2ac4be0283f4297875cb62de647cebc07d42b93e58f35fb34e7bd.json b/rust/cloud-storage/.sqlx/query-65fbbdc4a8b2ac4be0283f4297875cb62de647cebc07d42b93e58f35fb34e7bd.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-65fbbdc4a8b2ac4be0283f4297875cb62de647cebc07d42b93e58f35fb34e7bd.json
rename to rust/cloud-storage/.sqlx/query-65fbbdc4a8b2ac4be0283f4297875cb62de647cebc07d42b93e58f35fb34e7bd.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-660327b68f707d334f921f00cca0ab2977e09a30aa82b70b78e51c4a0877f229.json b/rust/cloud-storage/.sqlx/query-660327b68f707d334f921f00cca0ab2977e09a30aa82b70b78e51c4a0877f229.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-660327b68f707d334f921f00cca0ab2977e09a30aa82b70b78e51c4a0877f229.json
rename to rust/cloud-storage/.sqlx/query-660327b68f707d334f921f00cca0ab2977e09a30aa82b70b78e51c4a0877f229.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json b/rust/cloud-storage/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json
rename to rust/cloud-storage/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-6656045ae486ab93f763edc9734b18f0867a279705c7f5a91775754f3cfbe83c.json b/rust/cloud-storage/.sqlx/query-6656045ae486ab93f763edc9734b18f0867a279705c7f5a91775754f3cfbe83c.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-6656045ae486ab93f763edc9734b18f0867a279705c7f5a91775754f3cfbe83c.json
rename to rust/cloud-storage/.sqlx/query-6656045ae486ab93f763edc9734b18f0867a279705c7f5a91775754f3cfbe83c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json b/rust/cloud-storage/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json
rename to rust/cloud-storage/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json
diff --git a/rust/cloud-storage/call/.sqlx/query-669b1e8428a2dff7724bb47104efc739eb157f1b1dbe21cb607a0fc1f87ebe30.json b/rust/cloud-storage/.sqlx/query-669b1e8428a2dff7724bb47104efc739eb157f1b1dbe21cb607a0fc1f87ebe30.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-669b1e8428a2dff7724bb47104efc739eb157f1b1dbe21cb607a0fc1f87ebe30.json
rename to rust/cloud-storage/.sqlx/query-669b1e8428a2dff7724bb47104efc739eb157f1b1dbe21cb607a0fc1f87ebe30.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json b/rust/cloud-storage/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json
rename to rust/cloud-storage/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json b/rust/cloud-storage/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json
rename to rust/cloud-storage/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json
diff --git a/rust/cloud-storage/email/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json b/rust/cloud-storage/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json
rename to rust/cloud-storage/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json b/rust/cloud-storage/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json
rename to rust/cloud-storage/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-68374c56646f19df2212ced86e1ab0010e207e54ef3453edc0df2180a5e402ba.json b/rust/cloud-storage/.sqlx/query-68374c56646f19df2212ced86e1ab0010e207e54ef3453edc0df2180a5e402ba.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-68374c56646f19df2212ced86e1ab0010e207e54ef3453edc0df2180a5e402ba.json
rename to rust/cloud-storage/.sqlx/query-68374c56646f19df2212ced86e1ab0010e207e54ef3453edc0df2180a5e402ba.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json b/rust/cloud-storage/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
rename to rust/cloud-storage/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-68ad8e75246fed44a1e258483299257bc04def00c6417bee80f7816d1a085578.json b/rust/cloud-storage/.sqlx/query-68ad8e75246fed44a1e258483299257bc04def00c6417bee80f7816d1a085578.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-68ad8e75246fed44a1e258483299257bc04def00c6417bee80f7816d1a085578.json
rename to rust/cloud-storage/.sqlx/query-68ad8e75246fed44a1e258483299257bc04def00c6417bee80f7816d1a085578.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json b/rust/cloud-storage/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json
rename to rust/cloud-storage/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json b/rust/cloud-storage/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json
rename to rust/cloud-storage/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json b/rust/cloud-storage/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json
rename to rust/cloud-storage/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-69de5e91294da24e3c0c22ff7cbb156ec4433cb228a034aed09e059ef005e92e.json b/rust/cloud-storage/.sqlx/query-69de5e91294da24e3c0c22ff7cbb156ec4433cb228a034aed09e059ef005e92e.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-69de5e91294da24e3c0c22ff7cbb156ec4433cb228a034aed09e059ef005e92e.json
rename to rust/cloud-storage/.sqlx/query-69de5e91294da24e3c0c22ff7cbb156ec4433cb228a034aed09e059ef005e92e.json
diff --git a/rust/cloud-storage/github/.sqlx/query-6a83d04482526e2ceb9e9eb812d3ceaf1c8c7fafb25ba1cbecb4dadc543fad67.json b/rust/cloud-storage/.sqlx/query-6a83d04482526e2ceb9e9eb812d3ceaf1c8c7fafb25ba1cbecb4dadc543fad67.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-6a83d04482526e2ceb9e9eb812d3ceaf1c8c7fafb25ba1cbecb4dadc543fad67.json
rename to rust/cloud-storage/.sqlx/query-6a83d04482526e2ceb9e9eb812d3ceaf1c8c7fafb25ba1cbecb4dadc543fad67.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json b/rust/cloud-storage/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json
rename to rust/cloud-storage/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-6aa68cd66ced924e43b012c317e1efe33721073350ae49882e066ac544bbb995.json b/rust/cloud-storage/.sqlx/query-6aa68cd66ced924e43b012c317e1efe33721073350ae49882e066ac544bbb995.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-6aa68cd66ced924e43b012c317e1efe33721073350ae49882e066ac544bbb995.json
rename to rust/cloud-storage/.sqlx/query-6aa68cd66ced924e43b012c317e1efe33721073350ae49882e066ac544bbb995.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json b/rust/cloud-storage/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json
rename to rust/cloud-storage/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json
diff --git a/rust/cloud-storage/email_refresh_handler/.sqlx/query-6b5a41c0c33c20537ef484ad312d80da7dfa7251e2333f8981e2a76f40e623c2.json b/rust/cloud-storage/.sqlx/query-6b5a41c0c33c20537ef484ad312d80da7dfa7251e2333f8981e2a76f40e623c2.json
similarity index 100%
rename from rust/cloud-storage/email_refresh_handler/.sqlx/query-6b5a41c0c33c20537ef484ad312d80da7dfa7251e2333f8981e2a76f40e623c2.json
rename to rust/cloud-storage/.sqlx/query-6b5a41c0c33c20537ef484ad312d80da7dfa7251e2333f8981e2a76f40e623c2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json b/rust/cloud-storage/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json
rename to rust/cloud-storage/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json b/rust/cloud-storage/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json
rename to rust/cloud-storage/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json b/rust/cloud-storage/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json
rename to rust/cloud-storage/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json
diff --git a/rust/cloud-storage/email/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json b/rust/cloud-storage/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
rename to rust/cloud-storage/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-6c7eb689e2b36b5f9d73ebb66746c36ad70078feb62d295e33506f317fe07bb1.json b/rust/cloud-storage/.sqlx/query-6c7eb689e2b36b5f9d73ebb66746c36ad70078feb62d295e33506f317fe07bb1.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-6c7eb689e2b36b5f9d73ebb66746c36ad70078feb62d295e33506f317fe07bb1.json
rename to rust/cloud-storage/.sqlx/query-6c7eb689e2b36b5f9d73ebb66746c36ad70078feb62d295e33506f317fe07bb1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json b/rust/cloud-storage/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json
rename to rust/cloud-storage/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json
diff --git a/rust/cloud-storage/call/.sqlx/query-6ca02c6511b3279813710cb93a275d215c3edeb60072739f71e5e7324772349c.json b/rust/cloud-storage/.sqlx/query-6ca02c6511b3279813710cb93a275d215c3edeb60072739f71e5e7324772349c.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-6ca02c6511b3279813710cb93a275d215c3edeb60072739f71e5e7324772349c.json
rename to rust/cloud-storage/.sqlx/query-6ca02c6511b3279813710cb93a275d215c3edeb60072739f71e5e7324772349c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json b/rust/cloud-storage/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json
rename to rust/cloud-storage/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json b/rust/cloud-storage/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json
rename to rust/cloud-storage/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ce4faf9e5f20226d7e2fad64816fe432ac1128af2df592077c848e75009509d.json b/rust/cloud-storage/.sqlx/query-6ce4faf9e5f20226d7e2fad64816fe432ac1128af2df592077c848e75009509d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ce4faf9e5f20226d7e2fad64816fe432ac1128af2df592077c848e75009509d.json
rename to rust/cloud-storage/.sqlx/query-6ce4faf9e5f20226d7e2fad64816fe432ac1128af2df592077c848e75009509d.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-6d419ad1a1c53be5ee3edf5667c55489e99232e1dbd25cbb3f31746b4b9614ab.json b/rust/cloud-storage/.sqlx/query-6d419ad1a1c53be5ee3edf5667c55489e99232e1dbd25cbb3f31746b4b9614ab.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-6d419ad1a1c53be5ee3edf5667c55489e99232e1dbd25cbb3f31746b4b9614ab.json
rename to rust/cloud-storage/.sqlx/query-6d419ad1a1c53be5ee3edf5667c55489e99232e1dbd25cbb3f31746b4b9614ab.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json b/rust/cloud-storage/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json
rename to rust/cloud-storage/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-6dae1be229aa02fd589a494c2219f9ffafb95d71284c9062109b4fc7ccf80206.json b/rust/cloud-storage/.sqlx/query-6dae1be229aa02fd589a494c2219f9ffafb95d71284c9062109b4fc7ccf80206.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-6dae1be229aa02fd589a494c2219f9ffafb95d71284c9062109b4fc7ccf80206.json
rename to rust/cloud-storage/.sqlx/query-6dae1be229aa02fd589a494c2219f9ffafb95d71284c9062109b4fc7ccf80206.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json b/rust/cloud-storage/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json
rename to rust/cloud-storage/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json b/rust/cloud-storage/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json
rename to rust/cloud-storage/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json b/rust/cloud-storage/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json
rename to rust/cloud-storage/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json b/rust/cloud-storage/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json
rename to rust/cloud-storage/.sqlx/query-6e0240fcbc3f8f086e2529a680a1eee5f2495c0db613c33984e5755936513654.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json b/rust/cloud-storage/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json
rename to rust/cloud-storage/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json b/rust/cloud-storage/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json
rename to rust/cloud-storage/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-6f84ce5949c02518f69930a6a30b78c285f0440e2c5157d1ef2ee614cc2105f3.json b/rust/cloud-storage/.sqlx/query-6f84ce5949c02518f69930a6a30b78c285f0440e2c5157d1ef2ee614cc2105f3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-6f84ce5949c02518f69930a6a30b78c285f0440e2c5157d1ef2ee614cc2105f3.json
rename to rust/cloud-storage/.sqlx/query-6f84ce5949c02518f69930a6a30b78c285f0440e2c5157d1ef2ee614cc2105f3.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-6ff2b4ae4df25f6fe125338e274f4149fe8829da208e8689ccd7e2154e8d7136.json b/rust/cloud-storage/.sqlx/query-6ff2b4ae4df25f6fe125338e274f4149fe8829da208e8689ccd7e2154e8d7136.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-6ff2b4ae4df25f6fe125338e274f4149fe8829da208e8689ccd7e2154e8d7136.json
rename to rust/cloud-storage/.sqlx/query-6ff2b4ae4df25f6fe125338e274f4149fe8829da208e8689ccd7e2154e8d7136.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json b/rust/cloud-storage/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json
rename to rust/cloud-storage/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-704f8353c3a52412d8cbab60b9b32edf0d811d09c54b66522e38366cdefd98a6.json b/rust/cloud-storage/.sqlx/query-704f8353c3a52412d8cbab60b9b32edf0d811d09c54b66522e38366cdefd98a6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-704f8353c3a52412d8cbab60b9b32edf0d811d09c54b66522e38366cdefd98a6.json
rename to rust/cloud-storage/.sqlx/query-704f8353c3a52412d8cbab60b9b32edf0d811d09c54b66522e38366cdefd98a6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json b/rust/cloud-storage/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json
rename to rust/cloud-storage/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-7078d46dbcbe1c4201bcb4f63d98400d28bde0e2c3af5211a83a01165f751029.json b/rust/cloud-storage/.sqlx/query-7078d46dbcbe1c4201bcb4f63d98400d28bde0e2c3af5211a83a01165f751029.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-7078d46dbcbe1c4201bcb4f63d98400d28bde0e2c3af5211a83a01165f751029.json
rename to rust/cloud-storage/.sqlx/query-7078d46dbcbe1c4201bcb4f63d98400d28bde0e2c3af5211a83a01165f751029.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json b/rust/cloud-storage/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json
rename to rust/cloud-storage/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-714f0e8d34476dcc43f7ee64ea1a429f9420fe1403f56b6c472640efd43451ce.json b/rust/cloud-storage/.sqlx/query-714f0e8d34476dcc43f7ee64ea1a429f9420fe1403f56b6c472640efd43451ce.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-714f0e8d34476dcc43f7ee64ea1a429f9420fe1403f56b6c472640efd43451ce.json
rename to rust/cloud-storage/.sqlx/query-714f0e8d34476dcc43f7ee64ea1a429f9420fe1403f56b6c472640efd43451ce.json
diff --git a/rust/cloud-storage/email/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json b/rust/cloud-storage/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json
rename to rust/cloud-storage/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json
diff --git a/rust/cloud-storage/call/.sqlx/query-7153394f8eb16ffb119e7cf8f3eb00791668bed040994bf21e00b397f4b05405.json b/rust/cloud-storage/.sqlx/query-7153394f8eb16ffb119e7cf8f3eb00791668bed040994bf21e00b397f4b05405.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-7153394f8eb16ffb119e7cf8f3eb00791668bed040994bf21e00b397f4b05405.json
rename to rust/cloud-storage/.sqlx/query-7153394f8eb16ffb119e7cf8f3eb00791668bed040994bf21e00b397f4b05405.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json b/rust/cloud-storage/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json
rename to rust/cloud-storage/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json b/rust/cloud-storage/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json
rename to rust/cloud-storage/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json b/rust/cloud-storage/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json
rename to rust/cloud-storage/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-72c4ec37d0b5c963e6061e040ab7184e2e6623e487afc52358f77f57d236a255.json b/rust/cloud-storage/.sqlx/query-72c4ec37d0b5c963e6061e040ab7184e2e6623e487afc52358f77f57d236a255.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-72c4ec37d0b5c963e6061e040ab7184e2e6623e487afc52358f77f57d236a255.json
rename to rust/cloud-storage/.sqlx/query-72c4ec37d0b5c963e6061e040ab7184e2e6623e487afc52358f77f57d236a255.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json b/rust/cloud-storage/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
rename to rust/cloud-storage/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json b/rust/cloud-storage/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json
rename to rust/cloud-storage/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json b/rust/cloud-storage/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json
rename to rust/cloud-storage/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json b/rust/cloud-storage/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json
rename to rust/cloud-storage/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json b/rust/cloud-storage/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
rename to rust/cloud-storage/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-73f91a13989edcfbeec5d67e465506a77077406116f58821f9c1b38b855fb995.json b/rust/cloud-storage/.sqlx/query-73f91a13989edcfbeec5d67e465506a77077406116f58821f9c1b38b855fb995.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-73f91a13989edcfbeec5d67e465506a77077406116f58821f9c1b38b855fb995.json
rename to rust/cloud-storage/.sqlx/query-73f91a13989edcfbeec5d67e465506a77077406116f58821f9c1b38b855fb995.json
diff --git a/rust/cloud-storage/email/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json b/rust/cloud-storage/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json
rename to rust/cloud-storage/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json b/rust/cloud-storage/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
rename to rust/cloud-storage/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-74e411c5bdc9a4ee3f96bf4b09fd3506f32146eb21d6714d60136850e9d849bf.json b/rust/cloud-storage/.sqlx/query-74e411c5bdc9a4ee3f96bf4b09fd3506f32146eb21d6714d60136850e9d849bf.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-74e411c5bdc9a4ee3f96bf4b09fd3506f32146eb21d6714d60136850e9d849bf.json
rename to rust/cloud-storage/.sqlx/query-74e411c5bdc9a4ee3f96bf4b09fd3506f32146eb21d6714d60136850e9d849bf.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-74e76c125eb6beb0ade0d0aa8882199445908c8a1990d01d5526a2717a33d39f.json b/rust/cloud-storage/.sqlx/query-74e76c125eb6beb0ade0d0aa8882199445908c8a1990d01d5526a2717a33d39f.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-74e76c125eb6beb0ade0d0aa8882199445908c8a1990d01d5526a2717a33d39f.json
rename to rust/cloud-storage/.sqlx/query-74e76c125eb6beb0ade0d0aa8882199445908c8a1990d01d5526a2717a33d39f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json b/rust/cloud-storage/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json
rename to rust/cloud-storage/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json b/rust/cloud-storage/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json
rename to rust/cloud-storage/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json b/rust/cloud-storage/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
rename to rust/cloud-storage/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json b/rust/cloud-storage/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
rename to rust/cloud-storage/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json b/rust/cloud-storage/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json
rename to rust/cloud-storage/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json b/rust/cloud-storage/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json
rename to rust/cloud-storage/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-76ca09231164d0c838d59d477f6406b67ddfeaea2b6fe078c30927277b6d3fa0.json b/rust/cloud-storage/.sqlx/query-76ca09231164d0c838d59d477f6406b67ddfeaea2b6fe078c30927277b6d3fa0.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-76ca09231164d0c838d59d477f6406b67ddfeaea2b6fe078c30927277b6d3fa0.json
rename to rust/cloud-storage/.sqlx/query-76ca09231164d0c838d59d477f6406b67ddfeaea2b6fe078c30927277b6d3fa0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json b/rust/cloud-storage/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json
rename to rust/cloud-storage/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-76e487efe2d8f383ac8e7688892624be4d81662c6f82f6aa16ba2e752dcabd94.json b/rust/cloud-storage/.sqlx/query-76e487efe2d8f383ac8e7688892624be4d81662c6f82f6aa16ba2e752dcabd94.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-76e487efe2d8f383ac8e7688892624be4d81662c6f82f6aa16ba2e752dcabd94.json
rename to rust/cloud-storage/.sqlx/query-76e487efe2d8f383ac8e7688892624be4d81662c6f82f6aa16ba2e752dcabd94.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json b/rust/cloud-storage/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json
rename to rust/cloud-storage/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json
diff --git a/rust/cloud-storage/github/.sqlx/query-76f6793eaead8c4f3a2aa4b02ad573beda79b93bfd874acc1b2059cbe041d8a3.json b/rust/cloud-storage/.sqlx/query-76f6793eaead8c4f3a2aa4b02ad573beda79b93bfd874acc1b2059cbe041d8a3.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-76f6793eaead8c4f3a2aa4b02ad573beda79b93bfd874acc1b2059cbe041d8a3.json
rename to rust/cloud-storage/.sqlx/query-76f6793eaead8c4f3a2aa4b02ad573beda79b93bfd874acc1b2059cbe041d8a3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json b/rust/cloud-storage/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json
rename to rust/cloud-storage/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-770f2133b4f487b783e3d34bce0ebde1405e003a2d84d25542e8a11c7895be18.json b/rust/cloud-storage/.sqlx/query-770f2133b4f487b783e3d34bce0ebde1405e003a2d84d25542e8a11c7895be18.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-770f2133b4f487b783e3d34bce0ebde1405e003a2d84d25542e8a11c7895be18.json
rename to rust/cloud-storage/.sqlx/query-770f2133b4f487b783e3d34bce0ebde1405e003a2d84d25542e8a11c7895be18.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-775a3c1e4a6365516cc07a60cdfe1913f1fa8606bdb384b8e697cb5c723cf40b.json b/rust/cloud-storage/.sqlx/query-775a3c1e4a6365516cc07a60cdfe1913f1fa8606bdb384b8e697cb5c723cf40b.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-775a3c1e4a6365516cc07a60cdfe1913f1fa8606bdb384b8e697cb5c723cf40b.json
rename to rust/cloud-storage/.sqlx/query-775a3c1e4a6365516cc07a60cdfe1913f1fa8606bdb384b8e697cb5c723cf40b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-77a3b4ac298457a9c06b145d60a00127619bcfe56c969e69c03c98e7b2d975f9.json b/rust/cloud-storage/.sqlx/query-77a3b4ac298457a9c06b145d60a00127619bcfe56c969e69c03c98e7b2d975f9.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-77a3b4ac298457a9c06b145d60a00127619bcfe56c969e69c03c98e7b2d975f9.json
rename to rust/cloud-storage/.sqlx/query-77a3b4ac298457a9c06b145d60a00127619bcfe56c969e69c03c98e7b2d975f9.json
diff --git a/rust/cloud-storage/call/.sqlx/query-77b9642e3ce72202c80aacda76790b7a1e1eee80d0b7388c2ad68e8ce5a996c7.json b/rust/cloud-storage/.sqlx/query-77b9642e3ce72202c80aacda76790b7a1e1eee80d0b7388c2ad68e8ce5a996c7.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-77b9642e3ce72202c80aacda76790b7a1e1eee80d0b7388c2ad68e8ce5a996c7.json
rename to rust/cloud-storage/.sqlx/query-77b9642e3ce72202c80aacda76790b7a1e1eee80d0b7388c2ad68e8ce5a996c7.json
diff --git a/rust/cloud-storage/call/.sqlx/query-77fae7a910ecfe9c5eeaf4c37a334398757d8e7959cd237df7e4947fb75aa56f.json b/rust/cloud-storage/.sqlx/query-77fae7a910ecfe9c5eeaf4c37a334398757d8e7959cd237df7e4947fb75aa56f.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-77fae7a910ecfe9c5eeaf4c37a334398757d8e7959cd237df7e4947fb75aa56f.json
rename to rust/cloud-storage/.sqlx/query-77fae7a910ecfe9c5eeaf4c37a334398757d8e7959cd237df7e4947fb75aa56f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json b/rust/cloud-storage/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json
rename to rust/cloud-storage/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json b/rust/cloud-storage/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json
rename to rust/cloud-storage/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-784bba91ffa42d509389120cd4d680c75ad890e4fdf4b9c0b9d88ff07abc23a4.json b/rust/cloud-storage/.sqlx/query-784bba91ffa42d509389120cd4d680c75ad890e4fdf4b9c0b9d88ff07abc23a4.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-784bba91ffa42d509389120cd4d680c75ad890e4fdf4b9c0b9d88ff07abc23a4.json
rename to rust/cloud-storage/.sqlx/query-784bba91ffa42d509389120cd4d680c75ad890e4fdf4b9c0b9d88ff07abc23a4.json
diff --git a/rust/cloud-storage/call/.sqlx/query-78d6d53824fefc526411d2a0ff9d70f665ebe35943b7246ff5e6e3f801183cef.json b/rust/cloud-storage/.sqlx/query-78d6d53824fefc526411d2a0ff9d70f665ebe35943b7246ff5e6e3f801183cef.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-78d6d53824fefc526411d2a0ff9d70f665ebe35943b7246ff5e6e3f801183cef.json
rename to rust/cloud-storage/.sqlx/query-78d6d53824fefc526411d2a0ff9d70f665ebe35943b7246ff5e6e3f801183cef.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json b/rust/cloud-storage/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
rename to rust/cloud-storage/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
diff --git a/rust/cloud-storage/github/.sqlx/query-799422134794f3c4b9c5867b136262c2f639f313f14fd56da967a74d91aa1c88.json b/rust/cloud-storage/.sqlx/query-799422134794f3c4b9c5867b136262c2f639f313f14fd56da967a74d91aa1c88.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-799422134794f3c4b9c5867b136262c2f639f313f14fd56da967a74d91aa1c88.json
rename to rust/cloud-storage/.sqlx/query-799422134794f3c4b9c5867b136262c2f639f313f14fd56da967a74d91aa1c88.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-79ac6b0966afc0c5472e3d5589e940bf0d6d2c4280e69b09b4f7c8839b5ad658.json b/rust/cloud-storage/.sqlx/query-79ac6b0966afc0c5472e3d5589e940bf0d6d2c4280e69b09b4f7c8839b5ad658.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-79ac6b0966afc0c5472e3d5589e940bf0d6d2c4280e69b09b4f7c8839b5ad658.json
rename to rust/cloud-storage/.sqlx/query-79ac6b0966afc0c5472e3d5589e940bf0d6d2c4280e69b09b4f7c8839b5ad658.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json b/rust/cloud-storage/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json
rename to rust/cloud-storage/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json b/rust/cloud-storage/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json
rename to rust/cloud-storage/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-7a97bb0e12628cc97e6e2555cf246cf0339ffbcece51c12635989df120793dfb.json b/rust/cloud-storage/.sqlx/query-7a97bb0e12628cc97e6e2555cf246cf0339ffbcece51c12635989df120793dfb.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-7a97bb0e12628cc97e6e2555cf246cf0339ffbcece51c12635989df120793dfb.json
rename to rust/cloud-storage/.sqlx/query-7a97bb0e12628cc97e6e2555cf246cf0339ffbcece51c12635989df120793dfb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json b/rust/cloud-storage/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json
rename to rust/cloud-storage/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json b/rust/cloud-storage/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
rename to rust/cloud-storage/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json b/rust/cloud-storage/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json
rename to rust/cloud-storage/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-7b3d997c28cd0c99fc7b710e47f9bc1ac1a63e950ae4446a7c748ac067b7c8cc.json b/rust/cloud-storage/.sqlx/query-7b3d997c28cd0c99fc7b710e47f9bc1ac1a63e950ae4446a7c748ac067b7c8cc.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-7b3d997c28cd0c99fc7b710e47f9bc1ac1a63e950ae4446a7c748ac067b7c8cc.json
rename to rust/cloud-storage/.sqlx/query-7b3d997c28cd0c99fc7b710e47f9bc1ac1a63e950ae4446a7c748ac067b7c8cc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json b/rust/cloud-storage/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json
rename to rust/cloud-storage/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json b/rust/cloud-storage/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json
rename to rust/cloud-storage/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json b/rust/cloud-storage/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json
rename to rust/cloud-storage/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json b/rust/cloud-storage/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
rename to rust/cloud-storage/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json b/rust/cloud-storage/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json
rename to rust/cloud-storage/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json b/rust/cloud-storage/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
rename to rust/cloud-storage/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-7ce336a58021f98fbb7c87b42ed827d0aee69ec593e923e41d2545b75d1def37.json b/rust/cloud-storage/.sqlx/query-7ce336a58021f98fbb7c87b42ed827d0aee69ec593e923e41d2545b75d1def37.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-7ce336a58021f98fbb7c87b42ed827d0aee69ec593e923e41d2545b75d1def37.json
rename to rust/cloud-storage/.sqlx/query-7ce336a58021f98fbb7c87b42ed827d0aee69ec593e923e41d2545b75d1def37.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json b/rust/cloud-storage/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json
rename to rust/cloud-storage/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-7d4385b8207bd320c290edc420c68c86028ac0ecb586a78fe55438f5e13b9106.json b/rust/cloud-storage/.sqlx/query-7d4385b8207bd320c290edc420c68c86028ac0ecb586a78fe55438f5e13b9106.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-7d4385b8207bd320c290edc420c68c86028ac0ecb586a78fe55438f5e13b9106.json
rename to rust/cloud-storage/.sqlx/query-7d4385b8207bd320c290edc420c68c86028ac0ecb586a78fe55438f5e13b9106.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-7d5fe2bfe9751516c5e9b4315c74138f065c6c9b2a92c0de4d048dc72fdfe369.json b/rust/cloud-storage/.sqlx/query-7d5fe2bfe9751516c5e9b4315c74138f065c6c9b2a92c0de4d048dc72fdfe369.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-7d5fe2bfe9751516c5e9b4315c74138f065c6c9b2a92c0de4d048dc72fdfe369.json
rename to rust/cloud-storage/.sqlx/query-7d5fe2bfe9751516c5e9b4315c74138f065c6c9b2a92c0de4d048dc72fdfe369.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-7d904128ec24b17b4f1b25a2084b42476455160ba50f8e599a47acca06484cd7.json b/rust/cloud-storage/.sqlx/query-7d904128ec24b17b4f1b25a2084b42476455160ba50f8e599a47acca06484cd7.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-7d904128ec24b17b4f1b25a2084b42476455160ba50f8e599a47acca06484cd7.json
rename to rust/cloud-storage/.sqlx/query-7d904128ec24b17b4f1b25a2084b42476455160ba50f8e599a47acca06484cd7.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-7e076694e17fe7c86e7a948ab72e4a2a56f301223b62413247ac15bd5fef29c5.json b/rust/cloud-storage/.sqlx/query-7e076694e17fe7c86e7a948ab72e4a2a56f301223b62413247ac15bd5fef29c5.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-7e076694e17fe7c86e7a948ab72e4a2a56f301223b62413247ac15bd5fef29c5.json
rename to rust/cloud-storage/.sqlx/query-7e076694e17fe7c86e7a948ab72e4a2a56f301223b62413247ac15bd5fef29c5.json
diff --git a/rust/cloud-storage/call/.sqlx/query-7e26dfe09fa65aa0bad62337b51c2d22e4703c7fe2035725142f180193c35808.json b/rust/cloud-storage/.sqlx/query-7e26dfe09fa65aa0bad62337b51c2d22e4703c7fe2035725142f180193c35808.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-7e26dfe09fa65aa0bad62337b51c2d22e4703c7fe2035725142f180193c35808.json
rename to rust/cloud-storage/.sqlx/query-7e26dfe09fa65aa0bad62337b51c2d22e4703c7fe2035725142f180193c35808.json
diff --git a/rust/cloud-storage/mobile_welcome_email_db_client/.sqlx/query-7eaa606441665fa4dca3077c6b3c02e8c4a0d136a40149829b96dff878897108.json b/rust/cloud-storage/.sqlx/query-7eaa606441665fa4dca3077c6b3c02e8c4a0d136a40149829b96dff878897108.json
similarity index 100%
rename from rust/cloud-storage/mobile_welcome_email_db_client/.sqlx/query-7eaa606441665fa4dca3077c6b3c02e8c4a0d136a40149829b96dff878897108.json
rename to rust/cloud-storage/.sqlx/query-7eaa606441665fa4dca3077c6b3c02e8c4a0d136a40149829b96dff878897108.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json b/rust/cloud-storage/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json
rename to rust/cloud-storage/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json b/rust/cloud-storage/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json
rename to rust/cloud-storage/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-7f8601bd8c738ab2e656f22c009f7c6599dd2dd0de63c92a772d6638bec6ef77.json b/rust/cloud-storage/.sqlx/query-7f8601bd8c738ab2e656f22c009f7c6599dd2dd0de63c92a772d6638bec6ef77.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-7f8601bd8c738ab2e656f22c009f7c6599dd2dd0de63c92a772d6638bec6ef77.json
rename to rust/cloud-storage/.sqlx/query-7f8601bd8c738ab2e656f22c009f7c6599dd2dd0de63c92a772d6638bec6ef77.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-7fa9eb6f3b050e679afd93120744ba5f2cfd3a341111c1fc757ae75f50134d7f.json b/rust/cloud-storage/.sqlx/query-7fa9eb6f3b050e679afd93120744ba5f2cfd3a341111c1fc757ae75f50134d7f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-7fa9eb6f3b050e679afd93120744ba5f2cfd3a341111c1fc757ae75f50134d7f.json
rename to rust/cloud-storage/.sqlx/query-7fa9eb6f3b050e679afd93120744ba5f2cfd3a341111c1fc757ae75f50134d7f.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-7fc9da48b6c62ab0db6327e300eb80eafcff34b2d5d13621a688883acc3db154.json b/rust/cloud-storage/.sqlx/query-7fc9da48b6c62ab0db6327e300eb80eafcff34b2d5d13621a688883acc3db154.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-7fc9da48b6c62ab0db6327e300eb80eafcff34b2d5d13621a688883acc3db154.json
rename to rust/cloud-storage/.sqlx/query-7fc9da48b6c62ab0db6327e300eb80eafcff34b2d5d13621a688883acc3db154.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json b/rust/cloud-storage/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json
rename to rust/cloud-storage/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-805150c1a22fe4cee95588606be11c6419a2e25f66201dfefc8a87a586150d26.json b/rust/cloud-storage/.sqlx/query-805150c1a22fe4cee95588606be11c6419a2e25f66201dfefc8a87a586150d26.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-805150c1a22fe4cee95588606be11c6419a2e25f66201dfefc8a87a586150d26.json
rename to rust/cloud-storage/.sqlx/query-805150c1a22fe4cee95588606be11c6419a2e25f66201dfefc8a87a586150d26.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json b/rust/cloud-storage/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json
rename to rust/cloud-storage/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json
diff --git a/rust/cloud-storage/call/.sqlx/query-80ec8203f3090c1d40c0c782808e4a2bfbc92a06c2c37ab8a8e243f54eb93d03.json b/rust/cloud-storage/.sqlx/query-80ec8203f3090c1d40c0c782808e4a2bfbc92a06c2c37ab8a8e243f54eb93d03.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-80ec8203f3090c1d40c0c782808e4a2bfbc92a06c2c37ab8a8e243f54eb93d03.json
rename to rust/cloud-storage/.sqlx/query-80ec8203f3090c1d40c0c782808e4a2bfbc92a06c2c37ab8a8e243f54eb93d03.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json b/rust/cloud-storage/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json
rename to rust/cloud-storage/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json
diff --git a/rust/cloud-storage/email/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json b/rust/cloud-storage/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json
rename to rust/cloud-storage/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json b/rust/cloud-storage/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json
rename to rust/cloud-storage/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json b/rust/cloud-storage/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json
rename to rust/cloud-storage/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json b/rust/cloud-storage/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json
rename to rust/cloud-storage/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json b/rust/cloud-storage/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json
rename to rust/cloud-storage/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json b/rust/cloud-storage/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json
rename to rust/cloud-storage/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8359035e915d0949500ede9f520fb3ea45d1766256ee45b0c5967618301b2ea6.json b/rust/cloud-storage/.sqlx/query-8359035e915d0949500ede9f520fb3ea45d1766256ee45b0c5967618301b2ea6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8359035e915d0949500ede9f520fb3ea45d1766256ee45b0c5967618301b2ea6.json
rename to rust/cloud-storage/.sqlx/query-8359035e915d0949500ede9f520fb3ea45d1766256ee45b0c5967618301b2ea6.json
diff --git a/rust/cloud-storage/email/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json b/rust/cloud-storage/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json
rename to rust/cloud-storage/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json b/rust/cloud-storage/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json
rename to rust/cloud-storage/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json b/rust/cloud-storage/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json
rename to rust/cloud-storage/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json b/rust/cloud-storage/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json
rename to rust/cloud-storage/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json
diff --git a/rust/cloud-storage/email_refresh_handler/.sqlx/query-850d9317ed6b8e21fbb7602beaf6b8c05f43739f31587aa63e57dbfd0093ab1d.json b/rust/cloud-storage/.sqlx/query-850d9317ed6b8e21fbb7602beaf6b8c05f43739f31587aa63e57dbfd0093ab1d.json
similarity index 100%
rename from rust/cloud-storage/email_refresh_handler/.sqlx/query-850d9317ed6b8e21fbb7602beaf6b8c05f43739f31587aa63e57dbfd0093ab1d.json
rename to rust/cloud-storage/.sqlx/query-850d9317ed6b8e21fbb7602beaf6b8c05f43739f31587aa63e57dbfd0093ab1d.json
diff --git a/rust/cloud-storage/email/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json b/rust/cloud-storage/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json
rename to rust/cloud-storage/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-85423841a8e715417d2e6c4c210b096a1aedea8c4bb63029e0024bce1e5029f9.json b/rust/cloud-storage/.sqlx/query-85423841a8e715417d2e6c4c210b096a1aedea8c4bb63029e0024bce1e5029f9.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-85423841a8e715417d2e6c4c210b096a1aedea8c4bb63029e0024bce1e5029f9.json
rename to rust/cloud-storage/.sqlx/query-85423841a8e715417d2e6c4c210b096a1aedea8c4bb63029e0024bce1e5029f9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json b/rust/cloud-storage/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json
rename to rust/cloud-storage/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-857e3e97e49256afa01fd4e85422b8da87b62a601b26889c719cd8b2ec7de5c6.json b/rust/cloud-storage/.sqlx/query-857e3e97e49256afa01fd4e85422b8da87b62a601b26889c719cd8b2ec7de5c6.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-857e3e97e49256afa01fd4e85422b8da87b62a601b26889c719cd8b2ec7de5c6.json
rename to rust/cloud-storage/.sqlx/query-857e3e97e49256afa01fd4e85422b8da87b62a601b26889c719cd8b2ec7de5c6.json
diff --git a/rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json b/rust/cloud-storage/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json
similarity index 100%
rename from rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json
rename to rust/cloud-storage/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json
diff --git a/rust/cloud-storage/roles_and_permissions/.sqlx/query-8659923b989f123cadb88ede932614c820d21950e32ab2f6092c78dfb5e77aae.json b/rust/cloud-storage/.sqlx/query-8659923b989f123cadb88ede932614c820d21950e32ab2f6092c78dfb5e77aae.json
similarity index 100%
rename from rust/cloud-storage/roles_and_permissions/.sqlx/query-8659923b989f123cadb88ede932614c820d21950e32ab2f6092c78dfb5e77aae.json
rename to rust/cloud-storage/.sqlx/query-8659923b989f123cadb88ede932614c820d21950e32ab2f6092c78dfb5e77aae.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json b/rust/cloud-storage/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json
rename to rust/cloud-storage/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json b/rust/cloud-storage/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json
rename to rust/cloud-storage/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json b/rust/cloud-storage/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json
rename to rust/cloud-storage/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-86d971ef2350eb0120ca72cf4a7ecfd8ac7a04922066909603459467ace0788a.json b/rust/cloud-storage/.sqlx/query-86d971ef2350eb0120ca72cf4a7ecfd8ac7a04922066909603459467ace0788a.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-86d971ef2350eb0120ca72cf4a7ecfd8ac7a04922066909603459467ace0788a.json
rename to rust/cloud-storage/.sqlx/query-86d971ef2350eb0120ca72cf4a7ecfd8ac7a04922066909603459467ace0788a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json b/rust/cloud-storage/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
rename to rust/cloud-storage/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8706eea9749b2b5fb7b7c9c155a90b3e0b6f09bc06968eb94e36d0c55c6b0822.json b/rust/cloud-storage/.sqlx/query-8706eea9749b2b5fb7b7c9c155a90b3e0b6f09bc06968eb94e36d0c55c6b0822.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-8706eea9749b2b5fb7b7c9c155a90b3e0b6f09bc06968eb94e36d0c55c6b0822.json
rename to rust/cloud-storage/.sqlx/query-8706eea9749b2b5fb7b7c9c155a90b3e0b6f09bc06968eb94e36d0c55c6b0822.json
diff --git a/rust/cloud-storage/roles_and_permissions/.sqlx/query-8717ae7a285b36ee3b82b3688a274b9734ecd81e4e1e1d0f7a1fc3a7d2c2c053.json b/rust/cloud-storage/.sqlx/query-8717ae7a285b36ee3b82b3688a274b9734ecd81e4e1e1d0f7a1fc3a7d2c2c053.json
similarity index 100%
rename from rust/cloud-storage/roles_and_permissions/.sqlx/query-8717ae7a285b36ee3b82b3688a274b9734ecd81e4e1e1d0f7a1fc3a7d2c2c053.json
rename to rust/cloud-storage/.sqlx/query-8717ae7a285b36ee3b82b3688a274b9734ecd81e4e1e1d0f7a1fc3a7d2c2c053.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json b/rust/cloud-storage/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json
rename to rust/cloud-storage/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8748bb91363013514f0b55046bc8a1917acb27181343384b86c0a9cc750013bc.json b/rust/cloud-storage/.sqlx/query-8748bb91363013514f0b55046bc8a1917acb27181343384b86c0a9cc750013bc.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8748bb91363013514f0b55046bc8a1917acb27181343384b86c0a9cc750013bc.json
rename to rust/cloud-storage/.sqlx/query-8748bb91363013514f0b55046bc8a1917acb27181343384b86c0a9cc750013bc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json b/rust/cloud-storage/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json
rename to rust/cloud-storage/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json
diff --git a/rust/cloud-storage/email/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json b/rust/cloud-storage/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json
rename to rust/cloud-storage/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json b/rust/cloud-storage/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json
rename to rust/cloud-storage/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json
diff --git a/rust/cloud-storage/call/.sqlx/query-886275b4d23bf6206967bdcf78fb244dfa038f9cef7190a9893ae3ba3207f7a5.json b/rust/cloud-storage/.sqlx/query-886275b4d23bf6206967bdcf78fb244dfa038f9cef7190a9893ae3ba3207f7a5.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-886275b4d23bf6206967bdcf78fb244dfa038f9cef7190a9893ae3ba3207f7a5.json
rename to rust/cloud-storage/.sqlx/query-886275b4d23bf6206967bdcf78fb244dfa038f9cef7190a9893ae3ba3207f7a5.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-888ef7d64ac87598ecb72012cfd89a38a749efb40b4e033f4525fcf03755c2de.json b/rust/cloud-storage/.sqlx/query-888ef7d64ac87598ecb72012cfd89a38a749efb40b4e033f4525fcf03755c2de.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-888ef7d64ac87598ecb72012cfd89a38a749efb40b4e033f4525fcf03755c2de.json
rename to rust/cloud-storage/.sqlx/query-888ef7d64ac87598ecb72012cfd89a38a749efb40b4e033f4525fcf03755c2de.json
diff --git a/rust/cloud-storage/email/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json b/rust/cloud-storage/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
rename to rust/cloud-storage/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json b/rust/cloud-storage/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json
rename to rust/cloud-storage/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json
diff --git a/rust/cloud-storage/frecency/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json b/rust/cloud-storage/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json
similarity index 100%
rename from rust/cloud-storage/frecency/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json
rename to rust/cloud-storage/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8942100b50a073f4f95b37246d355dc8b17c5a105492901ad72da89438ec6601.json b/rust/cloud-storage/.sqlx/query-8942100b50a073f4f95b37246d355dc8b17c5a105492901ad72da89438ec6601.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8942100b50a073f4f95b37246d355dc8b17c5a105492901ad72da89438ec6601.json
rename to rust/cloud-storage/.sqlx/query-8942100b50a073f4f95b37246d355dc8b17c5a105492901ad72da89438ec6601.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json b/rust/cloud-storage/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json
rename to rust/cloud-storage/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json b/rust/cloud-storage/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json
rename to rust/cloud-storage/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json b/rust/cloud-storage/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json
rename to rust/cloud-storage/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8a1debc8a93f83a63f33dfd12a1eb8f707e99f0a207a9b34f27848ab362a7bff.json b/rust/cloud-storage/.sqlx/query-8a1debc8a93f83a63f33dfd12a1eb8f707e99f0a207a9b34f27848ab362a7bff.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8a1debc8a93f83a63f33dfd12a1eb8f707e99f0a207a9b34f27848ab362a7bff.json
rename to rust/cloud-storage/.sqlx/query-8a1debc8a93f83a63f33dfd12a1eb8f707e99f0a207a9b34f27848ab362a7bff.json
diff --git a/rust/cloud-storage/frecency/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json b/rust/cloud-storage/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json
similarity index 100%
rename from rust/cloud-storage/frecency/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json
rename to rust/cloud-storage/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json b/rust/cloud-storage/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json
rename to rust/cloud-storage/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8ace9a37af485ba737647968d2f36d64a890e17f75447b5b7bc743347d16a91b.json b/rust/cloud-storage/.sqlx/query-8ace9a37af485ba737647968d2f36d64a890e17f75447b5b7bc743347d16a91b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8ace9a37af485ba737647968d2f36d64a890e17f75447b5b7bc743347d16a91b.json
rename to rust/cloud-storage/.sqlx/query-8ace9a37af485ba737647968d2f36d64a890e17f75447b5b7bc743347d16a91b.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8ad8fb713125453e2416a6a4992c01f32d29696d130e0e1f46599273575bcb02.json b/rust/cloud-storage/.sqlx/query-8ad8fb713125453e2416a6a4992c01f32d29696d130e0e1f46599273575bcb02.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8ad8fb713125453e2416a6a4992c01f32d29696d130e0e1f46599273575bcb02.json
rename to rust/cloud-storage/.sqlx/query-8ad8fb713125453e2416a6a4992c01f32d29696d130e0e1f46599273575bcb02.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8ada8f1fc3affb75cda0d8c749204d8c58ec09f88682ed2e5ec0ea26605cba2b.json b/rust/cloud-storage/.sqlx/query-8ada8f1fc3affb75cda0d8c749204d8c58ec09f88682ed2e5ec0ea26605cba2b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8ada8f1fc3affb75cda0d8c749204d8c58ec09f88682ed2e5ec0ea26605cba2b.json
rename to rust/cloud-storage/.sqlx/query-8ada8f1fc3affb75cda0d8c749204d8c58ec09f88682ed2e5ec0ea26605cba2b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json b/rust/cloud-storage/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json
rename to rust/cloud-storage/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json
diff --git a/rust/cloud-storage/email/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json b/rust/cloud-storage/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json
rename to rust/cloud-storage/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json b/rust/cloud-storage/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json
rename to rust/cloud-storage/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json b/rust/cloud-storage/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json
rename to rust/cloud-storage/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8b8194993cc2ec93b2db6104da98fe3569d973d3d2a3f723c70414c04cc574ef.json b/rust/cloud-storage/.sqlx/query-8b8194993cc2ec93b2db6104da98fe3569d973d3d2a3f723c70414c04cc574ef.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8b8194993cc2ec93b2db6104da98fe3569d973d3d2a3f723c70414c04cc574ef.json
rename to rust/cloud-storage/.sqlx/query-8b8194993cc2ec93b2db6104da98fe3569d973d3d2a3f723c70414c04cc574ef.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json b/rust/cloud-storage/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json
rename to rust/cloud-storage/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json b/rust/cloud-storage/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json
rename to rust/cloud-storage/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json b/rust/cloud-storage/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
rename to rust/cloud-storage/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json b/rust/cloud-storage/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json
rename to rust/cloud-storage/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json b/rust/cloud-storage/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json
rename to rust/cloud-storage/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json b/rust/cloud-storage/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json
rename to rust/cloud-storage/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8d3fe39f31059bd0a830f027fbb9aa2089b8ab3ea0cf3fbe3b35d6f17be9b355.json b/rust/cloud-storage/.sqlx/query-8d3fe39f31059bd0a830f027fbb9aa2089b8ab3ea0cf3fbe3b35d6f17be9b355.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-8d3fe39f31059bd0a830f027fbb9aa2089b8ab3ea0cf3fbe3b35d6f17be9b355.json
rename to rust/cloud-storage/.sqlx/query-8d3fe39f31059bd0a830f027fbb9aa2089b8ab3ea0cf3fbe3b35d6f17be9b355.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-8d5ffbdd5be9b1031c7da47bc2d4bcbee35802a575387ef081a09031b42f7de9.json b/rust/cloud-storage/.sqlx/query-8d5ffbdd5be9b1031c7da47bc2d4bcbee35802a575387ef081a09031b42f7de9.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-8d5ffbdd5be9b1031c7da47bc2d4bcbee35802a575387ef081a09031b42f7de9.json
rename to rust/cloud-storage/.sqlx/query-8d5ffbdd5be9b1031c7da47bc2d4bcbee35802a575387ef081a09031b42f7de9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json b/rust/cloud-storage/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json
rename to rust/cloud-storage/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8e239c46742a642923b5367a73cfcc0f253c96269afb634301ed6d207c206107.json b/rust/cloud-storage/.sqlx/query-8e239c46742a642923b5367a73cfcc0f253c96269afb634301ed6d207c206107.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-8e239c46742a642923b5367a73cfcc0f253c96269afb634301ed6d207c206107.json
rename to rust/cloud-storage/.sqlx/query-8e239c46742a642923b5367a73cfcc0f253c96269afb634301ed6d207c206107.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json b/rust/cloud-storage/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json
rename to rust/cloud-storage/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json b/rust/cloud-storage/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json
rename to rust/cloud-storage/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-8fc112d6aeef9c2a223351d2b80947769f26aafbebb3a1b0c759f5246fcca507.json b/rust/cloud-storage/.sqlx/query-8fc112d6aeef9c2a223351d2b80947769f26aafbebb3a1b0c759f5246fcca507.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-8fc112d6aeef9c2a223351d2b80947769f26aafbebb3a1b0c759f5246fcca507.json
rename to rust/cloud-storage/.sqlx/query-8fc112d6aeef9c2a223351d2b80947769f26aafbebb3a1b0c759f5246fcca507.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-8fdd4afe0b260c02acea8a052a6fe39d6ad21150fc2f1049548c724516b9210b.json b/rust/cloud-storage/.sqlx/query-8fdd4afe0b260c02acea8a052a6fe39d6ad21150fc2f1049548c724516b9210b.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-8fdd4afe0b260c02acea8a052a6fe39d6ad21150fc2f1049548c724516b9210b.json
rename to rust/cloud-storage/.sqlx/query-8fdd4afe0b260c02acea8a052a6fe39d6ad21150fc2f1049548c724516b9210b.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8feeae34466cca17ffaacbf1bbe635362915023e2457fe6bb676c05c5d6f9ee2.json b/rust/cloud-storage/.sqlx/query-8feeae34466cca17ffaacbf1bbe635362915023e2457fe6bb676c05c5d6f9ee2.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-8feeae34466cca17ffaacbf1bbe635362915023e2457fe6bb676c05c5d6f9ee2.json
rename to rust/cloud-storage/.sqlx/query-8feeae34466cca17ffaacbf1bbe635362915023e2457fe6bb676c05c5d6f9ee2.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-90832c95920a9b40329509f4ee611f765a6c10025c1b519f4a5d76ccfd64fb75.json b/rust/cloud-storage/.sqlx/query-90832c95920a9b40329509f4ee611f765a6c10025c1b519f4a5d76ccfd64fb75.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-90832c95920a9b40329509f4ee611f765a6c10025c1b519f4a5d76ccfd64fb75.json
rename to rust/cloud-storage/.sqlx/query-90832c95920a9b40329509f4ee611f765a6c10025c1b519f4a5d76ccfd64fb75.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json b/rust/cloud-storage/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json
rename to rust/cloud-storage/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json
diff --git a/rust/cloud-storage/call/.sqlx/query-9096710139da4a36b9a11809a30b65ae3b712a0b659b63e366e5f485b8630951.json b/rust/cloud-storage/.sqlx/query-9096710139da4a36b9a11809a30b65ae3b712a0b659b63e366e5f485b8630951.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-9096710139da4a36b9a11809a30b65ae3b712a0b659b63e366e5f485b8630951.json
rename to rust/cloud-storage/.sqlx/query-9096710139da4a36b9a11809a30b65ae3b712a0b659b63e366e5f485b8630951.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json b/rust/cloud-storage/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json
rename to rust/cloud-storage/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-90fce55ca239e5642b63e553f9492913cced9a2c8a5eac4f07a4f56e621512ee.json b/rust/cloud-storage/.sqlx/query-90fce55ca239e5642b63e553f9492913cced9a2c8a5eac4f07a4f56e621512ee.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-90fce55ca239e5642b63e553f9492913cced9a2c8a5eac4f07a4f56e621512ee.json
rename to rust/cloud-storage/.sqlx/query-90fce55ca239e5642b63e553f9492913cced9a2c8a5eac4f07a4f56e621512ee.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json b/rust/cloud-storage/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json
rename to rust/cloud-storage/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json b/rust/cloud-storage/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json
rename to rust/cloud-storage/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json b/rust/cloud-storage/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json
rename to rust/cloud-storage/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json b/rust/cloud-storage/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json
rename to rust/cloud-storage/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json
diff --git a/rust/cloud-storage/email/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json b/rust/cloud-storage/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json
rename to rust/cloud-storage/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json b/rust/cloud-storage/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json
rename to rust/cloud-storage/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json
diff --git a/rust/cloud-storage/comms_service/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json b/rust/cloud-storage/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json
similarity index 96%
rename from rust/cloud-storage/comms_service/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json
rename to rust/cloud-storage/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json
index d5becc2c4f..567175f84e 100644
--- a/rust/cloud-storage/comms_service/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json
+++ b/rust/cloud-storage/.sqlx/query-92afd811fa4a67de45ac9a1d6d4274f01c865b9c861f2034c89f0531b88aac85.json
@@ -24,7 +24,8 @@
"public",
"organization",
"private",
- "direct_message"
+ "direct_message",
+ "team"
]
}
}
diff --git a/rust/cloud-storage/chat/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json b/rust/cloud-storage/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
rename to rust/cloud-storage/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json b/rust/cloud-storage/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json
rename to rust/cloud-storage/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-93df91392a72cc298609b453dc95621e7690af924a1af7bb4748dc704ed8897d.json b/rust/cloud-storage/.sqlx/query-93df91392a72cc298609b453dc95621e7690af924a1af7bb4748dc704ed8897d.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-93df91392a72cc298609b453dc95621e7690af924a1af7bb4748dc704ed8897d.json
rename to rust/cloud-storage/.sqlx/query-93df91392a72cc298609b453dc95621e7690af924a1af7bb4748dc704ed8897d.json
diff --git a/rust/cloud-storage/call/.sqlx/query-93e41cb92c91a9a26ffbff42116d4311ca4e2ed8e7ff939912a65e045a49c939.json b/rust/cloud-storage/.sqlx/query-93e41cb92c91a9a26ffbff42116d4311ca4e2ed8e7ff939912a65e045a49c939.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-93e41cb92c91a9a26ffbff42116d4311ca4e2ed8e7ff939912a65e045a49c939.json
rename to rust/cloud-storage/.sqlx/query-93e41cb92c91a9a26ffbff42116d4311ca4e2ed8e7ff939912a65e045a49c939.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-93e4b43a340a79ff7a4ebff7ae351893f605ea8a568a304968bec11a6c0cc2b6.json b/rust/cloud-storage/.sqlx/query-93e4b43a340a79ff7a4ebff7ae351893f605ea8a568a304968bec11a6c0cc2b6.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-93e4b43a340a79ff7a4ebff7ae351893f605ea8a568a304968bec11a6c0cc2b6.json
rename to rust/cloud-storage/.sqlx/query-93e4b43a340a79ff7a4ebff7ae351893f605ea8a568a304968bec11a6c0cc2b6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json b/rust/cloud-storage/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json
rename to rust/cloud-storage/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-9460f97a5fe2c0ddb08e81f8ded812694d0f7408053c49c3e58ecca561d67c64.json b/rust/cloud-storage/.sqlx/query-9460f97a5fe2c0ddb08e81f8ded812694d0f7408053c49c3e58ecca561d67c64.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-9460f97a5fe2c0ddb08e81f8ded812694d0f7408053c49c3e58ecca561d67c64.json
rename to rust/cloud-storage/.sqlx/query-9460f97a5fe2c0ddb08e81f8ded812694d0f7408053c49c3e58ecca561d67c64.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-94762871e427a2adfd8fcf6f2655d567f40a1b54a6186e0aa064be0f18212c98.json b/rust/cloud-storage/.sqlx/query-94762871e427a2adfd8fcf6f2655d567f40a1b54a6186e0aa064be0f18212c98.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-94762871e427a2adfd8fcf6f2655d567f40a1b54a6186e0aa064be0f18212c98.json
rename to rust/cloud-storage/.sqlx/query-94762871e427a2adfd8fcf6f2655d567f40a1b54a6186e0aa064be0f18212c98.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-94a1d6338c8e2da84429da7a79f7dcf0a962feb7832aab9fc4bd50613f742b59.json b/rust/cloud-storage/.sqlx/query-94a1d6338c8e2da84429da7a79f7dcf0a962feb7832aab9fc4bd50613f742b59.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-94a1d6338c8e2da84429da7a79f7dcf0a962feb7832aab9fc4bd50613f742b59.json
rename to rust/cloud-storage/.sqlx/query-94a1d6338c8e2da84429da7a79f7dcf0a962feb7832aab9fc4bd50613f742b59.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json b/rust/cloud-storage/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
rename to rust/cloud-storage/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json b/rust/cloud-storage/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json
rename to rust/cloud-storage/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-95c5d4f79e729713642efcda97838eddd466c0ec2ec9f96ae2be185ef9ff1547.json b/rust/cloud-storage/.sqlx/query-95c5d4f79e729713642efcda97838eddd466c0ec2ec9f96ae2be185ef9ff1547.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-95c5d4f79e729713642efcda97838eddd466c0ec2ec9f96ae2be185ef9ff1547.json
rename to rust/cloud-storage/.sqlx/query-95c5d4f79e729713642efcda97838eddd466c0ec2ec9f96ae2be185ef9ff1547.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json b/rust/cloud-storage/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json
rename to rust/cloud-storage/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json b/rust/cloud-storage/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json
rename to rust/cloud-storage/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-966aa67009ff8376169045428a87b81c8ff478ddd1d7116a626d9a7d4bdc0297.json b/rust/cloud-storage/.sqlx/query-966aa67009ff8376169045428a87b81c8ff478ddd1d7116a626d9a7d4bdc0297.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-966aa67009ff8376169045428a87b81c8ff478ddd1d7116a626d9a7d4bdc0297.json
rename to rust/cloud-storage/.sqlx/query-966aa67009ff8376169045428a87b81c8ff478ddd1d7116a626d9a7d4bdc0297.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json b/rust/cloud-storage/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
rename to rust/cloud-storage/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json b/rust/cloud-storage/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json
rename to rust/cloud-storage/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-96a2c0a064e56b4fd812c2768403fc086f4518149772d661222d54592df920d3.json b/rust/cloud-storage/.sqlx/query-96a2c0a064e56b4fd812c2768403fc086f4518149772d661222d54592df920d3.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-96a2c0a064e56b4fd812c2768403fc086f4518149772d661222d54592df920d3.json
rename to rust/cloud-storage/.sqlx/query-96a2c0a064e56b4fd812c2768403fc086f4518149772d661222d54592df920d3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json b/rust/cloud-storage/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json
rename to rust/cloud-storage/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json b/rust/cloud-storage/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json
rename to rust/cloud-storage/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-98923878d16c2d5d2594120fe481fdeb1b2ff97c69fe26b5a09c82d393ce4010.json b/rust/cloud-storage/.sqlx/query-98923878d16c2d5d2594120fe481fdeb1b2ff97c69fe26b5a09c82d393ce4010.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-98923878d16c2d5d2594120fe481fdeb1b2ff97c69fe26b5a09c82d393ce4010.json
rename to rust/cloud-storage/.sqlx/query-98923878d16c2d5d2594120fe481fdeb1b2ff97c69fe26b5a09c82d393ce4010.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json b/rust/cloud-storage/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
rename to rust/cloud-storage/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json b/rust/cloud-storage/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json
rename to rust/cloud-storage/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json
diff --git a/rust/cloud-storage/call/.sqlx/query-98e00e0037837e450a38491da828ff7403ad803c5dfb3bcf1345167fa756211a.json b/rust/cloud-storage/.sqlx/query-98e00e0037837e450a38491da828ff7403ad803c5dfb3bcf1345167fa756211a.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-98e00e0037837e450a38491da828ff7403ad803c5dfb3bcf1345167fa756211a.json
rename to rust/cloud-storage/.sqlx/query-98e00e0037837e450a38491da828ff7403ad803c5dfb3bcf1345167fa756211a.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-993f8bd336bc9ba45ab51edac700887af626bf74de28e395ab8a1875bc9fe9ac.json b/rust/cloud-storage/.sqlx/query-993f8bd336bc9ba45ab51edac700887af626bf74de28e395ab8a1875bc9fe9ac.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-993f8bd336bc9ba45ab51edac700887af626bf74de28e395ab8a1875bc9fe9ac.json
rename to rust/cloud-storage/.sqlx/query-993f8bd336bc9ba45ab51edac700887af626bf74de28e395ab8a1875bc9fe9ac.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json b/rust/cloud-storage/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json
rename to rust/cloud-storage/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-994b928d690be53173114c3aa76a66231fc7b960744db3830385a13a45a3ce8f.json b/rust/cloud-storage/.sqlx/query-994b928d690be53173114c3aa76a66231fc7b960744db3830385a13a45a3ce8f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-994b928d690be53173114c3aa76a66231fc7b960744db3830385a13a45a3ce8f.json
rename to rust/cloud-storage/.sqlx/query-994b928d690be53173114c3aa76a66231fc7b960744db3830385a13a45a3ce8f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json b/rust/cloud-storage/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json
rename to rust/cloud-storage/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json b/rust/cloud-storage/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json
rename to rust/cloud-storage/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-9a32d4826e372e762f828cb5aed93f60b6731fa2c553f3fda711cf72f1574fae.json b/rust/cloud-storage/.sqlx/query-9a32d4826e372e762f828cb5aed93f60b6731fa2c553f3fda711cf72f1574fae.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-9a32d4826e372e762f828cb5aed93f60b6731fa2c553f3fda711cf72f1574fae.json
rename to rust/cloud-storage/.sqlx/query-9a32d4826e372e762f828cb5aed93f60b6731fa2c553f3fda711cf72f1574fae.json
diff --git a/rust/cloud-storage/contacts_db_client/.sqlx/query-9a75ce409d6381b9573792408e43bb128e1db5454ad95f6cbc39b4aa35458341.json b/rust/cloud-storage/.sqlx/query-9a75ce409d6381b9573792408e43bb128e1db5454ad95f6cbc39b4aa35458341.json
similarity index 100%
rename from rust/cloud-storage/contacts_db_client/.sqlx/query-9a75ce409d6381b9573792408e43bb128e1db5454ad95f6cbc39b4aa35458341.json
rename to rust/cloud-storage/.sqlx/query-9a75ce409d6381b9573792408e43bb128e1db5454ad95f6cbc39b4aa35458341.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json b/rust/cloud-storage/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json
rename to rust/cloud-storage/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-9ad1a505be647e76d4282b62012cb223cda097f8b2d35d22f446f873960480c0.json b/rust/cloud-storage/.sqlx/query-9ad1a505be647e76d4282b62012cb223cda097f8b2d35d22f446f873960480c0.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-9ad1a505be647e76d4282b62012cb223cda097f8b2d35d22f446f873960480c0.json
rename to rust/cloud-storage/.sqlx/query-9ad1a505be647e76d4282b62012cb223cda097f8b2d35d22f446f873960480c0.json
diff --git a/rust/cloud-storage/comms/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json b/rust/cloud-storage/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json
similarity index 100%
rename from rust/cloud-storage/comms/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json
rename to rust/cloud-storage/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-9b0034065161dec2180a9714d46745b36e32ab06043cd636bbfab029d173bf72.json b/rust/cloud-storage/.sqlx/query-9b0034065161dec2180a9714d46745b36e32ab06043cd636bbfab029d173bf72.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-9b0034065161dec2180a9714d46745b36e32ab06043cd636bbfab029d173bf72.json
rename to rust/cloud-storage/.sqlx/query-9b0034065161dec2180a9714d46745b36e32ab06043cd636bbfab029d173bf72.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json b/rust/cloud-storage/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json
rename to rust/cloud-storage/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json b/rust/cloud-storage/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json
rename to rust/cloud-storage/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-9c4e25c3a319934aa1bbf165f19683f34a3f5684edaa965cbdb1b09e422cab8b.json b/rust/cloud-storage/.sqlx/query-9c4e25c3a319934aa1bbf165f19683f34a3f5684edaa965cbdb1b09e422cab8b.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-9c4e25c3a319934aa1bbf165f19683f34a3f5684edaa965cbdb1b09e422cab8b.json
rename to rust/cloud-storage/.sqlx/query-9c4e25c3a319934aa1bbf165f19683f34a3f5684edaa965cbdb1b09e422cab8b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json b/rust/cloud-storage/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json
rename to rust/cloud-storage/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json b/rust/cloud-storage/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json
rename to rust/cloud-storage/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json b/rust/cloud-storage/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json
rename to rust/cloud-storage/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-9cf47f4d88c29f80e8698b91319d81031064da7fa08afec7364df40546b1ac0c.json b/rust/cloud-storage/.sqlx/query-9cf47f4d88c29f80e8698b91319d81031064da7fa08afec7364df40546b1ac0c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-9cf47f4d88c29f80e8698b91319d81031064da7fa08afec7364df40546b1ac0c.json
rename to rust/cloud-storage/.sqlx/query-9cf47f4d88c29f80e8698b91319d81031064da7fa08afec7364df40546b1ac0c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json b/rust/cloud-storage/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json
rename to rust/cloud-storage/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json b/rust/cloud-storage/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json
rename to rust/cloud-storage/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json b/rust/cloud-storage/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json
rename to rust/cloud-storage/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json b/rust/cloud-storage/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json
rename to rust/cloud-storage/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json
diff --git a/rust/cloud-storage/email/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json b/rust/cloud-storage/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json
rename to rust/cloud-storage/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json b/rust/cloud-storage/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
rename to rust/cloud-storage/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
diff --git a/rust/cloud-storage/memory/.sqlx/query-a0ccb1b43344dc0501f538d62f7b3209dfe7e2e60fa1396cfb3efff85e9d8c4d.json b/rust/cloud-storage/.sqlx/query-a0ccb1b43344dc0501f538d62f7b3209dfe7e2e60fa1396cfb3efff85e9d8c4d.json
similarity index 100%
rename from rust/cloud-storage/memory/.sqlx/query-a0ccb1b43344dc0501f538d62f7b3209dfe7e2e60fa1396cfb3efff85e9d8c4d.json
rename to rust/cloud-storage/.sqlx/query-a0ccb1b43344dc0501f538d62f7b3209dfe7e2e60fa1396cfb3efff85e9d8c4d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json b/rust/cloud-storage/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json
rename to rust/cloud-storage/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json b/rust/cloud-storage/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json
rename to rust/cloud-storage/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-a1936db1ca47241996be534e0e64bb36b63fabbaf3e826459537e089ed3c19a7.json b/rust/cloud-storage/.sqlx/query-a1936db1ca47241996be534e0e64bb36b63fabbaf3e826459537e089ed3c19a7.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-a1936db1ca47241996be534e0e64bb36b63fabbaf3e826459537e089ed3c19a7.json
rename to rust/cloud-storage/.sqlx/query-a1936db1ca47241996be534e0e64bb36b63fabbaf3e826459537e089ed3c19a7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json b/rust/cloud-storage/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json
rename to rust/cloud-storage/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-a1f3c98d938438393223aa8bde6c115cd53ef8d352740fbcaff2f3e53a630295.json b/rust/cloud-storage/.sqlx/query-a1f3c98d938438393223aa8bde6c115cd53ef8d352740fbcaff2f3e53a630295.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-a1f3c98d938438393223aa8bde6c115cd53ef8d352740fbcaff2f3e53a630295.json
rename to rust/cloud-storage/.sqlx/query-a1f3c98d938438393223aa8bde6c115cd53ef8d352740fbcaff2f3e53a630295.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json b/rust/cloud-storage/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json
rename to rust/cloud-storage/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json b/rust/cloud-storage/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json
rename to rust/cloud-storage/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json b/rust/cloud-storage/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json
rename to rust/cloud-storage/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json b/rust/cloud-storage/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json
rename to rust/cloud-storage/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-a2af7d24d1993fbdc8fc31149a376803fa1c00827bcb8f51c7d000c0a9adfa94.json b/rust/cloud-storage/.sqlx/query-a2af7d24d1993fbdc8fc31149a376803fa1c00827bcb8f51c7d000c0a9adfa94.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-a2af7d24d1993fbdc8fc31149a376803fa1c00827bcb8f51c7d000c0a9adfa94.json
rename to rust/cloud-storage/.sqlx/query-a2af7d24d1993fbdc8fc31149a376803fa1c00827bcb8f51c7d000c0a9adfa94.json
diff --git a/rust/cloud-storage/email/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json b/rust/cloud-storage/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json
rename to rust/cloud-storage/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-a321d44c7093eba7f5af8adf30827efead8bb987ad26e89f2e12f875ff38e0be.json b/rust/cloud-storage/.sqlx/query-a321d44c7093eba7f5af8adf30827efead8bb987ad26e89f2e12f875ff38e0be.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-a321d44c7093eba7f5af8adf30827efead8bb987ad26e89f2e12f875ff38e0be.json
rename to rust/cloud-storage/.sqlx/query-a321d44c7093eba7f5af8adf30827efead8bb987ad26e89f2e12f875ff38e0be.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-a3637a7a136eefc6bf21f28a9ae693dd3ab1eb8b4f310528a43e630e233446cb.json b/rust/cloud-storage/.sqlx/query-a3637a7a136eefc6bf21f28a9ae693dd3ab1eb8b4f310528a43e630e233446cb.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-a3637a7a136eefc6bf21f28a9ae693dd3ab1eb8b4f310528a43e630e233446cb.json
rename to rust/cloud-storage/.sqlx/query-a3637a7a136eefc6bf21f28a9ae693dd3ab1eb8b4f310528a43e630e233446cb.json
diff --git a/rust/cloud-storage/github/.sqlx/query-a386157d6a94f85f1e1c2c0c0cfe39345a04dee3de88fd4cbc8fc6ab8f34da60.json b/rust/cloud-storage/.sqlx/query-a386157d6a94f85f1e1c2c0c0cfe39345a04dee3de88fd4cbc8fc6ab8f34da60.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-a386157d6a94f85f1e1c2c0c0cfe39345a04dee3de88fd4cbc8fc6ab8f34da60.json
rename to rust/cloud-storage/.sqlx/query-a386157d6a94f85f1e1c2c0c0cfe39345a04dee3de88fd4cbc8fc6ab8f34da60.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json b/rust/cloud-storage/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json
rename to rust/cloud-storage/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-a3a570d4857e91eb55d5e4299f9a856e70e71c0a070f0a1a005ba5e2aa7eabac.json b/rust/cloud-storage/.sqlx/query-a3a570d4857e91eb55d5e4299f9a856e70e71c0a070f0a1a005ba5e2aa7eabac.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-a3a570d4857e91eb55d5e4299f9a856e70e71c0a070f0a1a005ba5e2aa7eabac.json
rename to rust/cloud-storage/.sqlx/query-a3a570d4857e91eb55d5e4299f9a856e70e71c0a070f0a1a005ba5e2aa7eabac.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a4daed99335672e203439ce74d8697936821511404ffb49c7ca4b8134e9c9147.json b/rust/cloud-storage/.sqlx/query-a4daed99335672e203439ce74d8697936821511404ffb49c7ca4b8134e9c9147.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a4daed99335672e203439ce74d8697936821511404ffb49c7ca4b8134e9c9147.json
rename to rust/cloud-storage/.sqlx/query-a4daed99335672e203439ce74d8697936821511404ffb49c7ca4b8134e9c9147.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json b/rust/cloud-storage/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json
rename to rust/cloud-storage/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json b/rust/cloud-storage/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json
rename to rust/cloud-storage/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json b/rust/cloud-storage/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json
rename to rust/cloud-storage/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-a5aedcffb360128c84269103ae40fa87aa2f14601611e60570808bd0946f5baa.json b/rust/cloud-storage/.sqlx/query-a5aedcffb360128c84269103ae40fa87aa2f14601611e60570808bd0946f5baa.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-a5aedcffb360128c84269103ae40fa87aa2f14601611e60570808bd0946f5baa.json
rename to rust/cloud-storage/.sqlx/query-a5aedcffb360128c84269103ae40fa87aa2f14601611e60570808bd0946f5baa.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json b/rust/cloud-storage/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json
rename to rust/cloud-storage/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json b/rust/cloud-storage/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
rename to rust/cloud-storage/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-a5ea0cf5ff502359e9ebc01d0f8758d171081c5aa35c785b178150aa9d8d3635.json b/rust/cloud-storage/.sqlx/query-a5ea0cf5ff502359e9ebc01d0f8758d171081c5aa35c785b178150aa9d8d3635.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-a5ea0cf5ff502359e9ebc01d0f8758d171081c5aa35c785b178150aa9d8d3635.json
rename to rust/cloud-storage/.sqlx/query-a5ea0cf5ff502359e9ebc01d0f8758d171081c5aa35c785b178150aa9d8d3635.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json b/rust/cloud-storage/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json
rename to rust/cloud-storage/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-a669145c6d8f00b9cdf41d2037c0bcfad130247e99f31c127c6dabcbe1b3790d.json b/rust/cloud-storage/.sqlx/query-a669145c6d8f00b9cdf41d2037c0bcfad130247e99f31c127c6dabcbe1b3790d.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-a669145c6d8f00b9cdf41d2037c0bcfad130247e99f31c127c6dabcbe1b3790d.json
rename to rust/cloud-storage/.sqlx/query-a669145c6d8f00b9cdf41d2037c0bcfad130247e99f31c127c6dabcbe1b3790d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json b/rust/cloud-storage/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json
rename to rust/cloud-storage/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-a6f46322f22f9e47daefa28ad65647888af5486e729bb5475dfabd21b01b4bf6.json b/rust/cloud-storage/.sqlx/query-a6f46322f22f9e47daefa28ad65647888af5486e729bb5475dfabd21b01b4bf6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-a6f46322f22f9e47daefa28ad65647888af5486e729bb5475dfabd21b01b4bf6.json
rename to rust/cloud-storage/.sqlx/query-a6f46322f22f9e47daefa28ad65647888af5486e729bb5475dfabd21b01b4bf6.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-a72817a08ba25d9f09627854a16a4016db81bdbebd7ea0add856bc3eca7a7ba6.json b/rust/cloud-storage/.sqlx/query-a72817a08ba25d9f09627854a16a4016db81bdbebd7ea0add856bc3eca7a7ba6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-a72817a08ba25d9f09627854a16a4016db81bdbebd7ea0add856bc3eca7a7ba6.json
rename to rust/cloud-storage/.sqlx/query-a72817a08ba25d9f09627854a16a4016db81bdbebd7ea0add856bc3eca7a7ba6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json b/rust/cloud-storage/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json
rename to rust/cloud-storage/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json b/rust/cloud-storage/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json
rename to rust/cloud-storage/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json
diff --git a/rust/cloud-storage/email/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json b/rust/cloud-storage/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json
rename to rust/cloud-storage/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json b/rust/cloud-storage/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json
rename to rust/cloud-storage/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json b/rust/cloud-storage/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json
rename to rust/cloud-storage/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json b/rust/cloud-storage/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json
rename to rust/cloud-storage/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json b/rust/cloud-storage/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json
rename to rust/cloud-storage/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json b/rust/cloud-storage/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json
rename to rust/cloud-storage/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-a9adc96aff5f25177495a9258a185d8cf8a255b6805fecec787953461a09d78b.json b/rust/cloud-storage/.sqlx/query-a9adc96aff5f25177495a9258a185d8cf8a255b6805fecec787953461a09d78b.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-a9adc96aff5f25177495a9258a185d8cf8a255b6805fecec787953461a09d78b.json
rename to rust/cloud-storage/.sqlx/query-a9adc96aff5f25177495a9258a185d8cf8a255b6805fecec787953461a09d78b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json b/rust/cloud-storage/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json
rename to rust/cloud-storage/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-aacb409624ba2c9ec8838ba1653bde46c44d19face725f848d1d53c364a73909.json b/rust/cloud-storage/.sqlx/query-aacb409624ba2c9ec8838ba1653bde46c44d19face725f848d1d53c364a73909.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-aacb409624ba2c9ec8838ba1653bde46c44d19face725f848d1d53c364a73909.json
rename to rust/cloud-storage/.sqlx/query-aacb409624ba2c9ec8838ba1653bde46c44d19face725f848d1d53c364a73909.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-aae2ef0d294ae7736898e9b32be12cfabedfb8164af00cdb4a52c9d1f98229af.json b/rust/cloud-storage/.sqlx/query-aae2ef0d294ae7736898e9b32be12cfabedfb8164af00cdb4a52c9d1f98229af.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-aae2ef0d294ae7736898e9b32be12cfabedfb8164af00cdb4a52c9d1f98229af.json
rename to rust/cloud-storage/.sqlx/query-aae2ef0d294ae7736898e9b32be12cfabedfb8164af00cdb4a52c9d1f98229af.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json b/rust/cloud-storage/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json
rename to rust/cloud-storage/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-ab394ab1dcafaff117ba75dd454c9ef5dc894f2a86012e54c8bd5e085458a89d.json b/rust/cloud-storage/.sqlx/query-ab394ab1dcafaff117ba75dd454c9ef5dc894f2a86012e54c8bd5e085458a89d.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-ab394ab1dcafaff117ba75dd454c9ef5dc894f2a86012e54c8bd5e085458a89d.json
rename to rust/cloud-storage/.sqlx/query-ab394ab1dcafaff117ba75dd454c9ef5dc894f2a86012e54c8bd5e085458a89d.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-ab3aa320a07e9885f1de7995533b75dfc995ac18e421ca940dd0828aa32b47a6.json b/rust/cloud-storage/.sqlx/query-ab3aa320a07e9885f1de7995533b75dfc995ac18e421ca940dd0828aa32b47a6.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-ab3aa320a07e9885f1de7995533b75dfc995ac18e421ca940dd0828aa32b47a6.json
rename to rust/cloud-storage/.sqlx/query-ab3aa320a07e9885f1de7995533b75dfc995ac18e421ca940dd0828aa32b47a6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json b/rust/cloud-storage/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json
rename to rust/cloud-storage/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json b/rust/cloud-storage/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
rename to rust/cloud-storage/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json b/rust/cloud-storage/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
rename to rust/cloud-storage/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-ac72213b35da176efad40d8acc0b77bede612a071cd8b18bb8d68965c1414204.json b/rust/cloud-storage/.sqlx/query-ac72213b35da176efad40d8acc0b77bede612a071cd8b18bb8d68965c1414204.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-ac72213b35da176efad40d8acc0b77bede612a071cd8b18bb8d68965c1414204.json
rename to rust/cloud-storage/.sqlx/query-ac72213b35da176efad40d8acc0b77bede612a071cd8b18bb8d68965c1414204.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json b/rust/cloud-storage/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json
rename to rust/cloud-storage/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json b/rust/cloud-storage/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json
rename to rust/cloud-storage/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-ae5a21740f17c450f53a07e833b6ab8dc226dd06869786792add6fe5535da1e7.json b/rust/cloud-storage/.sqlx/query-ae5a21740f17c450f53a07e833b6ab8dc226dd06869786792add6fe5535da1e7.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-ae5a21740f17c450f53a07e833b6ab8dc226dd06869786792add6fe5535da1e7.json
rename to rust/cloud-storage/.sqlx/query-ae5a21740f17c450f53a07e833b6ab8dc226dd06869786792add6fe5535da1e7.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-aec91142f83fc2f19972a0ae096e3b21c571b2c5a97baa04d68a2f6da500bd79.json b/rust/cloud-storage/.sqlx/query-aec91142f83fc2f19972a0ae096e3b21c571b2c5a97baa04d68a2f6da500bd79.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-aec91142f83fc2f19972a0ae096e3b21c571b2c5a97baa04d68a2f6da500bd79.json
rename to rust/cloud-storage/.sqlx/query-aec91142f83fc2f19972a0ae096e3b21c571b2c5a97baa04d68a2f6da500bd79.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json b/rust/cloud-storage/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json
rename to rust/cloud-storage/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json b/rust/cloud-storage/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json
rename to rust/cloud-storage/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-af5bcc105de6d97d360513479747e8f32d4045c3e2baa01c7100ba834dcf80e4.json b/rust/cloud-storage/.sqlx/query-af5bcc105de6d97d360513479747e8f32d4045c3e2baa01c7100ba834dcf80e4.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-af5bcc105de6d97d360513479747e8f32d4045c3e2baa01c7100ba834dcf80e4.json
rename to rust/cloud-storage/.sqlx/query-af5bcc105de6d97d360513479747e8f32d4045c3e2baa01c7100ba834dcf80e4.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-aff64439216b670564911e5ce55437d1fa4498176f5e8deebcfc86f87cb20f54.json b/rust/cloud-storage/.sqlx/query-aff64439216b670564911e5ce55437d1fa4498176f5e8deebcfc86f87cb20f54.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-aff64439216b670564911e5ce55437d1fa4498176f5e8deebcfc86f87cb20f54.json
rename to rust/cloud-storage/.sqlx/query-aff64439216b670564911e5ce55437d1fa4498176f5e8deebcfc86f87cb20f54.json
diff --git a/rust/cloud-storage/backfill_entity_access/.sqlx/query-afff07a12eda767f4facb034315ce7e3d89db508f08afe5c547e981a875e9801.json b/rust/cloud-storage/.sqlx/query-afff07a12eda767f4facb034315ce7e3d89db508f08afe5c547e981a875e9801.json
similarity index 100%
rename from rust/cloud-storage/backfill_entity_access/.sqlx/query-afff07a12eda767f4facb034315ce7e3d89db508f08afe5c547e981a875e9801.json
rename to rust/cloud-storage/.sqlx/query-afff07a12eda767f4facb034315ce7e3d89db508f08afe5c547e981a875e9801.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json b/rust/cloud-storage/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json
rename to rust/cloud-storage/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json b/rust/cloud-storage/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
rename to rust/cloud-storage/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
diff --git a/rust/cloud-storage/email/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json b/rust/cloud-storage/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
rename to rust/cloud-storage/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-b0d3b6f03c4160e443a3fe91c870187c3178efdf6853a22ee319c0163b1f6013.json b/rust/cloud-storage/.sqlx/query-b0d3b6f03c4160e443a3fe91c870187c3178efdf6853a22ee319c0163b1f6013.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-b0d3b6f03c4160e443a3fe91c870187c3178efdf6853a22ee319c0163b1f6013.json
rename to rust/cloud-storage/.sqlx/query-b0d3b6f03c4160e443a3fe91c870187c3178efdf6853a22ee319c0163b1f6013.json
diff --git a/rust/cloud-storage/email/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json b/rust/cloud-storage/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json
rename to rust/cloud-storage/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json
diff --git a/rust/cloud-storage/memory/.sqlx/query-b101ce64403b1af489e1cafdd07cbfc71039effb4d2869606534765bce7b17fc.json b/rust/cloud-storage/.sqlx/query-b101ce64403b1af489e1cafdd07cbfc71039effb4d2869606534765bce7b17fc.json
similarity index 100%
rename from rust/cloud-storage/memory/.sqlx/query-b101ce64403b1af489e1cafdd07cbfc71039effb4d2869606534765bce7b17fc.json
rename to rust/cloud-storage/.sqlx/query-b101ce64403b1af489e1cafdd07cbfc71039effb4d2869606534765bce7b17fc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json b/rust/cloud-storage/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json
rename to rust/cloud-storage/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-b15f651be8f722d57f1c85ca4d9a14cae3fdde155d4f8c94418186d5a37f0686.json b/rust/cloud-storage/.sqlx/query-b15f651be8f722d57f1c85ca4d9a14cae3fdde155d4f8c94418186d5a37f0686.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-b15f651be8f722d57f1c85ca4d9a14cae3fdde155d4f8c94418186d5a37f0686.json
rename to rust/cloud-storage/.sqlx/query-b15f651be8f722d57f1c85ca4d9a14cae3fdde155d4f8c94418186d5a37f0686.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json b/rust/cloud-storage/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json
rename to rust/cloud-storage/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json
diff --git a/rust/cloud-storage/email/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json b/rust/cloud-storage/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json
rename to rust/cloud-storage/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json b/rust/cloud-storage/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
rename to rust/cloud-storage/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json b/rust/cloud-storage/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json
rename to rust/cloud-storage/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json b/rust/cloud-storage/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json
rename to rust/cloud-storage/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b3bb26f4b163d8bea13a5a3fb0ea3d89543ceaefae74f8962e4504196d0b76c2.json b/rust/cloud-storage/.sqlx/query-b3bb26f4b163d8bea13a5a3fb0ea3d89543ceaefae74f8962e4504196d0b76c2.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-b3bb26f4b163d8bea13a5a3fb0ea3d89543ceaefae74f8962e4504196d0b76c2.json
rename to rust/cloud-storage/.sqlx/query-b3bb26f4b163d8bea13a5a3fb0ea3d89543ceaefae74f8962e4504196d0b76c2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json b/rust/cloud-storage/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json
rename to rust/cloud-storage/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json b/rust/cloud-storage/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
rename to rust/cloud-storage/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json b/rust/cloud-storage/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json
rename to rust/cloud-storage/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b43285d8bb2b9758fcc84c13979c3a54ffc28abf61e66e354667d26ef3c40739.json b/rust/cloud-storage/.sqlx/query-b43285d8bb2b9758fcc84c13979c3a54ffc28abf61e66e354667d26ef3c40739.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b43285d8bb2b9758fcc84c13979c3a54ffc28abf61e66e354667d26ef3c40739.json
rename to rust/cloud-storage/.sqlx/query-b43285d8bb2b9758fcc84c13979c3a54ffc28abf61e66e354667d26ef3c40739.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json b/rust/cloud-storage/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
rename to rust/cloud-storage/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
diff --git a/rust/cloud-storage/.sqlx/query-b470add8d87f6fff56d158c2aa9bf5dd871973fd3b9b6e1f25033f24a2cde3bd.json b/rust/cloud-storage/.sqlx/query-b470add8d87f6fff56d158c2aa9bf5dd871973fd3b9b6e1f25033f24a2cde3bd.json
new file mode 100644
index 0000000000..81c4b7f8fe
--- /dev/null
+++ b/rust/cloud-storage/.sqlx/query-b470add8d87f6fff56d158c2aa9bf5dd871973fd3b9b6e1f25033f24a2cde3bd.json
@@ -0,0 +1,34 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n DELETE FROM team_user\n WHERE team_id = $1 AND user_id = $2\n RETURNING tier AS \"tier!: TeamUserTier\"\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "tier!: TeamUserTier",
+ "type_info": {
+ "Custom": {
+ "name": "team_user_tier",
+ "kind": {
+ "Enum": [
+ "haiku",
+ "sonnet",
+ "opus"
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text"
+ ]
+ },
+ "nullable": [
+ false
+ ]
+ },
+ "hash": "b470add8d87f6fff56d158c2aa9bf5dd871973fd3b9b6e1f25033f24a2cde3bd"
+}
diff --git a/rust/cloud-storage/email/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json b/rust/cloud-storage/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json
rename to rust/cloud-storage/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b4dee63c4a43a3451a781ef80fcc67300c2f673a0f7a7f6497690bb3adc8f06c.json b/rust/cloud-storage/.sqlx/query-b4dee63c4a43a3451a781ef80fcc67300c2f673a0f7a7f6497690bb3adc8f06c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-b4dee63c4a43a3451a781ef80fcc67300c2f673a0f7a7f6497690bb3adc8f06c.json
rename to rust/cloud-storage/.sqlx/query-b4dee63c4a43a3451a781ef80fcc67300c2f673a0f7a7f6497690bb3adc8f06c.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-b509140ce307b4e440349fae476518b06d6247bf27821c9bea2f04c1eb999768.json b/rust/cloud-storage/.sqlx/query-b509140ce307b4e440349fae476518b06d6247bf27821c9bea2f04c1eb999768.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-b509140ce307b4e440349fae476518b06d6247bf27821c9bea2f04c1eb999768.json
rename to rust/cloud-storage/.sqlx/query-b509140ce307b4e440349fae476518b06d6247bf27821c9bea2f04c1eb999768.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b514f8481c5d7b865fd3265fd927a9bb5855eb01eb33f90137e7685573b3be8e.json b/rust/cloud-storage/.sqlx/query-b514f8481c5d7b865fd3265fd927a9bb5855eb01eb33f90137e7685573b3be8e.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b514f8481c5d7b865fd3265fd927a9bb5855eb01eb33f90137e7685573b3be8e.json
rename to rust/cloud-storage/.sqlx/query-b514f8481c5d7b865fd3265fd927a9bb5855eb01eb33f90137e7685573b3be8e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json b/rust/cloud-storage/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json
rename to rust/cloud-storage/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json b/rust/cloud-storage/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json
rename to rust/cloud-storage/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b57aac0fecf4aa66721fe3596797e1256c960fed355a37cba8c9c1eeb630a5b6.json b/rust/cloud-storage/.sqlx/query-b57aac0fecf4aa66721fe3596797e1256c960fed355a37cba8c9c1eeb630a5b6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b57aac0fecf4aa66721fe3596797e1256c960fed355a37cba8c9c1eeb630a5b6.json
rename to rust/cloud-storage/.sqlx/query-b57aac0fecf4aa66721fe3596797e1256c960fed355a37cba8c9c1eeb630a5b6.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b5bf34fa23cec47e38d38cee18acffed018d15459e101dc907bd1fafb2158979.json b/rust/cloud-storage/.sqlx/query-b5bf34fa23cec47e38d38cee18acffed018d15459e101dc907bd1fafb2158979.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-b5bf34fa23cec47e38d38cee18acffed018d15459e101dc907bd1fafb2158979.json
rename to rust/cloud-storage/.sqlx/query-b5bf34fa23cec47e38d38cee18acffed018d15459e101dc907bd1fafb2158979.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json b/rust/cloud-storage/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json
rename to rust/cloud-storage/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b658079195dd801dac88ad00ecc09a42de5ded7acd840a8f9a3e065bcf7bcc0c.json b/rust/cloud-storage/.sqlx/query-b658079195dd801dac88ad00ecc09a42de5ded7acd840a8f9a3e065bcf7bcc0c.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-b658079195dd801dac88ad00ecc09a42de5ded7acd840a8f9a3e065bcf7bcc0c.json
rename to rust/cloud-storage/.sqlx/query-b658079195dd801dac88ad00ecc09a42de5ded7acd840a8f9a3e065bcf7bcc0c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json b/rust/cloud-storage/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json
rename to rust/cloud-storage/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json b/rust/cloud-storage/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
rename to rust/cloud-storage/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b683cd2f7a93ff5eb1264823b9a4ce8e500abd7c2e170ce4efc4fa06123e82f6.json b/rust/cloud-storage/.sqlx/query-b683cd2f7a93ff5eb1264823b9a4ce8e500abd7c2e170ce4efc4fa06123e82f6.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b683cd2f7a93ff5eb1264823b9a4ce8e500abd7c2e170ce4efc4fa06123e82f6.json
rename to rust/cloud-storage/.sqlx/query-b683cd2f7a93ff5eb1264823b9a4ce8e500abd7c2e170ce4efc4fa06123e82f6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json b/rust/cloud-storage/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json
rename to rust/cloud-storage/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b6a1865f89084a577115f8567ad657db1f0c4e2420a9f428d8d75defda053444.json b/rust/cloud-storage/.sqlx/query-b6a1865f89084a577115f8567ad657db1f0c4e2420a9f428d8d75defda053444.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-b6a1865f89084a577115f8567ad657db1f0c4e2420a9f428d8d75defda053444.json
rename to rust/cloud-storage/.sqlx/query-b6a1865f89084a577115f8567ad657db1f0c4e2420a9f428d8d75defda053444.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-b6b4b9bdcbfcf72d970393d915c68c6230d9cf7f96e816a3f98a01b62e4a0a6c.json b/rust/cloud-storage/.sqlx/query-b6b4b9bdcbfcf72d970393d915c68c6230d9cf7f96e816a3f98a01b62e4a0a6c.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-b6b4b9bdcbfcf72d970393d915c68c6230d9cf7f96e816a3f98a01b62e4a0a6c.json
rename to rust/cloud-storage/.sqlx/query-b6b4b9bdcbfcf72d970393d915c68c6230d9cf7f96e816a3f98a01b62e4a0a6c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json b/rust/cloud-storage/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json
rename to rust/cloud-storage/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json
diff --git a/rust/cloud-storage/email/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json b/rust/cloud-storage/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json
rename to rust/cloud-storage/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json b/rust/cloud-storage/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json
rename to rust/cloud-storage/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b8284f96e44ea8442487dd5c99733eab3722a94e49bf01605f69c78919d8bff7.json b/rust/cloud-storage/.sqlx/query-b8284f96e44ea8442487dd5c99733eab3722a94e49bf01605f69c78919d8bff7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b8284f96e44ea8442487dd5c99733eab3722a94e49bf01605f69c78919d8bff7.json
rename to rust/cloud-storage/.sqlx/query-b8284f96e44ea8442487dd5c99733eab3722a94e49bf01605f69c78919d8bff7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json b/rust/cloud-storage/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json
rename to rust/cloud-storage/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json b/rust/cloud-storage/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json
rename to rust/cloud-storage/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-b869e283051a5dfccf0f0ac4bdf9693b568ab6d4620ad1b2f5c63d3938e212e6.json b/rust/cloud-storage/.sqlx/query-b869e283051a5dfccf0f0ac4bdf9693b568ab6d4620ad1b2f5c63d3938e212e6.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-b869e283051a5dfccf0f0ac4bdf9693b568ab6d4620ad1b2f5c63d3938e212e6.json
rename to rust/cloud-storage/.sqlx/query-b869e283051a5dfccf0f0ac4bdf9693b568ab6d4620ad1b2f5c63d3938e212e6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json b/rust/cloud-storage/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json
rename to rust/cloud-storage/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b8d8d71ae0d463f8a397b03d6f6d6093127a4ed57fa5ec3c2b43540ddf1fd598.json b/rust/cloud-storage/.sqlx/query-b8d8d71ae0d463f8a397b03d6f6d6093127a4ed57fa5ec3c2b43540ddf1fd598.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-b8d8d71ae0d463f8a397b03d6f6d6093127a4ed57fa5ec3c2b43540ddf1fd598.json
rename to rust/cloud-storage/.sqlx/query-b8d8d71ae0d463f8a397b03d6f6d6093127a4ed57fa5ec3c2b43540ddf1fd598.json
diff --git a/rust/cloud-storage/email/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json b/rust/cloud-storage/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
rename to rust/cloud-storage/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json b/rust/cloud-storage/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json
rename to rust/cloud-storage/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json b/rust/cloud-storage/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json
rename to rust/cloud-storage/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b977844d337884ba073f0e79bdb5c07193441de40e9097a4d52140a48ddab8c4.json b/rust/cloud-storage/.sqlx/query-b977844d337884ba073f0e79bdb5c07193441de40e9097a4d52140a48ddab8c4.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b977844d337884ba073f0e79bdb5c07193441de40e9097a4d52140a48ddab8c4.json
rename to rust/cloud-storage/.sqlx/query-b977844d337884ba073f0e79bdb5c07193441de40e9097a4d52140a48ddab8c4.json
diff --git a/rust/cloud-storage/call/.sqlx/query-b99dfcbe1b18c53fa05a0c44669f6579456c3d49bea87fccdcb9962565543002.json b/rust/cloud-storage/.sqlx/query-b99dfcbe1b18c53fa05a0c44669f6579456c3d49bea87fccdcb9962565543002.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-b99dfcbe1b18c53fa05a0c44669f6579456c3d49bea87fccdcb9962565543002.json
rename to rust/cloud-storage/.sqlx/query-b99dfcbe1b18c53fa05a0c44669f6579456c3d49bea87fccdcb9962565543002.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-b9a4ad717639aa71706e8476ac7eb030794f34cd8e05cc7dff262602d12ddcba.json b/rust/cloud-storage/.sqlx/query-b9a4ad717639aa71706e8476ac7eb030794f34cd8e05cc7dff262602d12ddcba.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-b9a4ad717639aa71706e8476ac7eb030794f34cd8e05cc7dff262602d12ddcba.json
rename to rust/cloud-storage/.sqlx/query-b9a4ad717639aa71706e8476ac7eb030794f34cd8e05cc7dff262602d12ddcba.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-ba28ed6c5ce49470b0aef3fb0f59d392b5780cc548f331263a581d1b011eb970.json b/rust/cloud-storage/.sqlx/query-ba28ed6c5ce49470b0aef3fb0f59d392b5780cc548f331263a581d1b011eb970.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-ba28ed6c5ce49470b0aef3fb0f59d392b5780cc548f331263a581d1b011eb970.json
rename to rust/cloud-storage/.sqlx/query-ba28ed6c5ce49470b0aef3fb0f59d392b5780cc548f331263a581d1b011eb970.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ba3ab3dc338552f6b794ab5405655fe673e71f02106e9792cc4cac40f69b9176.json b/rust/cloud-storage/.sqlx/query-ba3ab3dc338552f6b794ab5405655fe673e71f02106e9792cc4cac40f69b9176.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ba3ab3dc338552f6b794ab5405655fe673e71f02106e9792cc4cac40f69b9176.json
rename to rust/cloud-storage/.sqlx/query-ba3ab3dc338552f6b794ab5405655fe673e71f02106e9792cc4cac40f69b9176.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json b/rust/cloud-storage/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json
rename to rust/cloud-storage/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json
diff --git a/rust/cloud-storage/backfill_entity_access/.sqlx/query-ba49dfcd0a3ab834f9e61f27a0a80174e549103ee63f03d30fe76857c8803b6a.json b/rust/cloud-storage/.sqlx/query-ba49dfcd0a3ab834f9e61f27a0a80174e549103ee63f03d30fe76857c8803b6a.json
similarity index 100%
rename from rust/cloud-storage/backfill_entity_access/.sqlx/query-ba49dfcd0a3ab834f9e61f27a0a80174e549103ee63f03d30fe76857c8803b6a.json
rename to rust/cloud-storage/.sqlx/query-ba49dfcd0a3ab834f9e61f27a0a80174e549103ee63f03d30fe76857c8803b6a.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-baf9495b799086982dd4aac55683482fce25612d56dfdf78872d74019d8b5429.json b/rust/cloud-storage/.sqlx/query-baf9495b799086982dd4aac55683482fce25612d56dfdf78872d74019d8b5429.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-baf9495b799086982dd4aac55683482fce25612d56dfdf78872d74019d8b5429.json
rename to rust/cloud-storage/.sqlx/query-baf9495b799086982dd4aac55683482fce25612d56dfdf78872d74019d8b5429.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json b/rust/cloud-storage/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json
rename to rust/cloud-storage/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-bbe4822c2e7ba11594b1a4b92f945f4088406bfee6ccb2ef6577643708a5132c.json b/rust/cloud-storage/.sqlx/query-bbe4822c2e7ba11594b1a4b92f945f4088406bfee6ccb2ef6577643708a5132c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-bbe4822c2e7ba11594b1a4b92f945f4088406bfee6ccb2ef6577643708a5132c.json
rename to rust/cloud-storage/.sqlx/query-bbe4822c2e7ba11594b1a4b92f945f4088406bfee6ccb2ef6577643708a5132c.json
diff --git a/rust/cloud-storage/document_cognition_service/.sqlx/query-bbeef57c72ec7a197daf71146f0a5c409a5a54b41a9dd9e3db2267c9ee17d9fd.json b/rust/cloud-storage/.sqlx/query-bbeef57c72ec7a197daf71146f0a5c409a5a54b41a9dd9e3db2267c9ee17d9fd.json
similarity index 100%
rename from rust/cloud-storage/document_cognition_service/.sqlx/query-bbeef57c72ec7a197daf71146f0a5c409a5a54b41a9dd9e3db2267c9ee17d9fd.json
rename to rust/cloud-storage/.sqlx/query-bbeef57c72ec7a197daf71146f0a5c409a5a54b41a9dd9e3db2267c9ee17d9fd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json b/rust/cloud-storage/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json
rename to rust/cloud-storage/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-bc5d03a110b267d3f4e4ae2937b95d91a96794ebdbc864ce0d6d8d455996914f.json b/rust/cloud-storage/.sqlx/query-bc5d03a110b267d3f4e4ae2937b95d91a96794ebdbc864ce0d6d8d455996914f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-bc5d03a110b267d3f4e4ae2937b95d91a96794ebdbc864ce0d6d8d455996914f.json
rename to rust/cloud-storage/.sqlx/query-bc5d03a110b267d3f4e4ae2937b95d91a96794ebdbc864ce0d6d8d455996914f.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-bc7ef8662eb6050c09246ebc169f91d523c596874f216a10180a377bbaf7a1eb.json b/rust/cloud-storage/.sqlx/query-bc7ef8662eb6050c09246ebc169f91d523c596874f216a10180a377bbaf7a1eb.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-bc7ef8662eb6050c09246ebc169f91d523c596874f216a10180a377bbaf7a1eb.json
rename to rust/cloud-storage/.sqlx/query-bc7ef8662eb6050c09246ebc169f91d523c596874f216a10180a377bbaf7a1eb.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-bcbaaa06fffa75a82e66030d42e2aaa89d56232566edc15d9e9b819b9b02aea9.json b/rust/cloud-storage/.sqlx/query-bcbaaa06fffa75a82e66030d42e2aaa89d56232566edc15d9e9b819b9b02aea9.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-bcbaaa06fffa75a82e66030d42e2aaa89d56232566edc15d9e9b819b9b02aea9.json
rename to rust/cloud-storage/.sqlx/query-bcbaaa06fffa75a82e66030d42e2aaa89d56232566edc15d9e9b819b9b02aea9.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-bd6ed4253d2bff9f78562aa09f2cbb794195e1e69ffcbf722c0a2e523f196c2f.json b/rust/cloud-storage/.sqlx/query-bd6ed4253d2bff9f78562aa09f2cbb794195e1e69ffcbf722c0a2e523f196c2f.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-bd6ed4253d2bff9f78562aa09f2cbb794195e1e69ffcbf722c0a2e523f196c2f.json
rename to rust/cloud-storage/.sqlx/query-bd6ed4253d2bff9f78562aa09f2cbb794195e1e69ffcbf722c0a2e523f196c2f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json b/rust/cloud-storage/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
rename to rust/cloud-storage/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json b/rust/cloud-storage/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json
rename to rust/cloud-storage/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json b/rust/cloud-storage/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json
rename to rust/cloud-storage/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-be835e7de49553e947e0d265f8f681321d099febed2ed002dac6d706bf4ec173.json b/rust/cloud-storage/.sqlx/query-be835e7de49553e947e0d265f8f681321d099febed2ed002dac6d706bf4ec173.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-be835e7de49553e947e0d265f8f681321d099febed2ed002dac6d706bf4ec173.json
rename to rust/cloud-storage/.sqlx/query-be835e7de49553e947e0d265f8f681321d099febed2ed002dac6d706bf4ec173.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json b/rust/cloud-storage/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json
rename to rust/cloud-storage/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json b/rust/cloud-storage/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json
rename to rust/cloud-storage/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json
diff --git a/rust/cloud-storage/properties/.sqlx/query-bf308be1e802f2f6552a6bd0282ae985dfb1a3fc738532eca74c6b098c6772c0.json b/rust/cloud-storage/.sqlx/query-bf308be1e802f2f6552a6bd0282ae985dfb1a3fc738532eca74c6b098c6772c0.json
similarity index 100%
rename from rust/cloud-storage/properties/.sqlx/query-bf308be1e802f2f6552a6bd0282ae985dfb1a3fc738532eca74c6b098c6772c0.json
rename to rust/cloud-storage/.sqlx/query-bf308be1e802f2f6552a6bd0282ae985dfb1a3fc738532eca74c6b098c6772c0.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-bf8718d9bd46c2640cdd32ef2b2b2a0cf9a01f27f82076efe47059029af0d753.json b/rust/cloud-storage/.sqlx/query-bf8718d9bd46c2640cdd32ef2b2b2a0cf9a01f27f82076efe47059029af0d753.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-bf8718d9bd46c2640cdd32ef2b2b2a0cf9a01f27f82076efe47059029af0d753.json
rename to rust/cloud-storage/.sqlx/query-bf8718d9bd46c2640cdd32ef2b2b2a0cf9a01f27f82076efe47059029af0d753.json
diff --git a/rust/cloud-storage/call/.sqlx/query-bff6b39be7dcea0033c8105a13952ab868eb03143e3132e63a868f516ca71646.json b/rust/cloud-storage/.sqlx/query-bff6b39be7dcea0033c8105a13952ab868eb03143e3132e63a868f516ca71646.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-bff6b39be7dcea0033c8105a13952ab868eb03143e3132e63a868f516ca71646.json
rename to rust/cloud-storage/.sqlx/query-bff6b39be7dcea0033c8105a13952ab868eb03143e3132e63a868f516ca71646.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-c0273bbd7b7c9e2cb5c3e62268ee09f925536086394de104bc823ad946851b0f.json b/rust/cloud-storage/.sqlx/query-c0273bbd7b7c9e2cb5c3e62268ee09f925536086394de104bc823ad946851b0f.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-c0273bbd7b7c9e2cb5c3e62268ee09f925536086394de104bc823ad946851b0f.json
rename to rust/cloud-storage/.sqlx/query-c0273bbd7b7c9e2cb5c3e62268ee09f925536086394de104bc823ad946851b0f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json b/rust/cloud-storage/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json
rename to rust/cloud-storage/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json b/rust/cloud-storage/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json
rename to rust/cloud-storage/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json b/rust/cloud-storage/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json
rename to rust/cloud-storage/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-c0fe6e2c93305ff791d9386d987d4ea8bacc6cdb063fd8f18894c6b70b9cbd3c.json b/rust/cloud-storage/.sqlx/query-c0fe6e2c93305ff791d9386d987d4ea8bacc6cdb063fd8f18894c6b70b9cbd3c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-c0fe6e2c93305ff791d9386d987d4ea8bacc6cdb063fd8f18894c6b70b9cbd3c.json
rename to rust/cloud-storage/.sqlx/query-c0fe6e2c93305ff791d9386d987d4ea8bacc6cdb063fd8f18894c6b70b9cbd3c.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json b/rust/cloud-storage/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json
rename to rust/cloud-storage/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-c12b8985453ee1e1e49a06e2fa814dea634830b06660aef9661b820760a30768.json b/rust/cloud-storage/.sqlx/query-c12b8985453ee1e1e49a06e2fa814dea634830b06660aef9661b820760a30768.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-c12b8985453ee1e1e49a06e2fa814dea634830b06660aef9661b820760a30768.json
rename to rust/cloud-storage/.sqlx/query-c12b8985453ee1e1e49a06e2fa814dea634830b06660aef9661b820760a30768.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-c12febd2112dc6065735c6e44d735684cd0163b2f71460d838be8eb16a25b7b6.json b/rust/cloud-storage/.sqlx/query-c12febd2112dc6065735c6e44d735684cd0163b2f71460d838be8eb16a25b7b6.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-c12febd2112dc6065735c6e44d735684cd0163b2f71460d838be8eb16a25b7b6.json
rename to rust/cloud-storage/.sqlx/query-c12febd2112dc6065735c6e44d735684cd0163b2f71460d838be8eb16a25b7b6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json b/rust/cloud-storage/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json
rename to rust/cloud-storage/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json b/rust/cloud-storage/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json
rename to rust/cloud-storage/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json b/rust/cloud-storage/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json
rename to rust/cloud-storage/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json
diff --git a/rust/cloud-storage/mobile_welcome_email_db_client/.sqlx/query-c27077a4053c8a35ca011c5edaf08e3bf1c954b1773fcd2ecab33c2ba518ba34.json b/rust/cloud-storage/.sqlx/query-c27077a4053c8a35ca011c5edaf08e3bf1c954b1773fcd2ecab33c2ba518ba34.json
similarity index 100%
rename from rust/cloud-storage/mobile_welcome_email_db_client/.sqlx/query-c27077a4053c8a35ca011c5edaf08e3bf1c954b1773fcd2ecab33c2ba518ba34.json
rename to rust/cloud-storage/.sqlx/query-c27077a4053c8a35ca011c5edaf08e3bf1c954b1773fcd2ecab33c2ba518ba34.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json b/rust/cloud-storage/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json
rename to rust/cloud-storage/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json b/rust/cloud-storage/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json
rename to rust/cloud-storage/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json
diff --git a/rust/cloud-storage/email/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json b/rust/cloud-storage/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json
rename to rust/cloud-storage/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c35b200b4901483cf44b5c34cb7711954310f6eedb582fcc4aa3ecebcb1bd79b.json b/rust/cloud-storage/.sqlx/query-c35b200b4901483cf44b5c34cb7711954310f6eedb582fcc4aa3ecebcb1bd79b.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-c35b200b4901483cf44b5c34cb7711954310f6eedb582fcc4aa3ecebcb1bd79b.json
rename to rust/cloud-storage/.sqlx/query-c35b200b4901483cf44b5c34cb7711954310f6eedb582fcc4aa3ecebcb1bd79b.json
diff --git a/rust/cloud-storage/email/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json b/rust/cloud-storage/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json
rename to rust/cloud-storage/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json b/rust/cloud-storage/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json
rename to rust/cloud-storage/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json b/rust/cloud-storage/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json
rename to rust/cloud-storage/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-c4a1f6b77f876941ec74751bb5813c1328a3716c1d7adc6464b60ff6a3c3e932.json b/rust/cloud-storage/.sqlx/query-c4a1f6b77f876941ec74751bb5813c1328a3716c1d7adc6464b60ff6a3c3e932.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-c4a1f6b77f876941ec74751bb5813c1328a3716c1d7adc6464b60ff6a3c3e932.json
rename to rust/cloud-storage/.sqlx/query-c4a1f6b77f876941ec74751bb5813c1328a3716c1d7adc6464b60ff6a3c3e932.json
diff --git a/rust/cloud-storage/email/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json b/rust/cloud-storage/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json
rename to rust/cloud-storage/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-c50d0f6d2aa615856bba86ac8460b637539f28a5e8644f0467eca7efdb06e387.json b/rust/cloud-storage/.sqlx/query-c50d0f6d2aa615856bba86ac8460b637539f28a5e8644f0467eca7efdb06e387.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-c50d0f6d2aa615856bba86ac8460b637539f28a5e8644f0467eca7efdb06e387.json
rename to rust/cloud-storage/.sqlx/query-c50d0f6d2aa615856bba86ac8460b637539f28a5e8644f0467eca7efdb06e387.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-c5196bb88afe2d67ce0a4fe7eb2c23db0321cc59a5abd6f7f714b0333ca87613.json b/rust/cloud-storage/.sqlx/query-c5196bb88afe2d67ce0a4fe7eb2c23db0321cc59a5abd6f7f714b0333ca87613.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-c5196bb88afe2d67ce0a4fe7eb2c23db0321cc59a5abd6f7f714b0333ca87613.json
rename to rust/cloud-storage/.sqlx/query-c5196bb88afe2d67ce0a4fe7eb2c23db0321cc59a5abd6f7f714b0333ca87613.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json b/rust/cloud-storage/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json
rename to rust/cloud-storage/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json b/rust/cloud-storage/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json
rename to rust/cloud-storage/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-c631a415b25cf9edaf194dc022a044463339682b132e007d56eae675e4795169.json b/rust/cloud-storage/.sqlx/query-c631a415b25cf9edaf194dc022a044463339682b132e007d56eae675e4795169.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-c631a415b25cf9edaf194dc022a044463339682b132e007d56eae675e4795169.json
rename to rust/cloud-storage/.sqlx/query-c631a415b25cf9edaf194dc022a044463339682b132e007d56eae675e4795169.json
diff --git a/rust/cloud-storage/roles_and_permissions/.sqlx/query-c6908e8ef1c196e7785bcc4f1e07c57d66ad08be04685ac40956a2d7d7b396af.json b/rust/cloud-storage/.sqlx/query-c6908e8ef1c196e7785bcc4f1e07c57d66ad08be04685ac40956a2d7d7b396af.json
similarity index 100%
rename from rust/cloud-storage/roles_and_permissions/.sqlx/query-c6908e8ef1c196e7785bcc4f1e07c57d66ad08be04685ac40956a2d7d7b396af.json
rename to rust/cloud-storage/.sqlx/query-c6908e8ef1c196e7785bcc4f1e07c57d66ad08be04685ac40956a2d7d7b396af.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json b/rust/cloud-storage/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json
rename to rust/cloud-storage/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-c6aec8f042b91f510b47cc9cf9a48ab072c216515c897a4a1e10f310cc63b4c4.json b/rust/cloud-storage/.sqlx/query-c6aec8f042b91f510b47cc9cf9a48ab072c216515c897a4a1e10f310cc63b4c4.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-c6aec8f042b91f510b47cc9cf9a48ab072c216515c897a4a1e10f310cc63b4c4.json
rename to rust/cloud-storage/.sqlx/query-c6aec8f042b91f510b47cc9cf9a48ab072c216515c897a4a1e10f310cc63b4c4.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json b/rust/cloud-storage/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json
rename to rust/cloud-storage/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json
diff --git a/rust/cloud-storage/call/.sqlx/query-c707e1d4017c4ab2983364705b6ea9b62060b16ba2e7714d5690cc8311a5e201.json b/rust/cloud-storage/.sqlx/query-c707e1d4017c4ab2983364705b6ea9b62060b16ba2e7714d5690cc8311a5e201.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-c707e1d4017c4ab2983364705b6ea9b62060b16ba2e7714d5690cc8311a5e201.json
rename to rust/cloud-storage/.sqlx/query-c707e1d4017c4ab2983364705b6ea9b62060b16ba2e7714d5690cc8311a5e201.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c78296b868c8a8657e5c2296049fa4809abee07e9fd473a5e9ae00ad8625a108.json b/rust/cloud-storage/.sqlx/query-c78296b868c8a8657e5c2296049fa4809abee07e9fd473a5e9ae00ad8625a108.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c78296b868c8a8657e5c2296049fa4809abee07e9fd473a5e9ae00ad8625a108.json
rename to rust/cloud-storage/.sqlx/query-c78296b868c8a8657e5c2296049fa4809abee07e9fd473a5e9ae00ad8625a108.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json b/rust/cloud-storage/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json
rename to rust/cloud-storage/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json
diff --git a/rust/cloud-storage/email/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json b/rust/cloud-storage/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json
rename to rust/cloud-storage/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json b/rust/cloud-storage/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
rename to rust/cloud-storage/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json b/rust/cloud-storage/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json
rename to rust/cloud-storage/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json
diff --git a/rust/cloud-storage/email/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json b/rust/cloud-storage/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json
rename to rust/cloud-storage/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json b/rust/cloud-storage/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json
rename to rust/cloud-storage/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json b/rust/cloud-storage/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json
rename to rust/cloud-storage/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-c9ff8e2deb86a25e4e0e16c9de66a5c116b68362ec45ffea5e2b25d86cfccf01.json b/rust/cloud-storage/.sqlx/query-c9ff8e2deb86a25e4e0e16c9de66a5c116b68362ec45ffea5e2b25d86cfccf01.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-c9ff8e2deb86a25e4e0e16c9de66a5c116b68362ec45ffea5e2b25d86cfccf01.json
rename to rust/cloud-storage/.sqlx/query-c9ff8e2deb86a25e4e0e16c9de66a5c116b68362ec45ffea5e2b25d86cfccf01.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json b/rust/cloud-storage/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
rename to rust/cloud-storage/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json b/rust/cloud-storage/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json
rename to rust/cloud-storage/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json b/rust/cloud-storage/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json
rename to rust/cloud-storage/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cbb8834b22cfc83665886957d72b6c25ac9159ac952804c94f8061d811e1e7c3.json b/rust/cloud-storage/.sqlx/query-cbb8834b22cfc83665886957d72b6c25ac9159ac952804c94f8061d811e1e7c3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cbb8834b22cfc83665886957d72b6c25ac9159ac952804c94f8061d811e1e7c3.json
rename to rust/cloud-storage/.sqlx/query-cbb8834b22cfc83665886957d72b6c25ac9159ac952804c94f8061d811e1e7c3.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cbc32c96712e2169984254c7fc98f082189e1588601b714f52d11fc273afb01e.json b/rust/cloud-storage/.sqlx/query-cbc32c96712e2169984254c7fc98f082189e1588601b714f52d11fc273afb01e.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cbc32c96712e2169984254c7fc98f082189e1588601b714f52d11fc273afb01e.json
rename to rust/cloud-storage/.sqlx/query-cbc32c96712e2169984254c7fc98f082189e1588601b714f52d11fc273afb01e.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-cbd8fd7362c56f8c1a5bb9db32538a0d4a1716f4d311683cc07f488d33fecad7.json b/rust/cloud-storage/.sqlx/query-cbd8fd7362c56f8c1a5bb9db32538a0d4a1716f4d311683cc07f488d33fecad7.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-cbd8fd7362c56f8c1a5bb9db32538a0d4a1716f4d311683cc07f488d33fecad7.json
rename to rust/cloud-storage/.sqlx/query-cbd8fd7362c56f8c1a5bb9db32538a0d4a1716f4d311683cc07f488d33fecad7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json b/rust/cloud-storage/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json
rename to rust/cloud-storage/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cc006af8fccc5e02930c42ce1251e454df554d615c9ceeff5af763029972af30.json b/rust/cloud-storage/.sqlx/query-cc006af8fccc5e02930c42ce1251e454df554d615c9ceeff5af763029972af30.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cc006af8fccc5e02930c42ce1251e454df554d615c9ceeff5af763029972af30.json
rename to rust/cloud-storage/.sqlx/query-cc006af8fccc5e02930c42ce1251e454df554d615c9ceeff5af763029972af30.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cc0889c0d1cb757fce4cbfbb58eaefb065d608c3866d2707edfec8e907c460c1.json b/rust/cloud-storage/.sqlx/query-cc0889c0d1cb757fce4cbfbb58eaefb065d608c3866d2707edfec8e907c460c1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cc0889c0d1cb757fce4cbfbb58eaefb065d608c3866d2707edfec8e907c460c1.json
rename to rust/cloud-storage/.sqlx/query-cc0889c0d1cb757fce4cbfbb58eaefb065d608c3866d2707edfec8e907c460c1.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cc1d96c7390033014832a250d080d0a6c08112e41f085f59abcc855ef35d5bd2.json b/rust/cloud-storage/.sqlx/query-cc1d96c7390033014832a250d080d0a6c08112e41f085f59abcc855ef35d5bd2.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cc1d96c7390033014832a250d080d0a6c08112e41f085f59abcc855ef35d5bd2.json
rename to rust/cloud-storage/.sqlx/query-cc1d96c7390033014832a250d080d0a6c08112e41f085f59abcc855ef35d5bd2.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json b/rust/cloud-storage/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json
rename to rust/cloud-storage/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json b/rust/cloud-storage/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json
rename to rust/cloud-storage/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json b/rust/cloud-storage/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json
rename to rust/cloud-storage/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json b/rust/cloud-storage/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json
rename to rust/cloud-storage/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json b/rust/cloud-storage/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json
rename to rust/cloud-storage/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json b/rust/cloud-storage/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json
rename to rust/cloud-storage/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json
diff --git a/rust/cloud-storage/entity_access_management/.sqlx/query-cd2ae30f38c8fd4467fafbf57d515e303d2c5bed1c53a5c1cf255a172defa46c.json b/rust/cloud-storage/.sqlx/query-cd2ae30f38c8fd4467fafbf57d515e303d2c5bed1c53a5c1cf255a172defa46c.json
similarity index 100%
rename from rust/cloud-storage/entity_access_management/.sqlx/query-cd2ae30f38c8fd4467fafbf57d515e303d2c5bed1c53a5c1cf255a172defa46c.json
rename to rust/cloud-storage/.sqlx/query-cd2ae30f38c8fd4467fafbf57d515e303d2c5bed1c53a5c1cf255a172defa46c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json b/rust/cloud-storage/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json
rename to rust/cloud-storage/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json b/rust/cloud-storage/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json
rename to rust/cloud-storage/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json b/rust/cloud-storage/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json
rename to rust/cloud-storage/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cdce5c0c87367db68fee9c3107ae916da208d1525bf04497687e941d329513c6.json b/rust/cloud-storage/.sqlx/query-cdce5c0c87367db68fee9c3107ae916da208d1525bf04497687e941d329513c6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cdce5c0c87367db68fee9c3107ae916da208d1525bf04497687e941d329513c6.json
rename to rust/cloud-storage/.sqlx/query-cdce5c0c87367db68fee9c3107ae916da208d1525bf04497687e941d329513c6.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json b/rust/cloud-storage/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json
rename to rust/cloud-storage/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json
diff --git a/rust/cloud-storage/document_cognition_service/.sqlx/query-ce97d5a94360438e17479379fcab57a8d30a1d2a7c03150526322a2aa8175c71.json b/rust/cloud-storage/.sqlx/query-ce97d5a94360438e17479379fcab57a8d30a1d2a7c03150526322a2aa8175c71.json
similarity index 100%
rename from rust/cloud-storage/document_cognition_service/.sqlx/query-ce97d5a94360438e17479379fcab57a8d30a1d2a7c03150526322a2aa8175c71.json
rename to rust/cloud-storage/.sqlx/query-ce97d5a94360438e17479379fcab57a8d30a1d2a7c03150526322a2aa8175c71.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cea740c7d7764d20771d15ddd5cf047e9638cfa5d7e07d9885af0592142e5304.json b/rust/cloud-storage/.sqlx/query-cea740c7d7764d20771d15ddd5cf047e9638cfa5d7e07d9885af0592142e5304.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cea740c7d7764d20771d15ddd5cf047e9638cfa5d7e07d9885af0592142e5304.json
rename to rust/cloud-storage/.sqlx/query-cea740c7d7764d20771d15ddd5cf047e9638cfa5d7e07d9885af0592142e5304.json
diff --git a/rust/cloud-storage/name_search/.sqlx/query-cebafd0d72b44d2f63bce484750fcab2a26f543e5a6ca992e38bdb662dc7c2f4.json b/rust/cloud-storage/.sqlx/query-cebafd0d72b44d2f63bce484750fcab2a26f543e5a6ca992e38bdb662dc7c2f4.json
similarity index 100%
rename from rust/cloud-storage/name_search/.sqlx/query-cebafd0d72b44d2f63bce484750fcab2a26f543e5a6ca992e38bdb662dc7c2f4.json
rename to rust/cloud-storage/.sqlx/query-cebafd0d72b44d2f63bce484750fcab2a26f543e5a6ca992e38bdb662dc7c2f4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json b/rust/cloud-storage/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json
rename to rust/cloud-storage/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json b/rust/cloud-storage/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json
rename to rust/cloud-storage/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json b/rust/cloud-storage/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json
rename to rust/cloud-storage/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-cf47cbebc8adc6834b44c503c18fb66ce5dbb225c7ca91b3d71dcfe398c8f95a.json b/rust/cloud-storage/.sqlx/query-cf47cbebc8adc6834b44c503c18fb66ce5dbb225c7ca91b3d71dcfe398c8f95a.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-cf47cbebc8adc6834b44c503c18fb66ce5dbb225c7ca91b3d71dcfe398c8f95a.json
rename to rust/cloud-storage/.sqlx/query-cf47cbebc8adc6834b44c503c18fb66ce5dbb225c7ca91b3d71dcfe398c8f95a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json b/rust/cloud-storage/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json
rename to rust/cloud-storage/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json b/rust/cloud-storage/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json
rename to rust/cloud-storage/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d025cbcd336023d8d266d144ed579003a1f0f549e4e1585f641c86d0f2336c64.json b/rust/cloud-storage/.sqlx/query-d025cbcd336023d8d266d144ed579003a1f0f549e4e1585f641c86d0f2336c64.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d025cbcd336023d8d266d144ed579003a1f0f549e4e1585f641c86d0f2336c64.json
rename to rust/cloud-storage/.sqlx/query-d025cbcd336023d8d266d144ed579003a1f0f549e4e1585f641c86d0f2336c64.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-d0a3d7eadc0e7d5d469f5ae755561b859efa9b55a2b085a1f564b42024be3e92.json b/rust/cloud-storage/.sqlx/query-d0a3d7eadc0e7d5d469f5ae755561b859efa9b55a2b085a1f564b42024be3e92.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-d0a3d7eadc0e7d5d469f5ae755561b859efa9b55a2b085a1f564b42024be3e92.json
rename to rust/cloud-storage/.sqlx/query-d0a3d7eadc0e7d5d469f5ae755561b859efa9b55a2b085a1f564b42024be3e92.json
diff --git a/rust/cloud-storage/call/.sqlx/query-d0c976b53ed5c8b754013dc219219ae33bff5dc510075ca8f0f24db8a9e1ead6.json b/rust/cloud-storage/.sqlx/query-d0c976b53ed5c8b754013dc219219ae33bff5dc510075ca8f0f24db8a9e1ead6.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-d0c976b53ed5c8b754013dc219219ae33bff5dc510075ca8f0f24db8a9e1ead6.json
rename to rust/cloud-storage/.sqlx/query-d0c976b53ed5c8b754013dc219219ae33bff5dc510075ca8f0f24db8a9e1ead6.json
diff --git a/rust/cloud-storage/call/.sqlx/query-d0dcb62233091aee045f96c8f2cd8ebee5614196a92bcbc250b9702a8194c329.json b/rust/cloud-storage/.sqlx/query-d0dcb62233091aee045f96c8f2cd8ebee5614196a92bcbc250b9702a8194c329.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-d0dcb62233091aee045f96c8f2cd8ebee5614196a92bcbc250b9702a8194c329.json
rename to rust/cloud-storage/.sqlx/query-d0dcb62233091aee045f96c8f2cd8ebee5614196a92bcbc250b9702a8194c329.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json b/rust/cloud-storage/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json
rename to rust/cloud-storage/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json b/rust/cloud-storage/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json
rename to rust/cloud-storage/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json b/rust/cloud-storage/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json
rename to rust/cloud-storage/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json b/rust/cloud-storage/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json
rename to rust/cloud-storage/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json b/rust/cloud-storage/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json
rename to rust/cloud-storage/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json b/rust/cloud-storage/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json
rename to rust/cloud-storage/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-d185f3b4ca09c5a6372f6a64c4e6e5e12937814433dc5499b0dfdbe882c76192.json b/rust/cloud-storage/.sqlx/query-d185f3b4ca09c5a6372f6a64c4e6e5e12937814433dc5499b0dfdbe882c76192.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-d185f3b4ca09c5a6372f6a64c4e6e5e12937814433dc5499b0dfdbe882c76192.json
rename to rust/cloud-storage/.sqlx/query-d185f3b4ca09c5a6372f6a64c4e6e5e12937814433dc5499b0dfdbe882c76192.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d1c575aba71170e53f0d8a786d9c1a67edb6dd76a80889a538b6c1aceb837e45.json b/rust/cloud-storage/.sqlx/query-d1c575aba71170e53f0d8a786d9c1a67edb6dd76a80889a538b6c1aceb837e45.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d1c575aba71170e53f0d8a786d9c1a67edb6dd76a80889a538b6c1aceb837e45.json
rename to rust/cloud-storage/.sqlx/query-d1c575aba71170e53f0d8a786d9c1a67edb6dd76a80889a538b6c1aceb837e45.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json b/rust/cloud-storage/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json
rename to rust/cloud-storage/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-d1f79f2a50de2167f06ac49f52b134ccc3b8eeb070e7fd710b18dbbfc783aa1d.json b/rust/cloud-storage/.sqlx/query-d1f79f2a50de2167f06ac49f52b134ccc3b8eeb070e7fd710b18dbbfc783aa1d.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-d1f79f2a50de2167f06ac49f52b134ccc3b8eeb070e7fd710b18dbbfc783aa1d.json
rename to rust/cloud-storage/.sqlx/query-d1f79f2a50de2167f06ac49f52b134ccc3b8eeb070e7fd710b18dbbfc783aa1d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json b/rust/cloud-storage/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
rename to rust/cloud-storage/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-d20c082d3cea0215d43fba8023c43c48e9ad8b934613ece6777e4948e18572bc.json b/rust/cloud-storage/.sqlx/query-d20c082d3cea0215d43fba8023c43c48e9ad8b934613ece6777e4948e18572bc.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-d20c082d3cea0215d43fba8023c43c48e9ad8b934613ece6777e4948e18572bc.json
rename to rust/cloud-storage/.sqlx/query-d20c082d3cea0215d43fba8023c43c48e9ad8b934613ece6777e4948e18572bc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json b/rust/cloud-storage/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json
rename to rust/cloud-storage/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json
diff --git a/rust/cloud-storage/frecency/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json b/rust/cloud-storage/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json
similarity index 100%
rename from rust/cloud-storage/frecency/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json
rename to rust/cloud-storage/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json b/rust/cloud-storage/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json
rename to rust/cloud-storage/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json
diff --git a/rust/cloud-storage/email/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json b/rust/cloud-storage/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json
rename to rust/cloud-storage/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json b/rust/cloud-storage/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json
rename to rust/cloud-storage/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d50b26323778ecb0ea88bb43c8a3df49df49acf6ec6d56955022e81ae92a2278.json b/rust/cloud-storage/.sqlx/query-d50b26323778ecb0ea88bb43c8a3df49df49acf6ec6d56955022e81ae92a2278.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d50b26323778ecb0ea88bb43c8a3df49df49acf6ec6d56955022e81ae92a2278.json
rename to rust/cloud-storage/.sqlx/query-d50b26323778ecb0ea88bb43c8a3df49df49acf6ec6d56955022e81ae92a2278.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json b/rust/cloud-storage/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json
rename to rust/cloud-storage/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-d5db55179b8f46b8788f1cc573b0734a33e800cd3fd990498c76c991b48931a8.json b/rust/cloud-storage/.sqlx/query-d5db55179b8f46b8788f1cc573b0734a33e800cd3fd990498c76c991b48931a8.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-d5db55179b8f46b8788f1cc573b0734a33e800cd3fd990498c76c991b48931a8.json
rename to rust/cloud-storage/.sqlx/query-d5db55179b8f46b8788f1cc573b0734a33e800cd3fd990498c76c991b48931a8.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json b/rust/cloud-storage/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json
rename to rust/cloud-storage/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-d5ffa82610d978dab83826ea1dfe5c5fdba0126759ea99c27f91555adab1480d.json b/rust/cloud-storage/.sqlx/query-d5ffa82610d978dab83826ea1dfe5c5fdba0126759ea99c27f91555adab1480d.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-d5ffa82610d978dab83826ea1dfe5c5fdba0126759ea99c27f91555adab1480d.json
rename to rust/cloud-storage/.sqlx/query-d5ffa82610d978dab83826ea1dfe5c5fdba0126759ea99c27f91555adab1480d.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d61fd0eda66672d4ba0ed8d648c93fdc9b145bcea0d50bfb62acabba93d5818c.json b/rust/cloud-storage/.sqlx/query-d61fd0eda66672d4ba0ed8d648c93fdc9b145bcea0d50bfb62acabba93d5818c.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d61fd0eda66672d4ba0ed8d648c93fdc9b145bcea0d50bfb62acabba93d5818c.json
rename to rust/cloud-storage/.sqlx/query-d61fd0eda66672d4ba0ed8d648c93fdc9b145bcea0d50bfb62acabba93d5818c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json b/rust/cloud-storage/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json
rename to rust/cloud-storage/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json b/rust/cloud-storage/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json
rename to rust/cloud-storage/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-d7689899580f3928cca462a572058dd54f85dc6082f369fbecb2afa873fda66b.json b/rust/cloud-storage/.sqlx/query-d7689899580f3928cca462a572058dd54f85dc6082f369fbecb2afa873fda66b.json
similarity index 100%
rename from rust/cloud-storage/entity_access/.sqlx/query-d7689899580f3928cca462a572058dd54f85dc6082f369fbecb2afa873fda66b.json
rename to rust/cloud-storage/.sqlx/query-d7689899580f3928cca462a572058dd54f85dc6082f369fbecb2afa873fda66b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json b/rust/cloud-storage/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json
rename to rust/cloud-storage/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-d7a3be325f304ca9642f1ae4f18a3b22e871c61feff6dbc1fe793cedd2cf403c.json b/rust/cloud-storage/.sqlx/query-d7a3be325f304ca9642f1ae4f18a3b22e871c61feff6dbc1fe793cedd2cf403c.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-d7a3be325f304ca9642f1ae4f18a3b22e871c61feff6dbc1fe793cedd2cf403c.json
rename to rust/cloud-storage/.sqlx/query-d7a3be325f304ca9642f1ae4f18a3b22e871c61feff6dbc1fe793cedd2cf403c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json b/rust/cloud-storage/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json
rename to rust/cloud-storage/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json b/rust/cloud-storage/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json
rename to rust/cloud-storage/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json b/rust/cloud-storage/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json
rename to rust/cloud-storage/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d84f480cd90b929670bdbe24b839126ad17975d9f7490e8a5d521e2c1eb752c5.json b/rust/cloud-storage/.sqlx/query-d84f480cd90b929670bdbe24b839126ad17975d9f7490e8a5d521e2c1eb752c5.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d84f480cd90b929670bdbe24b839126ad17975d9f7490e8a5d521e2c1eb752c5.json
rename to rust/cloud-storage/.sqlx/query-d84f480cd90b929670bdbe24b839126ad17975d9f7490e8a5d521e2c1eb752c5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json b/rust/cloud-storage/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json
rename to rust/cloud-storage/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-d86be6e3a5bac69df99498b43dfc645a882c4f965226e71fc300d84a081ad30d.json b/rust/cloud-storage/.sqlx/query-d86be6e3a5bac69df99498b43dfc645a882c4f965226e71fc300d84a081ad30d.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-d86be6e3a5bac69df99498b43dfc645a882c4f965226e71fc300d84a081ad30d.json
rename to rust/cloud-storage/.sqlx/query-d86be6e3a5bac69df99498b43dfc645a882c4f965226e71fc300d84a081ad30d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json b/rust/cloud-storage/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json
rename to rust/cloud-storage/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-d8f3ede64d3ac515f4247672f6edc47ed61f608db54b649cc3daba87817c680a.json b/rust/cloud-storage/.sqlx/query-d8f3ede64d3ac515f4247672f6edc47ed61f608db54b649cc3daba87817c680a.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-d8f3ede64d3ac515f4247672f6edc47ed61f608db54b649cc3daba87817c680a.json
rename to rust/cloud-storage/.sqlx/query-d8f3ede64d3ac515f4247672f6edc47ed61f608db54b649cc3daba87817c680a.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json b/rust/cloud-storage/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json
rename to rust/cloud-storage/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json
diff --git a/rust/cloud-storage/email/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json b/rust/cloud-storage/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json
rename to rust/cloud-storage/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json b/rust/cloud-storage/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json
rename to rust/cloud-storage/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-d9f818ade03e85f7f57ff02b2093b46ac7899be8421cdd83e5dd46f5b8211fd2.json b/rust/cloud-storage/.sqlx/query-d9f818ade03e85f7f57ff02b2093b46ac7899be8421cdd83e5dd46f5b8211fd2.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-d9f818ade03e85f7f57ff02b2093b46ac7899be8421cdd83e5dd46f5b8211fd2.json
rename to rust/cloud-storage/.sqlx/query-d9f818ade03e85f7f57ff02b2093b46ac7899be8421cdd83e5dd46f5b8211fd2.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-da534350a843bec8ccf928f5d774a0a281601cb56674d2b5ea331e02ae8bbf60.json b/rust/cloud-storage/.sqlx/query-da534350a843bec8ccf928f5d774a0a281601cb56674d2b5ea331e02ae8bbf60.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-da534350a843bec8ccf928f5d774a0a281601cb56674d2b5ea331e02ae8bbf60.json
rename to rust/cloud-storage/.sqlx/query-da534350a843bec8ccf928f5d774a0a281601cb56674d2b5ea331e02ae8bbf60.json
diff --git a/rust/cloud-storage/memory/.sqlx/query-da59b393b3c5c2cc664c6ac89fb05dec57b4fb5d0b4ea2def2c8c4978c1d9c36.json b/rust/cloud-storage/.sqlx/query-da59b393b3c5c2cc664c6ac89fb05dec57b4fb5d0b4ea2def2c8c4978c1d9c36.json
similarity index 100%
rename from rust/cloud-storage/memory/.sqlx/query-da59b393b3c5c2cc664c6ac89fb05dec57b4fb5d0b4ea2def2c8c4978c1d9c36.json
rename to rust/cloud-storage/.sqlx/query-da59b393b3c5c2cc664c6ac89fb05dec57b4fb5d0b4ea2def2c8c4978c1d9c36.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json b/rust/cloud-storage/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json
rename to rust/cloud-storage/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json b/rust/cloud-storage/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json
rename to rust/cloud-storage/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json b/rust/cloud-storage/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json
rename to rust/cloud-storage/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-daefc7270b27ce0caef8b61a651c38d76dfd087a2a8032ff6ebce392d7892764.json b/rust/cloud-storage/.sqlx/query-daefc7270b27ce0caef8b61a651c38d76dfd087a2a8032ff6ebce392d7892764.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-daefc7270b27ce0caef8b61a651c38d76dfd087a2a8032ff6ebce392d7892764.json
rename to rust/cloud-storage/.sqlx/query-daefc7270b27ce0caef8b61a651c38d76dfd087a2a8032ff6ebce392d7892764.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json b/rust/cloud-storage/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
rename to rust/cloud-storage/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json b/rust/cloud-storage/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json
rename to rust/cloud-storage/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json b/rust/cloud-storage/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json
rename to rust/cloud-storage/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json b/rust/cloud-storage/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json
rename to rust/cloud-storage/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-dd019c8633d6089e59d0560d601dbb294e66474310e66c28a0a8510c64fca149.json b/rust/cloud-storage/.sqlx/query-dd019c8633d6089e59d0560d601dbb294e66474310e66c28a0a8510c64fca149.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-dd019c8633d6089e59d0560d601dbb294e66474310e66c28a0a8510c64fca149.json
rename to rust/cloud-storage/.sqlx/query-dd019c8633d6089e59d0560d601dbb294e66474310e66c28a0a8510c64fca149.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-dd1e3498501c9aad2a5db8c9f55269928b43c4a9e523b84383bf9c7dc636c1fd.json b/rust/cloud-storage/.sqlx/query-dd1e3498501c9aad2a5db8c9f55269928b43c4a9e523b84383bf9c7dc636c1fd.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-dd1e3498501c9aad2a5db8c9f55269928b43c4a9e523b84383bf9c7dc636c1fd.json
rename to rust/cloud-storage/.sqlx/query-dd1e3498501c9aad2a5db8c9f55269928b43c4a9e523b84383bf9c7dc636c1fd.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-dd4f7c4b90b6340ea7f4a7d6eb16347612e9d197979f9d4a4df40314f22559f8.json b/rust/cloud-storage/.sqlx/query-dd4f7c4b90b6340ea7f4a7d6eb16347612e9d197979f9d4a4df40314f22559f8.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-dd4f7c4b90b6340ea7f4a7d6eb16347612e9d197979f9d4a4df40314f22559f8.json
rename to rust/cloud-storage/.sqlx/query-dd4f7c4b90b6340ea7f4a7d6eb16347612e9d197979f9d4a4df40314f22559f8.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-ddc49e2430354b28a22a3168b217f351cd450b0fe95a4c6015573da664c5c27d.json b/rust/cloud-storage/.sqlx/query-ddc49e2430354b28a22a3168b217f351cd450b0fe95a4c6015573da664c5c27d.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-ddc49e2430354b28a22a3168b217f351cd450b0fe95a4c6015573da664c5c27d.json
rename to rust/cloud-storage/.sqlx/query-ddc49e2430354b28a22a3168b217f351cd450b0fe95a4c6015573da664c5c27d.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-de68d0cec65bf1c6779ac453af4ca4185ce3ebe294d432408c876b8a0b0a6b63.json b/rust/cloud-storage/.sqlx/query-de68d0cec65bf1c6779ac453af4ca4185ce3ebe294d432408c876b8a0b0a6b63.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-de68d0cec65bf1c6779ac453af4ca4185ce3ebe294d432408c876b8a0b0a6b63.json
rename to rust/cloud-storage/.sqlx/query-de68d0cec65bf1c6779ac453af4ca4185ce3ebe294d432408c876b8a0b0a6b63.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json b/rust/cloud-storage/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json
rename to rust/cloud-storage/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-debae3edf7b8f02aefffa4464ad9a4c474f1e7d5c0071bdb1261df0c1d8b2373.json b/rust/cloud-storage/.sqlx/query-debae3edf7b8f02aefffa4464ad9a4c474f1e7d5c0071bdb1261df0c1d8b2373.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-debae3edf7b8f02aefffa4464ad9a4c474f1e7d5c0071bdb1261df0c1d8b2373.json
rename to rust/cloud-storage/.sqlx/query-debae3edf7b8f02aefffa4464ad9a4c474f1e7d5c0071bdb1261df0c1d8b2373.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-debef3a27b832b3600037a6304558a23c2407f742e67e7c06553929f4405478e.json b/rust/cloud-storage/.sqlx/query-debef3a27b832b3600037a6304558a23c2407f742e67e7c06553929f4405478e.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-debef3a27b832b3600037a6304558a23c2407f742e67e7c06553929f4405478e.json
rename to rust/cloud-storage/.sqlx/query-debef3a27b832b3600037a6304558a23c2407f742e67e7c06553929f4405478e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json b/rust/cloud-storage/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json
rename to rust/cloud-storage/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json b/rust/cloud-storage/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json
rename to rust/cloud-storage/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json
diff --git a/rust/cloud-storage/email/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json b/rust/cloud-storage/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json
rename to rust/cloud-storage/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json b/rust/cloud-storage/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json
rename to rust/cloud-storage/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json b/rust/cloud-storage/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json
rename to rust/cloud-storage/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json b/rust/cloud-storage/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json
rename to rust/cloud-storage/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json b/rust/cloud-storage/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json
rename to rust/cloud-storage/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-e0f9ac039268a99b0d65cecf7ed18ee7fb04db4955d5dca83ca1c6c9e0eaa884.json b/rust/cloud-storage/.sqlx/query-e0f9ac039268a99b0d65cecf7ed18ee7fb04db4955d5dca83ca1c6c9e0eaa884.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-e0f9ac039268a99b0d65cecf7ed18ee7fb04db4955d5dca83ca1c6c9e0eaa884.json
rename to rust/cloud-storage/.sqlx/query-e0f9ac039268a99b0d65cecf7ed18ee7fb04db4955d5dca83ca1c6c9e0eaa884.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-e10378347cb7114449942c583bb9426932aba9ae4a09ab96ebfa32c46e8b6fcf.json b/rust/cloud-storage/.sqlx/query-e10378347cb7114449942c583bb9426932aba9ae4a09ab96ebfa32c46e8b6fcf.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-e10378347cb7114449942c583bb9426932aba9ae4a09ab96ebfa32c46e8b6fcf.json
rename to rust/cloud-storage/.sqlx/query-e10378347cb7114449942c583bb9426932aba9ae4a09ab96ebfa32c46e8b6fcf.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json b/rust/cloud-storage/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json
rename to rust/cloud-storage/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json
diff --git a/rust/cloud-storage/github/.sqlx/query-e17994ebc0589faabde0aa239f24c542292d06b39c744f2055038ac46c41bbdc.json b/rust/cloud-storage/.sqlx/query-e17994ebc0589faabde0aa239f24c542292d06b39c744f2055038ac46c41bbdc.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-e17994ebc0589faabde0aa239f24c542292d06b39c744f2055038ac46c41bbdc.json
rename to rust/cloud-storage/.sqlx/query-e17994ebc0589faabde0aa239f24c542292d06b39c744f2055038ac46c41bbdc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json b/rust/cloud-storage/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json
rename to rust/cloud-storage/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json b/rust/cloud-storage/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json
rename to rust/cloud-storage/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json b/rust/cloud-storage/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json
rename to rust/cloud-storage/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json b/rust/cloud-storage/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json
rename to rust/cloud-storage/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-e2cadbb29d007b092339274024c3638798761653ca72db90aa2ce7417976ef61.json b/rust/cloud-storage/.sqlx/query-e2cadbb29d007b092339274024c3638798761653ca72db90aa2ce7417976ef61.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-e2cadbb29d007b092339274024c3638798761653ca72db90aa2ce7417976ef61.json
rename to rust/cloud-storage/.sqlx/query-e2cadbb29d007b092339274024c3638798761653ca72db90aa2ce7417976ef61.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json b/rust/cloud-storage/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json
rename to rust/cloud-storage/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json b/rust/cloud-storage/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json
rename to rust/cloud-storage/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json b/rust/cloud-storage/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json
rename to rust/cloud-storage/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json b/rust/cloud-storage/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
rename to rust/cloud-storage/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-e3ceebff1df78cef1b26e165cc4967a55f7b5355b7ff835eed0f93b4b8458ceb.json b/rust/cloud-storage/.sqlx/query-e3ceebff1df78cef1b26e165cc4967a55f7b5355b7ff835eed0f93b4b8458ceb.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-e3ceebff1df78cef1b26e165cc4967a55f7b5355b7ff835eed0f93b4b8458ceb.json
rename to rust/cloud-storage/.sqlx/query-e3ceebff1df78cef1b26e165cc4967a55f7b5355b7ff835eed0f93b4b8458ceb.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-e3e481b6dc2c40e088840b2f96b463fd3df8488cbce6001cad1bfe990b347b63.json b/rust/cloud-storage/.sqlx/query-e3e481b6dc2c40e088840b2f96b463fd3df8488cbce6001cad1bfe990b347b63.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-e3e481b6dc2c40e088840b2f96b463fd3df8488cbce6001cad1bfe990b347b63.json
rename to rust/cloud-storage/.sqlx/query-e3e481b6dc2c40e088840b2f96b463fd3df8488cbce6001cad1bfe990b347b63.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-e46bb839438b0dc805a6336d9ab0e64bad441f07222bfe922c9da81c7d2c3a47.json b/rust/cloud-storage/.sqlx/query-e46bb839438b0dc805a6336d9ab0e64bad441f07222bfe922c9da81c7d2c3a47.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-e46bb839438b0dc805a6336d9ab0e64bad441f07222bfe922c9da81c7d2c3a47.json
rename to rust/cloud-storage/.sqlx/query-e46bb839438b0dc805a6336d9ab0e64bad441f07222bfe922c9da81c7d2c3a47.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json b/rust/cloud-storage/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json
rename to rust/cloud-storage/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-e4dda9b303d359c6c4e3c7b120136ae5c11cd902c373ed20d8119ba050c7dfbd.json b/rust/cloud-storage/.sqlx/query-e4dda9b303d359c6c4e3c7b120136ae5c11cd902c373ed20d8119ba050c7dfbd.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-e4dda9b303d359c6c4e3c7b120136ae5c11cd902c373ed20d8119ba050c7dfbd.json
rename to rust/cloud-storage/.sqlx/query-e4dda9b303d359c6c4e3c7b120136ae5c11cd902c373ed20d8119ba050c7dfbd.json
diff --git a/rust/cloud-storage/frecency/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json b/rust/cloud-storage/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json
similarity index 100%
rename from rust/cloud-storage/frecency/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json
rename to rust/cloud-storage/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json b/rust/cloud-storage/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json
rename to rust/cloud-storage/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json b/rust/cloud-storage/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json
rename to rust/cloud-storage/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json b/rust/cloud-storage/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json
rename to rust/cloud-storage/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json b/rust/cloud-storage/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json
rename to rust/cloud-storage/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-e6fe90cc7c58f3bcdcd2655b11c82ea99a8eda29d45570028deda4075173cfe6.json b/rust/cloud-storage/.sqlx/query-e6fe90cc7c58f3bcdcd2655b11c82ea99a8eda29d45570028deda4075173cfe6.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-e6fe90cc7c58f3bcdcd2655b11c82ea99a8eda29d45570028deda4075173cfe6.json
rename to rust/cloud-storage/.sqlx/query-e6fe90cc7c58f3bcdcd2655b11c82ea99a8eda29d45570028deda4075173cfe6.json
diff --git a/rust/cloud-storage/email/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json b/rust/cloud-storage/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json
rename to rust/cloud-storage/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json b/rust/cloud-storage/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json
rename to rust/cloud-storage/.sqlx/query-e74177df51e1bd70b1e0cc19543d3533e96935ca54673f809c0720ea530faeac.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e792f05e8ff1bba6124255b61ae57b1429cb22745012c396910f2fa549aedf79.json b/rust/cloud-storage/.sqlx/query-e792f05e8ff1bba6124255b61ae57b1429cb22745012c396910f2fa549aedf79.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e792f05e8ff1bba6124255b61ae57b1429cb22745012c396910f2fa549aedf79.json
rename to rust/cloud-storage/.sqlx/query-e792f05e8ff1bba6124255b61ae57b1429cb22745012c396910f2fa549aedf79.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json b/rust/cloud-storage/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json
rename to rust/cloud-storage/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-e7d8ee1a89eda56e35de8795a6bf83e4ce9af436279fc24b7aafe8f0d41aab04.json b/rust/cloud-storage/.sqlx/query-e7d8ee1a89eda56e35de8795a6bf83e4ce9af436279fc24b7aafe8f0d41aab04.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-e7d8ee1a89eda56e35de8795a6bf83e4ce9af436279fc24b7aafe8f0d41aab04.json
rename to rust/cloud-storage/.sqlx/query-e7d8ee1a89eda56e35de8795a6bf83e4ce9af436279fc24b7aafe8f0d41aab04.json
diff --git a/rust/cloud-storage/email/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json b/rust/cloud-storage/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json
rename to rust/cloud-storage/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json b/rust/cloud-storage/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
rename to rust/cloud-storage/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
diff --git a/rust/cloud-storage/scheduled_action/.sqlx/query-e84c6b52fb4748ec73c01340862a1fa3c65711050239ca5d7bcd59b04f920894.json b/rust/cloud-storage/.sqlx/query-e84c6b52fb4748ec73c01340862a1fa3c65711050239ca5d7bcd59b04f920894.json
similarity index 100%
rename from rust/cloud-storage/scheduled_action/.sqlx/query-e84c6b52fb4748ec73c01340862a1fa3c65711050239ca5d7bcd59b04f920894.json
rename to rust/cloud-storage/.sqlx/query-e84c6b52fb4748ec73c01340862a1fa3c65711050239ca5d7bcd59b04f920894.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json b/rust/cloud-storage/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json
rename to rust/cloud-storage/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json b/rust/cloud-storage/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json
rename to rust/cloud-storage/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json
diff --git a/rust/cloud-storage/saved_views/.sqlx/query-ea674f0a9d53a37775cee691aaa387db892d3902606258ac7c1e87652eba76e7.json b/rust/cloud-storage/.sqlx/query-ea674f0a9d53a37775cee691aaa387db892d3902606258ac7c1e87652eba76e7.json
similarity index 100%
rename from rust/cloud-storage/saved_views/.sqlx/query-ea674f0a9d53a37775cee691aaa387db892d3902606258ac7c1e87652eba76e7.json
rename to rust/cloud-storage/.sqlx/query-ea674f0a9d53a37775cee691aaa387db892d3902606258ac7c1e87652eba76e7.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-ea7622c671b053d5519e2fb2a996372002b31d070e2cbfe2d58ae763bc04b7c6.json b/rust/cloud-storage/.sqlx/query-ea7622c671b053d5519e2fb2a996372002b31d070e2cbfe2d58ae763bc04b7c6.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-ea7622c671b053d5519e2fb2a996372002b31d070e2cbfe2d58ae763bc04b7c6.json
rename to rust/cloud-storage/.sqlx/query-ea7622c671b053d5519e2fb2a996372002b31d070e2cbfe2d58ae763bc04b7c6.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-ead66ab8a55df78540bbffc0a015014c2d067de3deb1f9b155cc87376277798f.json b/rust/cloud-storage/.sqlx/query-ead66ab8a55df78540bbffc0a015014c2d067de3deb1f9b155cc87376277798f.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-ead66ab8a55df78540bbffc0a015014c2d067de3deb1f9b155cc87376277798f.json
rename to rust/cloud-storage/.sqlx/query-ead66ab8a55df78540bbffc0a015014c2d067de3deb1f9b155cc87376277798f.json
diff --git a/rust/cloud-storage/roles_and_permissions/.sqlx/query-eb2b040d1563d048ca6a81a00fb98bbc2e5d6c3c3063be43655ed32a3baf028f.json b/rust/cloud-storage/.sqlx/query-eb2b040d1563d048ca6a81a00fb98bbc2e5d6c3c3063be43655ed32a3baf028f.json
similarity index 100%
rename from rust/cloud-storage/roles_and_permissions/.sqlx/query-eb2b040d1563d048ca6a81a00fb98bbc2e5d6c3c3063be43655ed32a3baf028f.json
rename to rust/cloud-storage/.sqlx/query-eb2b040d1563d048ca6a81a00fb98bbc2e5d6c3c3063be43655ed32a3baf028f.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-eb60dffb5b5eee74b267402d11b05e3c7edb39484f34fb204523df6cd46fa3fe.json b/rust/cloud-storage/.sqlx/query-eb60dffb5b5eee74b267402d11b05e3c7edb39484f34fb204523df6cd46fa3fe.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-eb60dffb5b5eee74b267402d11b05e3c7edb39484f34fb204523df6cd46fa3fe.json
rename to rust/cloud-storage/.sqlx/query-eb60dffb5b5eee74b267402d11b05e3c7edb39484f34fb204523df6cd46fa3fe.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-eb8ac8459fac8423966a6daf85b51dd7c57b312cf54b2c47ba87c7ee99f0d9c1.json b/rust/cloud-storage/.sqlx/query-eb8ac8459fac8423966a6daf85b51dd7c57b312cf54b2c47ba87c7ee99f0d9c1.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-eb8ac8459fac8423966a6daf85b51dd7c57b312cf54b2c47ba87c7ee99f0d9c1.json
rename to rust/cloud-storage/.sqlx/query-eb8ac8459fac8423966a6daf85b51dd7c57b312cf54b2c47ba87c7ee99f0d9c1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json b/rust/cloud-storage/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json
rename to rust/cloud-storage/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-ebe9fefb7d1b8505df6bd0ec41102abb947fea3cb939dadaa76b6e53bf896390.json b/rust/cloud-storage/.sqlx/query-ebe9fefb7d1b8505df6bd0ec41102abb947fea3cb939dadaa76b6e53bf896390.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-ebe9fefb7d1b8505df6bd0ec41102abb947fea3cb939dadaa76b6e53bf896390.json
rename to rust/cloud-storage/.sqlx/query-ebe9fefb7d1b8505df6bd0ec41102abb947fea3cb939dadaa76b6e53bf896390.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-ec5e416378f73f769e797d9affa95f4dcc98ea607f84993efd70313e3b8b7d4f.json b/rust/cloud-storage/.sqlx/query-ec5e416378f73f769e797d9affa95f4dcc98ea607f84993efd70313e3b8b7d4f.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-ec5e416378f73f769e797d9affa95f4dcc98ea607f84993efd70313e3b8b7d4f.json
rename to rust/cloud-storage/.sqlx/query-ec5e416378f73f769e797d9affa95f4dcc98ea607f84993efd70313e3b8b7d4f.json
diff --git a/rust/cloud-storage/frecency/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json b/rust/cloud-storage/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json
similarity index 100%
rename from rust/cloud-storage/frecency/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json
rename to rust/cloud-storage/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json b/rust/cloud-storage/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json
rename to rust/cloud-storage/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json
diff --git a/rust/cloud-storage/document_text_extractor/.sqlx/query-ecfb0370e15c5d6e326a8580ada1af7ccf5264e6ac8b7ce80fa9d68be5aed976.json b/rust/cloud-storage/.sqlx/query-ecfb0370e15c5d6e326a8580ada1af7ccf5264e6ac8b7ce80fa9d68be5aed976.json
similarity index 100%
rename from rust/cloud-storage/document_text_extractor/.sqlx/query-ecfb0370e15c5d6e326a8580ada1af7ccf5264e6ac8b7ce80fa9d68be5aed976.json
rename to rust/cloud-storage/.sqlx/query-ecfb0370e15c5d6e326a8580ada1af7ccf5264e6ac8b7ce80fa9d68be5aed976.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json b/rust/cloud-storage/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json
rename to rust/cloud-storage/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json b/rust/cloud-storage/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json
rename to rust/cloud-storage/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json
diff --git a/rust/cloud-storage/github/.sqlx/query-ed43958d3b45528df34f3216299e47e00e2aa671b9d235abffa4ad8bfe126c12.json b/rust/cloud-storage/.sqlx/query-ed43958d3b45528df34f3216299e47e00e2aa671b9d235abffa4ad8bfe126c12.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-ed43958d3b45528df34f3216299e47e00e2aa671b9d235abffa4ad8bfe126c12.json
rename to rust/cloud-storage/.sqlx/query-ed43958d3b45528df34f3216299e47e00e2aa671b9d235abffa4ad8bfe126c12.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json b/rust/cloud-storage/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json
rename to rust/cloud-storage/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json b/rust/cloud-storage/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json
rename to rust/cloud-storage/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json
diff --git a/rust/cloud-storage/email_sfs_delete_handler/.sqlx/query-edbec9f2fb09a6f4d6c51f137639b7ce0b5c5fdf66aba0a6efc62530ec611766.json b/rust/cloud-storage/.sqlx/query-edbec9f2fb09a6f4d6c51f137639b7ce0b5c5fdf66aba0a6efc62530ec611766.json
similarity index 100%
rename from rust/cloud-storage/email_sfs_delete_handler/.sqlx/query-edbec9f2fb09a6f4d6c51f137639b7ce0b5c5fdf66aba0a6efc62530ec611766.json
rename to rust/cloud-storage/.sqlx/query-edbec9f2fb09a6f4d6c51f137639b7ce0b5c5fdf66aba0a6efc62530ec611766.json
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json b/rust/cloud-storage/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json
similarity index 100%
rename from rust/cloud-storage/properties_db_client/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json
rename to rust/cloud-storage/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json
diff --git a/rust/cloud-storage/roles_and_permissions/.sqlx/query-edd4b100c5da632fdd5b89c67b8a478e593d8236cf4efcebaa15ab4046917cc3.json b/rust/cloud-storage/.sqlx/query-edd4b100c5da632fdd5b89c67b8a478e593d8236cf4efcebaa15ab4046917cc3.json
similarity index 100%
rename from rust/cloud-storage/roles_and_permissions/.sqlx/query-edd4b100c5da632fdd5b89c67b8a478e593d8236cf4efcebaa15ab4046917cc3.json
rename to rust/cloud-storage/.sqlx/query-edd4b100c5da632fdd5b89c67b8a478e593d8236cf4efcebaa15ab4046917cc3.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-ee0142b21993b387a2279768973366203093e40f519275702f3bcfa711812321.json b/rust/cloud-storage/.sqlx/query-ee0142b21993b387a2279768973366203093e40f519275702f3bcfa711812321.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-ee0142b21993b387a2279768973366203093e40f519275702f3bcfa711812321.json
rename to rust/cloud-storage/.sqlx/query-ee0142b21993b387a2279768973366203093e40f519275702f3bcfa711812321.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json b/rust/cloud-storage/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json
rename to rust/cloud-storage/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json b/rust/cloud-storage/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json
rename to rust/cloud-storage/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json b/rust/cloud-storage/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json
rename to rust/cloud-storage/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json b/rust/cloud-storage/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json
rename to rust/cloud-storage/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json b/rust/cloud-storage/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
rename to rust/cloud-storage/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
diff --git a/rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json b/rust/cloud-storage/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json
similarity index 100%
rename from rust/cloud-storage/integration_tests/test_build_full_pdf_modification_data/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json
rename to rust/cloud-storage/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-f02b1d7d15a7657f2f5132db649f9a4097ff7320d336de3ea25fe1899a7826f3.json b/rust/cloud-storage/.sqlx/query-f02b1d7d15a7657f2f5132db649f9a4097ff7320d336de3ea25fe1899a7826f3.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-f02b1d7d15a7657f2f5132db649f9a4097ff7320d336de3ea25fe1899a7826f3.json
rename to rust/cloud-storage/.sqlx/query-f02b1d7d15a7657f2f5132db649f9a4097ff7320d336de3ea25fe1899a7826f3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json b/rust/cloud-storage/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json
rename to rust/cloud-storage/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-f249e23685d626a0e63015828655a4dc7053d1e1d6425b9de339986d41c8e180.json b/rust/cloud-storage/.sqlx/query-f249e23685d626a0e63015828655a4dc7053d1e1d6425b9de339986d41c8e180.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-f249e23685d626a0e63015828655a4dc7053d1e1d6425b9de339986d41c8e180.json
rename to rust/cloud-storage/.sqlx/query-f249e23685d626a0e63015828655a4dc7053d1e1d6425b9de339986d41c8e180.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json b/rust/cloud-storage/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json
rename to rust/cloud-storage/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json
diff --git a/rust/cloud-storage/call/.sqlx/query-f2b90d413f8882f0d1da810aeca51a503118d0dddd8759495f607c65158605d7.json b/rust/cloud-storage/.sqlx/query-f2b90d413f8882f0d1da810aeca51a503118d0dddd8759495f607c65158605d7.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-f2b90d413f8882f0d1da810aeca51a503118d0dddd8759495f607c65158605d7.json
rename to rust/cloud-storage/.sqlx/query-f2b90d413f8882f0d1da810aeca51a503118d0dddd8759495f607c65158605d7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json b/rust/cloud-storage/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json
rename to rust/cloud-storage/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json
diff --git a/rust/cloud-storage/soup/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json b/rust/cloud-storage/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json
similarity index 100%
rename from rust/cloud-storage/soup/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json
rename to rust/cloud-storage/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json b/rust/cloud-storage/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json
rename to rust/cloud-storage/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json b/rust/cloud-storage/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json
rename to rust/cloud-storage/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json b/rust/cloud-storage/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
rename to rust/cloud-storage/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-f3e6e462f1b3d364bbcb2e556f68dced036c605ba52ff484b30130cf837b9408.json b/rust/cloud-storage/.sqlx/query-f3e6e462f1b3d364bbcb2e556f68dced036c605ba52ff484b30130cf837b9408.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-f3e6e462f1b3d364bbcb2e556f68dced036c605ba52ff484b30130cf837b9408.json
rename to rust/cloud-storage/.sqlx/query-f3e6e462f1b3d364bbcb2e556f68dced036c605ba52ff484b30130cf837b9408.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-f4dd3bd30a64a7fd82d9a254a0fb0ea36e8607ebd4c272509afba882a3e0b572.json b/rust/cloud-storage/.sqlx/query-f4dd3bd30a64a7fd82d9a254a0fb0ea36e8607ebd4c272509afba882a3e0b572.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-f4dd3bd30a64a7fd82d9a254a0fb0ea36e8607ebd4c272509afba882a3e0b572.json
rename to rust/cloud-storage/.sqlx/query-f4dd3bd30a64a7fd82d9a254a0fb0ea36e8607ebd4c272509afba882a3e0b572.json
diff --git a/rust/cloud-storage/github/.sqlx/query-f4e290fa3d4abc3cc6c28f3e88b35cb2d29a67a4c437234f0ac7d1e6baa34669.json b/rust/cloud-storage/.sqlx/query-f4e290fa3d4abc3cc6c28f3e88b35cb2d29a67a4c437234f0ac7d1e6baa34669.json
similarity index 100%
rename from rust/cloud-storage/github/.sqlx/query-f4e290fa3d4abc3cc6c28f3e88b35cb2d29a67a4c437234f0ac7d1e6baa34669.json
rename to rust/cloud-storage/.sqlx/query-f4e290fa3d4abc3cc6c28f3e88b35cb2d29a67a4c437234f0ac7d1e6baa34669.json
diff --git a/rust/cloud-storage/call/.sqlx/query-f4f6aabb3ebbf6f8d2361b1cf8a63948bd3b0becdfdd21d780a08ffa05b2b963.json b/rust/cloud-storage/.sqlx/query-f4f6aabb3ebbf6f8d2361b1cf8a63948bd3b0becdfdd21d780a08ffa05b2b963.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-f4f6aabb3ebbf6f8d2361b1cf8a63948bd3b0becdfdd21d780a08ffa05b2b963.json
rename to rust/cloud-storage/.sqlx/query-f4f6aabb3ebbf6f8d2361b1cf8a63948bd3b0becdfdd21d780a08ffa05b2b963.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json b/rust/cloud-storage/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json
rename to rust/cloud-storage/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f5fff13701e91118a77c814a3c1b31f3c3202031f51868b9af724e701248079f.json b/rust/cloud-storage/.sqlx/query-f5fff13701e91118a77c814a3c1b31f3c3202031f51868b9af724e701248079f.json
similarity index 100%
rename from rust/cloud-storage/macro_db_client/.sqlx/query-f5fff13701e91118a77c814a3c1b31f3c3202031f51868b9af724e701248079f.json
rename to rust/cloud-storage/.sqlx/query-f5fff13701e91118a77c814a3c1b31f3c3202031f51868b9af724e701248079f.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-f61e5ffbf5f10d3989640c3f1b70bbe79c9e1b2e6d2e6925bdf89df1a07ead5d.json b/rust/cloud-storage/.sqlx/query-f61e5ffbf5f10d3989640c3f1b70bbe79c9e1b2e6d2e6925bdf89df1a07ead5d.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-f61e5ffbf5f10d3989640c3f1b70bbe79c9e1b2e6d2e6925bdf89df1a07ead5d.json
rename to rust/cloud-storage/.sqlx/query-f61e5ffbf5f10d3989640c3f1b70bbe79c9e1b2e6d2e6925bdf89df1a07ead5d.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json b/rust/cloud-storage/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json
rename to rust/cloud-storage/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json
diff --git a/rust/cloud-storage/call/.sqlx/query-f6226ec842f894cdf49b4a8d0d1f363e31040405915cffa7da18a3ed337e298a.json b/rust/cloud-storage/.sqlx/query-f6226ec842f894cdf49b4a8d0d1f363e31040405915cffa7da18a3ed337e298a.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-f6226ec842f894cdf49b4a8d0d1f363e31040405915cffa7da18a3ed337e298a.json
rename to rust/cloud-storage/.sqlx/query-f6226ec842f894cdf49b4a8d0d1f363e31040405915cffa7da18a3ed337e298a.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-f6600a8a539ce77dbd8b5332ea8994e58da416d649dc4963c510b3f6906db5fd.json b/rust/cloud-storage/.sqlx/query-f6600a8a539ce77dbd8b5332ea8994e58da416d649dc4963c510b3f6906db5fd.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-f6600a8a539ce77dbd8b5332ea8994e58da416d649dc4963c510b3f6906db5fd.json
rename to rust/cloud-storage/.sqlx/query-f6600a8a539ce77dbd8b5332ea8994e58da416d649dc4963c510b3f6906db5fd.json
diff --git a/rust/cloud-storage/entity_access_db_utils/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json b/rust/cloud-storage/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json
similarity index 100%
rename from rust/cloud-storage/entity_access_db_utils/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json
rename to rust/cloud-storage/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json b/rust/cloud-storage/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json
rename to rust/cloud-storage/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json
diff --git a/rust/cloud-storage/referral/.sqlx/query-f7350272860b713193c09bbd784418605ec3f0f9f090344882fcac7d251bfdba.json b/rust/cloud-storage/.sqlx/query-f7350272860b713193c09bbd784418605ec3f0f9f090344882fcac7d251bfdba.json
similarity index 100%
rename from rust/cloud-storage/referral/.sqlx/query-f7350272860b713193c09bbd784418605ec3f0f9f090344882fcac7d251bfdba.json
rename to rust/cloud-storage/.sqlx/query-f7350272860b713193c09bbd784418605ec3f0f9f090344882fcac7d251bfdba.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json b/rust/cloud-storage/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json
rename to rust/cloud-storage/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json b/rust/cloud-storage/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json
rename to rust/cloud-storage/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-f8e7be63fb307e8882da2ef41dfb8ebb75a89ecd397f5a266032c2c8a1f9c561.json b/rust/cloud-storage/.sqlx/query-f8e7be63fb307e8882da2ef41dfb8ebb75a89ecd397f5a266032c2c8a1f9c561.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-f8e7be63fb307e8882da2ef41dfb8ebb75a89ecd397f5a266032c2c8a1f9c561.json
rename to rust/cloud-storage/.sqlx/query-f8e7be63fb307e8882da2ef41dfb8ebb75a89ecd397f5a266032c2c8a1f9c561.json
diff --git a/rust/cloud-storage/email/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json b/rust/cloud-storage/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json
rename to rust/cloud-storage/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json b/rust/cloud-storage/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json
rename to rust/cloud-storage/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json
diff --git a/rust/cloud-storage/teams/.sqlx/query-f97ea400ea881b9116d2deb19f1cb9c8f850746382a3c7049303286f2868a851.json b/rust/cloud-storage/.sqlx/query-f97ea400ea881b9116d2deb19f1cb9c8f850746382a3c7049303286f2868a851.json
similarity index 100%
rename from rust/cloud-storage/teams/.sqlx/query-f97ea400ea881b9116d2deb19f1cb9c8f850746382a3c7049303286f2868a851.json
rename to rust/cloud-storage/.sqlx/query-f97ea400ea881b9116d2deb19f1cb9c8f850746382a3c7049303286f2868a851.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json b/rust/cloud-storage/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json
rename to rust/cloud-storage/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-f9dd839c0eeb6b25a432136def701390348a6d4e33feefb4c3d33974e15fcf83.json b/rust/cloud-storage/.sqlx/query-f9dd839c0eeb6b25a432136def701390348a6d4e33feefb4c3d33974e15fcf83.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-f9dd839c0eeb6b25a432136def701390348a6d4e33feefb4c3d33974e15fcf83.json
rename to rust/cloud-storage/.sqlx/query-f9dd839c0eeb6b25a432136def701390348a6d4e33feefb4c3d33974e15fcf83.json
diff --git a/rust/cloud-storage/backfill_entity_access/.sqlx/query-f9f132f209b5a22522df5c6b9ae936efa63645abc9b36965f9e8daead43b7adc.json b/rust/cloud-storage/.sqlx/query-f9f132f209b5a22522df5c6b9ae936efa63645abc9b36965f9e8daead43b7adc.json
similarity index 100%
rename from rust/cloud-storage/backfill_entity_access/.sqlx/query-f9f132f209b5a22522df5c6b9ae936efa63645abc9b36965f9e8daead43b7adc.json
rename to rust/cloud-storage/.sqlx/query-f9f132f209b5a22522df5c6b9ae936efa63645abc9b36965f9e8daead43b7adc.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json b/rust/cloud-storage/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json
rename to rust/cloud-storage/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json b/rust/cloud-storage/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json
rename to rust/cloud-storage/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json b/rust/cloud-storage/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json
rename to rust/cloud-storage/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-fa75cf5f948fd99ec052e6bc48a9fc3f7df9188479defc6072394d8d06f4b3c1.json b/rust/cloud-storage/.sqlx/query-fa75cf5f948fd99ec052e6bc48a9fc3f7df9188479defc6072394d8d06f4b3c1.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-fa75cf5f948fd99ec052e6bc48a9fc3f7df9188479defc6072394d8d06f4b3c1.json
rename to rust/cloud-storage/.sqlx/query-fa75cf5f948fd99ec052e6bc48a9fc3f7df9188479defc6072394d8d06f4b3c1.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json b/rust/cloud-storage/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json
rename to rust/cloud-storage/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json b/rust/cloud-storage/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json
rename to rust/cloud-storage/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json
diff --git a/rust/cloud-storage/channels/.sqlx/query-fb06661528090b1781ae1f2bad6be9dd410315f4f4f376429d9f9e2e3c822383.json b/rust/cloud-storage/.sqlx/query-fb06661528090b1781ae1f2bad6be9dd410315f4f4f376429d9f9e2e3c822383.json
similarity index 100%
rename from rust/cloud-storage/channels/.sqlx/query-fb06661528090b1781ae1f2bad6be9dd410315f4f4f376429d9f9e2e3c822383.json
rename to rust/cloud-storage/.sqlx/query-fb06661528090b1781ae1f2bad6be9dd410315f4f4f376429d9f9e2e3c822383.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-fb8a9157d4c7546ced9440b417c693bcaa3226934fedb2a4348a24ca9568c4ed.json b/rust/cloud-storage/.sqlx/query-fb8a9157d4c7546ced9440b417c693bcaa3226934fedb2a4348a24ca9568c4ed.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-fb8a9157d4c7546ced9440b417c693bcaa3226934fedb2a4348a24ca9568c4ed.json
rename to rust/cloud-storage/.sqlx/query-fb8a9157d4c7546ced9440b417c693bcaa3226934fedb2a4348a24ca9568c4ed.json
diff --git a/rust/cloud-storage/call/.sqlx/query-fc0744ebeb842c69501102f111cb569a6f2b0c2fc0e62e5243a5857e054e61c7.json b/rust/cloud-storage/.sqlx/query-fc0744ebeb842c69501102f111cb569a6f2b0c2fc0e62e5243a5857e054e61c7.json
similarity index 100%
rename from rust/cloud-storage/call/.sqlx/query-fc0744ebeb842c69501102f111cb569a6f2b0c2fc0e62e5243a5857e054e61c7.json
rename to rust/cloud-storage/.sqlx/query-fc0744ebeb842c69501102f111cb569a6f2b0c2fc0e62e5243a5857e054e61c7.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json b/rust/cloud-storage/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json
rename to rust/cloud-storage/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json
diff --git a/rust/cloud-storage/email/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json b/rust/cloud-storage/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json
similarity index 100%
rename from rust/cloud-storage/email/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json
rename to rust/cloud-storage/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json b/rust/cloud-storage/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json
rename to rust/cloud-storage/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json b/rust/cloud-storage/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json
rename to rust/cloud-storage/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json b/rust/cloud-storage/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json
rename to rust/cloud-storage/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json b/rust/cloud-storage/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json
rename to rust/cloud-storage/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json b/rust/cloud-storage/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json
rename to rust/cloud-storage/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json b/rust/cloud-storage/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json
rename to rust/cloud-storage/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-ff0ad36a3e9b991dfd04335db13c6bec2f121b2afb9c5c1fa39c2d804cb71286.json b/rust/cloud-storage/.sqlx/query-ff0ad36a3e9b991dfd04335db13c6bec2f121b2afb9c5c1fa39c2d804cb71286.json
similarity index 100%
rename from rust/cloud-storage/email_db_client/.sqlx/query-ff0ad36a3e9b991dfd04335db13c6bec2f121b2afb9c5c1fa39c2d804cb71286.json
rename to rust/cloud-storage/.sqlx/query-ff0ad36a3e9b991dfd04335db13c6bec2f121b2afb9c5c1fa39c2d804cb71286.json
diff --git a/rust/cloud-storage/documents/.sqlx/query-ff3cfaae68201d92e5a587defc0b23eddb2d7a5a8a1572ef33f3040f8e0d671b.json b/rust/cloud-storage/.sqlx/query-ff3cfaae68201d92e5a587defc0b23eddb2d7a5a8a1572ef33f3040f8e0d671b.json
similarity index 100%
rename from rust/cloud-storage/documents/.sqlx/query-ff3cfaae68201d92e5a587defc0b23eddb2d7a5a8a1572ef33f3040f8e0d671b.json
rename to rust/cloud-storage/.sqlx/query-ff3cfaae68201d92e5a587defc0b23eddb2d7a5a8a1572ef33f3040f8e0d671b.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json b/rust/cloud-storage/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json
rename to rust/cloud-storage/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-ff9a8fc2c134909f51787e9bbc3e541dddf035820810dbf1b1a6feacfeb0e431.json b/rust/cloud-storage/.sqlx/query-ff9a8fc2c134909f51787e9bbc3e541dddf035820810dbf1b1a6feacfeb0e431.json
similarity index 100%
rename from rust/cloud-storage/notification_db_client/.sqlx/query-ff9a8fc2c134909f51787e9bbc3e541dddf035820810dbf1b1a6feacfeb0e431.json
rename to rust/cloud-storage/.sqlx/query-ff9a8fc2c134909f51787e9bbc3e541dddf035820810dbf1b1a6feacfeb0e431.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json b/rust/cloud-storage/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json
similarity index 100%
rename from rust/cloud-storage/chat/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json
rename to rust/cloud-storage/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json
diff --git a/rust/cloud-storage/chat/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json b/rust/cloud-storage/chat/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
deleted file mode 100644
index 99a3b6f452..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM (\n -- Direct user grants\n SELECT source_id as user_id FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'user'\n\n UNION ALL\n\n -- Channel Members\n SELECT cp.user_id FROM comms_channel_participants cp\n WHERE cp.left_at IS NULL AND cp.channel_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'channel'\n )\n\n UNION ALL\n\n -- Team Members\n SELECT tu.user_id FROM team_user tu\n WHERE tu.team_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'team'\n )\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-0fdbb7ee491e145c23b2e9a5b817eae0345b5e141e5909ee846c68a5cb3e12a1.json b/rust/cloud-storage/chat/.sqlx/query-0fdbb7ee491e145c23b2e9a5b817eae0345b5e141e5909ee846c68a5cb3e12a1.json
deleted file mode 100644
index 9dd7d77d55..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-0fdbb7ee491e145c23b2e9a5b817eae0345b5e141e5909ee846c68a5cb3e12a1.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_access (entity_id, entity_type, source_id, source_type, access_level)\n SELECT $1, $2, u.user_id, 'user', $3\n FROM UNNEST($4::text[]) as u(user_id)\n ON CONFLICT (entity_id, entity_type, source_id, source_type)\n WHERE granted_from_project_id IS NULL\n DO UPDATE SET access_level = EXCLUDED.access_level, updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- },
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "0fdbb7ee491e145c23b2e9a5b817eae0345b5e141e5909ee846c68a5cb3e12a1"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-1fc848546237b4ee2447fc0484f1bff04cb3809b95257519006428cfb07e9d93.json b/rust/cloud-storage/chat/.sqlx/query-1fc848546237b4ee2447fc0484f1bff04cb3809b95257519006428cfb07e9d93.json
deleted file mode 100644
index 30cef276b0..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-1fc848546237b4ee2447fc0484f1bff04cb3809b95257519006428cfb07e9d93.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_id = $3 AND source_type = 'user'\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "1fc848546237b4ee2447fc0484f1bff04cb3809b95257519006428cfb07e9d93"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-28aca4b1b6794f9509b0cc56ea46bb4addfdd91ebf78cd2bef8026c2f6e86c77.json b/rust/cloud-storage/chat/.sqlx/query-28aca4b1b6794f9509b0cc56ea46bb4addfdd91ebf78cd2bef8026c2f6e86c77.json
deleted file mode 100644
index 0f3a4895c5..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-28aca4b1b6794f9509b0cc56ea46bb4addfdd91ebf78cd2bef8026c2f6e86c77.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access with source_ids (user, teams, channels)\n SELECT access_level::text FROM entity_access\n WHERE source_id = ANY(ARRAY(\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $3 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $3\n UNION ALL\n SELECT $3\n ))\n AND entity_id = $1\n AND entity_type = 'document'\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $2\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "28aca4b1b6794f9509b0cc56ea46bb4addfdd91ebf78cd2bef8026c2f6e86c77"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-2a0a599cfa9f11e74e868ab0e9fd58931b4c1a38570a2c575ec544a73aaf7394.json b/rust/cloud-storage/chat/.sqlx/query-2a0a599cfa9f11e74e868ab0e9fd58931b4c1a38570a2c575ec544a73aaf7394.json
deleted file mode 100644
index 7e0d52c996..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-2a0a599cfa9f11e74e868ab0e9fd58931b4c1a38570a2c575ec544a73aaf7394.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentText\" (\"documentId\", \"content\", \"tokenCount\")\n SELECT $1, content, \"tokenCount\" FROM \"DocumentText\"\n WHERE \"documentId\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "2a0a599cfa9f11e74e868ab0e9fd58931b4c1a38570a2c575ec544a73aaf7394"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-2e344d477bc3f8cfc2d031455a958b25d1a27c42d3420a624c0ec71de1d85ba9.json b/rust/cloud-storage/chat/.sqlx/query-2e344d477bc3f8cfc2d031455a958b25d1a27c42d3420a624c0ec71de1d85ba9.json
deleted file mode 100644
index f0e4926786..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-2e344d477bc3f8cfc2d031455a958b25d1a27c42d3420a624c0ec71de1d85ba9.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access with source_ids (user, teams, channels)\n SELECT access_level::text FROM entity_access\n WHERE source_id = ANY(ARRAY(\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $3 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $3\n UNION ALL\n SELECT $3\n ))\n AND entity_id = $1\n AND entity_type = 'email_thread'\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $2\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "2e344d477bc3f8cfc2d031455a958b25d1a27c42d3420a624c0ec71de1d85ba9"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-348f6c573e2e3eb6b568da52ec2e32692287496e4c8b17fd0a75187ce02f4ac9.json b/rust/cloud-storage/chat/.sqlx/query-348f6c573e2e3eb6b568da52ec2e32692287496e4c8b17fd0a75187ce02f4ac9.json
deleted file mode 100644
index f75802231d..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-348f6c573e2e3eb6b568da52ec2e32692287496e4c8b17fd0a75187ce02f4ac9.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $2 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $2\n UNION ALL\n SELECT $2\n )\n SELECT\n entity_id::text as \"entity_id!\",\n entity_type as \"entity_type!\",\n source_id as \"source_id!\",\n access_level as \"access_level!: AccessLevel\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\"\n FROM entity_access\n WHERE source_id = ANY(SELECT source_id FROM user_source_ids)\n AND entity_id = $1\n AND entity_type = 'email_thread'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "source_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "access_level!: AccessLevel",
- "type_info": {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "348f6c573e2e3eb6b568da52ec2e32692287496e4c8b17fd0a75187ce02f4ac9"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-4eece2777920eb0f5c4d2746221fb5b8070dbb37abe0dda364ed27e46eae230e.json b/rust/cloud-storage/chat/.sqlx/query-4eece2777920eb0f5c4d2746221fb5b8070dbb37abe0dda364ed27e46eae230e.json
deleted file mode 100644
index fde27e0e7f..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-4eece2777920eb0f5c4d2746221fb5b8070dbb37abe0dda364ed27e46eae230e.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT et.id::text as \"thread_id!\"\n FROM document_email de\n JOIN email_attachments ea ON de.email_attachment_id = ea.id\n JOIN email_messages em ON ea.message_id = em.id\n JOIN email_threads et ON em.thread_id = et.id\n WHERE de.document_id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "4eece2777920eb0f5c4d2746221fb5b8070dbb37abe0dda364ed27e46eae230e"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-5abca30105f179742a58a602030a033a255c6eb5c9ba657c4038072f974aaeaa.json b/rust/cloud-storage/chat/.sqlx/query-5abca30105f179742a58a602030a033a255c6eb5c9ba657c4038072f974aaeaa.json
deleted file mode 100644
index ba88817811..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-5abca30105f179742a58a602030a033a255c6eb5c9ba657c4038072f974aaeaa.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT id as project_id\n FROM \"Project\"\n WHERE id = $1 AND \"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id\n AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "5abca30105f179742a58a602030a033a255c6eb5c9ba657c4038072f974aaeaa"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-6257cdadf393b1b0664a63334ecc38865b3af1ea328024194f3b790da13c8df3.json b/rust/cloud-storage/chat/.sqlx/query-6257cdadf393b1b0664a63334ecc38865b3af1ea328024194f3b790da13c8df3.json
deleted file mode 100644
index cc27e0141e..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-6257cdadf393b1b0664a63334ecc38865b3af1ea328024194f3b790da13c8df3.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access with source_ids (user, teams, channels)\n SELECT access_level::text FROM entity_access\n WHERE source_id = ANY(ARRAY(\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $3 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $3\n UNION ALL\n SELECT $3\n ))\n AND entity_id = $1\n AND entity_type = 'project'\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" = $2\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "6257cdadf393b1b0664a63334ecc38865b3af1ea328024194f3b790da13c8df3"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-64f2c1aab2341caa0d39b79208f2da0aa73a08b9317c8d7932b81590dc73169d.json b/rust/cloud-storage/chat/.sqlx/query-64f2c1aab2341caa0d39b79208f2da0aa73a08b9317c8d7932b81590dc73169d.json
deleted file mode 100644
index 6afae8e483..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-64f2c1aab2341caa0d39b79208f2da0aa73a08b9317c8d7932b81590dc73169d.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\" FROM \"User\" WHERE \"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "64f2c1aab2341caa0d39b79208f2da0aa73a08b9317c8d7932b81590dc73169d"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-6cb6733cf58165e7c9ca63656c4c14b7bf0fc875462a0d335caf25969f272308.json b/rust/cloud-storage/chat/.sqlx/query-6cb6733cf58165e7c9ca63656c4c14b7bf0fc875462a0d335caf25969f272308.json
deleted file mode 100644
index 6c36a67607..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-6cb6733cf58165e7c9ca63656c4c14b7bf0fc875462a0d335caf25969f272308.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM entity_access\n WHERE source_id = $1 AND source_type = 'channel'\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "6cb6733cf58165e7c9ca63656c4c14b7bf0fc875462a0d335caf25969f272308"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-6ff8a4185b9a2a3ac8026b23d1d2c3014192dacd3588b1a33e23f59f22718822.json b/rust/cloud-storage/chat/.sqlx/query-6ff8a4185b9a2a3ac8026b23d1d2c3014192dacd3588b1a33e23f59f22718822.json
deleted file mode 100644
index 0cdc2235bf..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-6ff8a4185b9a2a3ac8026b23d1d2c3014192dacd3588b1a33e23f59f22718822.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"modificationData\" as modification_data\n FROM \"DocumentInstanceModificationData\"\n WHERE \"documentInstanceId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "modification_data",
- "type_info": "Jsonb"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "6ff8a4185b9a2a3ac8026b23d1d2c3014192dacd3588b1a33e23f59f22718822"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-87877cda339e72a128639a459295ce165cd096206e1f17f3fa5e98c27508095f.json b/rust/cloud-storage/chat/.sqlx/query-87877cda339e72a128639a459295ce165cd096206e1f17f3fa5e98c27508095f.json
deleted file mode 100644
index 388063d666..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-87877cda339e72a128639a459295ce165cd096206e1f17f3fa5e98c27508095f.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Document\" d\n JOIN \"Project\" p ON d.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE d.id = $1 AND d.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id\n AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $1\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "87877cda339e72a128639a459295ce165cd096206e1f17f3fa5e98c27508095f"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-88caded3c9250cb4835eb952d9e6ae02c0e492ab45c9ba26cc77c4fe1befec0a.json b/rust/cloud-storage/chat/.sqlx/query-88caded3c9250cb4835eb952d9e6ae02c0e492ab45c9ba26cc77c4fe1befec0a.json
deleted file mode 100644
index e1edff567e..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-88caded3c9250cb4835eb952d9e6ae02c0e492ab45c9ba26cc77c4fe1befec0a.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $2 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $2\n UNION ALL\n SELECT $2\n )\n SELECT\n entity_id::text as \"entity_id!\",\n entity_type as \"entity_type!\",\n source_id as \"source_id!\",\n access_level as \"access_level!: AccessLevel\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\"\n FROM entity_access\n WHERE source_id = ANY(SELECT source_id FROM user_source_ids)\n AND entity_id = $1\n AND entity_type = 'project'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "source_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "access_level!: AccessLevel",
- "type_info": {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "88caded3c9250cb4835eb952d9e6ae02c0e492ab45c9ba26cc77c4fe1befec0a"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-893ba4ca56a651ac3f29465976b0809413930f77ea2b5be2af1e97759582f310.json b/rust/cloud-storage/chat/.sqlx/query-893ba4ca56a651ac3f29465976b0809413930f77ea2b5be2af1e97759582f310.json
deleted file mode 100644
index 5532acf1d7..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-893ba4ca56a651ac3f29465976b0809413930f77ea2b5be2af1e97759582f310.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_access (entity_id, entity_type, source_id, source_type, access_level)\n SELECT\n u.entity_id,\n u.entity_type,\n u.source_id,\n 'user',\n u.access_level::\"AccessLevel\"\n FROM UNNEST(\n $1::uuid[],\n $2::text[],\n $3::text[],\n $4::text[]\n ) as u(\n entity_id,\n entity_type,\n source_id,\n access_level\n )\n ON CONFLICT (entity_id, entity_type, source_id, source_type)\n WHERE granted_from_project_id IS NULL\n DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "TextArray",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "893ba4ca56a651ac3f29465976b0809413930f77ea2b5be2af1e97759582f310"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-89d146cd834b7c70073f612c7460da8c2421c820f980f067e875a8e4fffe6515.json b/rust/cloud-storage/chat/.sqlx/query-89d146cd834b7c70073f612c7460da8c2421c820f980f067e875a8e4fffe6515.json
deleted file mode 100644
index 13512d24bd..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-89d146cd834b7c70073f612c7460da8c2421c820f980f067e875a8e4fffe6515.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $2 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $2\n UNION ALL\n SELECT $2\n )\n SELECT\n entity_id::text as \"entity_id!\",\n entity_type as \"entity_type!\",\n source_id as \"source_id!\",\n access_level as \"access_level!: AccessLevel\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\"\n FROM entity_access\n WHERE source_id = ANY(SELECT source_id FROM user_source_ids)\n AND entity_id = $1\n AND entity_type = 'chat'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "source_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "access_level!: AccessLevel",
- "type_info": {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "89d146cd834b7c70073f612c7460da8c2421c820f980f067e875a8e4fffe6515"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-9e506dc5e6ce5381990d8258bfda1102377246f0a58ab49801b7fa12ab400560.json b/rust/cloud-storage/chat/.sqlx/query-9e506dc5e6ce5381990d8258bfda1102377246f0a58ab49801b7fa12ab400560.json
deleted file mode 100644
index 4e0f6bd106..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-9e506dc5e6ce5381990d8258bfda1102377246f0a58ab49801b7fa12ab400560.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO document_sub_type (document_id, sub_type)\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "9e506dc5e6ce5381990d8258bfda1102377246f0a58ab49801b7fa12ab400560"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-a050d4452afd8a03be00d98fb2d74d089cc1f02baf1933477ce87b69558082d4.json b/rust/cloud-storage/chat/.sqlx/query-a050d4452afd8a03be00d98fb2d74d089cc1f02baf1933477ce87b69558082d4.json
deleted file mode 100644
index 035450c213..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-a050d4452afd8a03be00d98fb2d74d089cc1f02baf1933477ce87b69558082d4.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentInstanceModificationData\" (\"documentInstanceId\", \"modificationData\")\n VALUES ($1, $2);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Jsonb"
- ]
- },
- "nullable": []
- },
- "hash": "a050d4452afd8a03be00d98fb2d74d089cc1f02baf1933477ce87b69558082d4"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-a2de5ccd5cea15012e02e998ca560e279b04606f2d9520d2b3316b23e1948e66.json b/rust/cloud-storage/chat/.sqlx/query-a2de5ccd5cea15012e02e998ca560e279b04606f2d9520d2b3316b23e1948e66.json
deleted file mode 100644
index 35c6872f1a..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-a2de5ccd5cea15012e02e998ca560e279b04606f2d9520d2b3316b23e1948e66.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM entity_access\n WHERE source_id = ANY($1) AND entity_id = $2 AND entity_type = $3 AND source_type = 'user'\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "a2de5ccd5cea15012e02e998ca560e279b04606f2d9520d2b3316b23e1948e66"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json b/rust/cloud-storage/chat/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
deleted file mode 100644
index f214362a1f..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'call'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (\n SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1\n )\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-acce87ece376ef3d87f7de83d626da15b53d400bc7d362f4ef8846e055ed8e0c.json b/rust/cloud-storage/chat/.sqlx/query-acce87ece376ef3d87f7de83d626da15b53d400bc7d362f4ef8846e055ed8e0c.json
deleted file mode 100644
index 01d19417ca..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-acce87ece376ef3d87f7de83d626da15b53d400bc7d362f4ef8846e055ed8e0c.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_access (entity_id, entity_type, source_id, source_type, access_level)\n VALUES ($1, $2, $3, 'user', $4)\n ON CONFLICT (entity_id, entity_type, source_id, source_type)\n WHERE granted_from_project_id IS NULL\n DO UPDATE SET access_level = EXCLUDED.access_level, updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "acce87ece376ef3d87f7de83d626da15b53d400bc7d362f4ef8846e055ed8e0c"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-aeaa28037abd84dfb5393969479d30335566b4207d7e9af61c00d31abea4a790.json b/rust/cloud-storage/chat/.sqlx/query-aeaa28037abd84dfb5393969479d30335566b4207d7e9af61c00d31abea4a790.json
deleted file mode 100644
index b41f112c69..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-aeaa28037abd84dfb5393969479d30335566b4207d7e9af61c00d31abea4a790.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Chat\" c\n JOIN \"Project\" p ON c.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE c.id = $1 AND c.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id\n AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $1\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "aeaa28037abd84dfb5393969479d30335566b4207d7e9af61c00d31abea4a790"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json b/rust/cloud-storage/chat/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
deleted file mode 100644
index 4327d95754..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChannelSharePermission\" (\"share_permission_id\", \"channel_id\", \"access_level\")\n SELECT $1, channel_id, access_level::\"AccessLevel\"\n FROM UNNEST($2::text[], $3::text[]) AS t(channel_id, access_level)\n ON CONFLICT (\"share_permission_id\", \"channel_id\")\n DO UPDATE SET \"access_level\" = EXCLUDED.\"access_level\"\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b14a19253757e1e650c626bbda138092b21c2437a80b46dd5a4c8c87825f3126.json b/rust/cloud-storage/chat/.sqlx/query-b14a19253757e1e650c626bbda138092b21c2437a80b46dd5a4c8c87825f3126.json
deleted file mode 100644
index 7a6ee067a3..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b14a19253757e1e650c626bbda138092b21c2437a80b46dd5a4c8c87825f3126.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Document\" (owner, name, \"fileType\", \"documentFamilyId\", \"branchedFromId\", \"branchedFromVersionId\", \"projectId\")\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Int8",
- "Text",
- "Int8",
- "Text"
- ]
- },
- "nullable": [
- false,
- null,
- null
- ]
- },
- "hash": "b14a19253757e1e650c626bbda138092b21c2437a80b46dd5a4c8c87825f3126"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json b/rust/cloud-storage/chat/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
deleted file mode 100644
index aa74e2b98b..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'email_thread'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json b/rust/cloud-storage/chat/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
deleted file mode 100644
index 93348ea121..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"ChannelSharePermission\"\n WHERE \"share_permission_id\" = $1\n AND \"channel_id\" = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json b/rust/cloud-storage/chat/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
deleted file mode 100644
index be13d76b25..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'document'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $3\n ) \n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json b/rust/cloud-storage/chat/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
deleted file mode 100644
index d560cb7eb3..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'chat'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json b/rust/cloud-storage/chat/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
deleted file mode 100644
index 1216b39a3c..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'project'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-d28ddb488fda49824849b20068fcd7a04e53c34dffafdfbe30cd14bee456010a.json b/rust/cloud-storage/chat/.sqlx/query-d28ddb488fda49824849b20068fcd7a04e53c34dffafdfbe30cd14bee456010a.json
deleted file mode 100644
index 2ba85cd921..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-d28ddb488fda49824849b20068fcd7a04e53c34dffafdfbe30cd14bee456010a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT(m.sender_id) as id\n FROM comms_channel_participants cp\n JOIN comms_channels c ON c.id = cp.channel_id\n JOIN comms_messages m ON m.channel_id = c.id \n WHERE (m.id = $1 OR m.thread_id = $1) AND cp.left_at IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d28ddb488fda49824849b20068fcd7a04e53c34dffafdfbe30cd14bee456010a"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-d5f7d33eed11e9b58ca5b830b806700d28c3d345b03bddf1e5a290f84072571d.json b/rust/cloud-storage/chat/.sqlx/query-d5f7d33eed11e9b58ca5b830b806700d28c3d345b03bddf1e5a290f84072571d.json
deleted file mode 100644
index 32802bab4c..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-d5f7d33eed11e9b58ca5b830b806700d28c3d345b03bddf1e5a290f84072571d.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"EmailThreadPermission\" etp\n JOIN \"Project\" p ON etp.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE etp.\"threadId\" = $1\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id\n AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $1\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "d5f7d33eed11e9b58ca5b830b806700d28c3d345b03bddf1e5a290f84072571d"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-dbd4d7f9b102138d0deed045cc058e4d56350e854923cabc4e7a6881a6de9be4.json b/rust/cloud-storage/chat/.sqlx/query-dbd4d7f9b102138d0deed045cc058e4d56350e854923cabc4e7a6881a6de9be4.json
deleted file mode 100644
index e9054feea5..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-dbd4d7f9b102138d0deed045cc058e4d56350e854923cabc4e7a6881a6de9be4.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access with source_ids (user, teams, channels)\n SELECT access_level::text FROM entity_access\n WHERE source_id = ANY(ARRAY(\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $3 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $3\n UNION ALL\n SELECT $3\n ))\n AND entity_id = $1\n AND entity_type = 'chat'\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $2\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "dbd4d7f9b102138d0deed045cc058e4d56350e854923cabc4e7a6881a6de9be4"
-}
diff --git a/rust/cloud-storage/chat/.sqlx/query-eca33c5ab9f2376095116048cfe1e12319afb194d75977f5de4118c87dd433ed.json b/rust/cloud-storage/chat/.sqlx/query-eca33c5ab9f2376095116048cfe1e12319afb194d75977f5de4118c87dd433ed.json
deleted file mode 100644
index c380fde1f6..0000000000
--- a/rust/cloud-storage/chat/.sqlx/query-eca33c5ab9f2376095116048cfe1e12319afb194d75977f5de4118c87dd433ed.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $2 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $2\n UNION ALL\n SELECT $2\n )\n SELECT\n entity_id::text as \"entity_id!\",\n entity_type as \"entity_type!\",\n source_id as \"source_id!\",\n access_level as \"access_level!: AccessLevel\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\"\n FROM entity_access\n WHERE source_id = ANY(SELECT source_id FROM user_source_ids)\n AND entity_id = $1\n AND entity_type = 'document'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "source_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "access_level!: AccessLevel",
- "type_info": {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "eca33c5ab9f2376095116048cfe1e12319afb194d75977f5de4118c87dd433ed"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json b/rust/cloud-storage/comms_db_client/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json
deleted file mode 100644
index 6e77af4fb4..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n FROM comms_messages\n WHERE channel_id = (SELECT channel_id FROM comms_messages WHERE id=$1)\n AND\n created_at > (SELECT created_at FROM comms_messages WHERE id=$1)\n ORDER BY created_at ASC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "0bc2a0143c7f09e18223dc04ab8ed7052f7c7587ec002e1716ada1ccd58db8dc"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json b/rust/cloud-storage/comms_db_client/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json
deleted file mode 100644
index e1bbae2e1a..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE comms_channels\n SET updated_at = $2 \n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Timestamptz"
- ]
- },
- "nullable": []
- },
- "hash": "0c59340d688c2132886f2fb765d3a9843931e9bb4006a4b10588e3eb32ed49c0"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json b/rust/cloud-storage/comms_db_client/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json
deleted file mode 100644
index b1c2763d8b..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH message_channel AS (\n SELECT channel_id FROM comms_messages WHERE id = $1\n ),\n mentions_to_insert AS (\n SELECT t.entity_type, t.entity_id\n FROM UNNEST($2::text[], $3::text[]) AS t(entity_type, entity_id)\n ),\n inserted_mentions AS (\n INSERT INTO comms_entity_mentions (id, source_entity_type, source_entity_id, entity_type, entity_id, user_id)\n SELECT gen_random_uuid(), 'message', $1::text, m.entity_type, m.entity_id, NULL\n FROM mentions_to_insert m\n WHERE NOT EXISTS (\n SELECT 1 FROM comms_entity_mentions em \n WHERE em.source_entity_type = 'message' \n AND em.source_entity_id = $1::text\n AND em.entity_type = m.entity_type \n AND em.entity_id = m.entity_id\n )\n )\n SELECT DISTINCT cp.user_id\n FROM mentions_to_insert m\n CROSS JOIN message_channel mc\n JOIN comms_channel_participants cp ON m.entity_id = cp.user_id\n WHERE m.entity_type = 'user'\n AND cp.channel_id = mc.channel_id\n AND cp.left_at IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "13739c28aac5015e3bb881dbf24f0a657d995d9292dd6cffc385e2f92ec07276"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json b/rust/cloud-storage/comms_db_client/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json
deleted file mode 100644
index 68b44d7f91..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n name\n FROM comms_channels\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "1b9cfa3d4094394511f73413672e79e2ec7426b562ad9dbf8d6adfb3b33045e8"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json b/rust/cloud-storage/comms_db_client/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json
deleted file mode 100644
index efdf0025ad..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_reactions\n WHERE message_id = $1 AND emoji = $2 AND user_id = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "22b6d77bfd1c45120ccf35569e79ddb46a99a61528c59231a0dd5f263df499e6"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json b/rust/cloud-storage/comms_db_client/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json
deleted file mode 100644
index 5f203b58b1..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, source_entity_type, source_entity_id, entity_type, entity_id, user_id, created_at\n FROM comms_entity_mentions\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "source_entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "source_entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "user_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "29a11db8b490eb1c5d38e3675c052d9b254b34f31fd8ec476909d3ded6efe340"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json b/rust/cloud-storage/comms_db_client/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json
deleted file mode 100644
index 7afa5d1c7f..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n em.id,\n em.source_entity_type,\n em.source_entity_id,\n em.entity_type,\n em.entity_id,\n em.user_id,\n em.created_at\n FROM comms_entity_mentions AS em\n JOIN comms_messages AS m ON em.source_entity_id = m.id::text\n WHERE em.source_entity_type = 'message'\n AND (m.id = $1 OR m.thread_id = $1)\n ORDER BY em.created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "source_entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "source_entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "user_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "2f3f099717f4ffb3f73532fab42a02a6467e73fbd05c4d265903fd4bec995a89"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json b/rust/cloud-storage/comms_db_client/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json
deleted file mode 100644
index 06db0f26c9..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_activity (\n id,\n user_id,\n channel_id,\n viewed_at\n )\n VALUES (\n $1, $2, $3, NOW()\n )\n ON CONFLICT (user_id, channel_id) DO UPDATE \n SET \n viewed_at = NOW(),\n updated_at = NOW()\n RETURNING \n id as \"id!: Uuid\",\n user_id as \"user_id!: String\",\n channel_id as \"channel_id!: Uuid\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\",\n viewed_at as \"viewed_at?: DateTime<Utc>\",\n interacted_at as \"interacted_at?: DateTime<Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "channel_id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "viewed_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "interacted_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "32d69c4b151395989d7d00d594b1bd7161f5cc97b63616e9062feef7a335321c"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json b/rust/cloud-storage/comms_db_client/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json
deleted file mode 100644
index 666c462838..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT m.channel_id\n FROM comms_entity_mentions em\n JOIN comms_messages m ON m.id::text = em.source_entity_id AND em.source_entity_type = 'message'\n JOIN comms_channels c ON c.id = m.channel_id\n WHERE em.entity_id = $1 AND em.entity_type = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "3819e79d674b6629df95c52d2e865328a519ed67ec84b882261f44489823523e"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json b/rust/cloud-storage/comms_db_client/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json
deleted file mode 100644
index 0d46873a60..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_channels AS (\n SELECT DISTINCT c.*\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n \n UNION\n \n SELECT c.*\n FROM comms_channels c\n WHERE c.channel_type = 'organization'::comms_channel_type\n AND c.org_id = $2::bigint\n )\n SELECT \n id as \"id!\"\n FROM user_channels\n ORDER BY created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "3c53847bf278b4452c56d695306bb384f3a9354e7e078bfc73ffd0b95f46dd03"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json b/rust/cloud-storage/comms_db_client/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json
deleted file mode 100644
index 73aeb3e457..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS (\n SELECT 1 FROM comms_channel_participants\n WHERE channel_id = $1\n AND user_id = $2\n AND role IN ('admin'::comms_participant_role, 'owner'::comms_participant_role)\n ) as \"is_authorized!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "is_authorized!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "3e8b0491c7a948d3f6d821b9b7d7516558a0c38da48816d8a8f3ac8420fb4fa7"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json b/rust/cloud-storage/comms_db_client/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json
deleted file mode 100644
index b4e060a62c..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_activity (\n id,\n user_id,\n channel_id,\n created_at,\n updated_at\n )\n VALUES (\n $1, $2, $3, NOW(), NOW()\n )\n RETURNING \n id as \"id!: Uuid\",\n user_id as \"user_id!: String\",\n channel_id as \"channel_id!: Uuid\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\",\n viewed_at as \"viewed_at?: DateTime<Utc>\",\n interacted_at as \"interacted_at?: DateTime<Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "channel_id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "viewed_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "interacted_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "3eebc9f54cadfffef67a78b403320f8f305d08873a4c857c118f166d6c16b6af"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json b/rust/cloud-storage/comms_db_client/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json
deleted file mode 100644
index 8f303de688..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_channels (id, name, owner_id, org_id, channel_type)\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Int8",
- {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "4465cdde5f953cd550e7190572d8e5e4c70fce8558763d56a3f57e99474a9aeb"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json b/rust/cloud-storage/comms_db_client/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json
deleted file mode 100644
index 4a8318f952..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n a.user_id as \"user_id!: String\",\n a.updated_at\n FROM comms_activity a\n WHERE channel_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "4bce30abb40ab058dd6e4681f28e4e0761b29a596122af48beb1a062bd157844"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json b/rust/cloud-storage/comms_db_client/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json
deleted file mode 100644
index df6dc3c263..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n m.channel_id AS \"channel_id: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n m.id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n em.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_entity_mentions em\n JOIN comms_messages m ON (em.source_entity_id = m.id::text AND em.source_entity_type = 'message')\n JOIN comms_channels c ON m.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE em.entity_type = $1\n AND em.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY em.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "message_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "thread_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "sender_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "message_content!",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "message_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "attachment_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "4e6737a5a777280784037e88ccdda4e6e89dae702e5b50269db6e17265d14643"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json b/rust/cloud-storage/comms_db_client/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
deleted file mode 100644
index b0dbe81774..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n a.channel_id AS \"channel_id: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n a.message_id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n a.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_attachments a\n JOIN comms_messages m ON a.message_id = m.id\n JOIN comms_channels c ON a.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE a.entity_type = $1\n AND a.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY a.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "message_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "thread_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "sender_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "message_content!",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "message_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "attachment_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json b/rust/cloud-storage/comms_db_client/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json
deleted file mode 100644
index 08b2dd3e86..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n message_id as \"message_id: Uuid\",\n channel_id as \"channel_id: Uuid\",\n entity_type,\n entity_id,\n width,\n height,\n created_at\n FROM comms_attachments\n WHERE message_id = $1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "message_id: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "channel_id: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "width",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "height",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "52cc02c4d43669d3a1c8f350e3af7c261071298ef899917c3380d56d4873e0d2"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json b/rust/cloud-storage/comms_db_client/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json
deleted file mode 100644
index c6eb93ad48..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_channels (id, name, owner_id, org_id, team_id, channel_type)\n VALUES ($1, $2, $3, $4, $5, $6)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Int8",
- "Uuid",
- {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5429a0ff80ba0e9394eb205bddbb2dc247030b9e6eb3a750e30cdd770bf92fa9"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json
deleted file mode 100644
index a8e38250f7..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"item_id!\",\n c.created_at as \"created_at!\",\n c.updated_at as \"updated_at!\",\n uh.viewed_at as \"viewed_at?\",\n uh.interacted_at as \"interacted_at?\",\n c.owner_id as \"user_id\",\n c.channel_type AS \"channel_type: ChannelType\"\n FROM\n comms_channels c\n LEFT JOIN\n comms_activity uh ON uh.channel_id = c.id\n AND uh.user_id = $1\n WHERE\n c.id = ANY($2)\n ORDER BY\n c.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "viewed_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "interacted_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "channel_type: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "6038d459d2d8e60479180f5b8a756380bda195f4769b6420e601ed147a9439f9"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json b/rust/cloud-storage/comms_db_client/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json
deleted file mode 100644
index ccd0aadea5..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_messages (id, channel_id, sender_id, content, thread_id)\n VALUES ($1, $2, $3, $4, $5)\n RETURNING\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "61246005cb69889a67ac46d2032f4fe9c1da7b19594f1b7dc59f2ed0a613dec1"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json b/rust/cloud-storage/comms_db_client/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json
deleted file mode 100644
index d682fd6e7c..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_activity (\n id,\n user_id,\n channel_id,\n interacted_at\n )\n VALUES (\n $1, $2, $3, NOW()\n )\n ON CONFLICT (user_id, channel_id) DO UPDATE \n SET \n interacted_at = NOW(),\n updated_at = NOW()\n RETURNING \n id as \"id!: Uuid\",\n user_id as \"user_id!: String\",\n channel_id as \"channel_id!: Uuid\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\",\n viewed_at as \"viewed_at?: DateTime<Utc>\",\n interacted_at as \"interacted_at?: DateTime<Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "channel_id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "viewed_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "interacted_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "68ce38278462b5328c5444aadd3f309c9fbe4f4a2883ee55e7247c65a911ee80"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json
deleted file mode 100644
index 38961c137b..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE comms_messages\n SET content = $1, updated_at = NOW(), deleted_at = NOW()\n WHERE id = $2\n RETURNING \n id, \n channel_id,\n sender_id,\n content, \n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "6a959012e52fd6acf519e2ff3b2d48c962d566f65758eb3084d384fca676efde"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json
deleted file mode 100644
index aa097e55a5..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(id) as count FROM comms_messages\n WHERE channel_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "6be5aa69eb2f953dcefeebec85994f26d25cc170a7ae1eaca2e73ef0581605e4"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json
deleted file mode 100644
index 9f13f899ff..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT * FROM comms_reactions WHERE message_id = $1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "emoji",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false
- ]
- },
- "hash": "6d7020b1f916fc36d8da4a2bc277de97b6045e3908a0b3cee7ceabb3dccf0e7b"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json
deleted file mode 100644
index dd32fa44a6..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n channel_type AS \"channel_type: ChannelType\",\n name,\n org_id\n FROM comms_channels\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_type: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "org_id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- true
- ]
- },
- "hash": "6dbeb827ecd69ff3c396cdd1ad2fe22f3298692ad5c45b2ff87b1e396a492108"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json
deleted file mode 100644
index 6cf849fd5c..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n em.source_entity_type,\n em.source_entity_id,\n em.entity_type,\n em.entity_id,\n em.user_id,\n em.created_at\n FROM comms_entity_mentions em\n WHERE em.entity_type = $1\n AND em.entity_id = $2\n AND em.source_entity_type != 'message'\n ORDER BY em.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "source_entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 1,
- "name": "source_entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "user_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "6ddfc76d4a95ab81c18c930d8c08c51813d41f72f734271c538bd3e5377e2a4c"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json b/rust/cloud-storage/comms_db_client/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json
deleted file mode 100644
index 73dcf683dd..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n FROM comms_messages\n WHERE id = $1;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "6ff8a6b2288105fc7239b69206424f13f0542b0fa1d4499f8fe34cbf0c5a2fbc"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json b/rust/cloud-storage/comms_db_client/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json
deleted file mode 100644
index c729246c07..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_entity_mentions\n WHERE source_entity_id = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "706da2cb5edbf06f5304e87bed3866c7a6ba7f2a405b174a238623f5e496886c"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json b/rust/cloud-storage/comms_db_client/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json
deleted file mode 100644
index df6dfbd303..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id as \"id!\",\n name as \"name!\",\n channel_type as \"channel_type!: ChannelType\",\n org_id, -- This can be NULL\n created_at as \"created_at!\",\n updated_at as \"updated_at!\",\n owner_id as \"owner_id!\"\n FROM comms_channels\n WHERE channel_type = 'organization'::comms_channel_type\n AND org_id = $1::bigint\n ORDER BY created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name!",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "channel_type!: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "org_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "769d1b9f8e1e88c30aabe8698b9d64bfc2b69def0b66bbd9d4010f81617b4ce3"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json b/rust/cloud-storage/comms_db_client/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json
deleted file mode 100644
index b7303fb33f..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n channel_id,\n id\n FROM comms_messages\n ORDER BY created_at ASC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "7a648c2b6fb238695165051b64883dbc7d0e3fe4ecf4e65943e6c3c897261799"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json b/rust/cloud-storage/comms_db_client/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json
deleted file mode 100644
index 0dbcf950ad..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_entity_mentions\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "857660d2872b58e76b92cd38e6100f7963d9d2e566acaa8849c5adc537cfc2f1"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json b/rust/cloud-storage/comms_db_client/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json
deleted file mode 100644
index ca5613aa3c..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE comms_messages\n SET \n updated_at = NOW(),\n edited_at = NOW(),\n deleted_at = CASE \n WHEN $2 = false AND (content IS NULL OR content ~ '^[\\s]*$') THEN NOW()\n ELSE deleted_at\n END\n WHERE id = $1\n RETURNING\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Bool"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "8bbec277addaa63540e2e5f0e8bf028a0d4bd3693357894d25d879dcd9b72563"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json b/rust/cloud-storage/comms_db_client/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json
deleted file mode 100644
index ed15384636..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n user_id\n FROM comms_channel_participants\n WHERE channel_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8cc1aa2163c9650b121037b241370b154ad229bcf9280c54e5975914d1c6fc78"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json b/rust/cloud-storage/comms_db_client/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json
deleted file mode 100644
index d509d3fe6f..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103.json
+++ /dev/null
@@ -1,96 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id as \"channel_id\",\n c.name as \"name\",\n c.channel_type AS \"channel_type: ChannelType\",\n c.org_id as \"org_id\",\n m.id as \"message_id\",\n m.thread_id as \"thread_id\",\n m.sender_id as \"sender_id\",\n m.content as \"content\",\n m.created_at as \"created_at\",\n m.updated_at as \"updated_at\",\n m.deleted_at::timestamptz as \"deleted_at\"\n FROM\n comms_messages m\n JOIN\n comms_channels c on c.\"id\" = m.\"channel_id\"\n WHERE\n m.id = $1\n AND c.id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "channel_type: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "org_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 5,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 6,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- false,
- null
- ]
- },
- "hash": "908627bdd27f344ce26c501bb7431b621173c04bfda9678021360817c3f25103"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json b/rust/cloud-storage/comms_db_client/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json
deleted file mode 100644
index 806760a2c8..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_messages (id, channel_id, sender_id, content, thread_id)\n VALUES ($1, $2, $3, $4, $5)\n RETURNING\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\" \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "91e974129e2c983925d29dabf73c8ae86c6f090cbfd28f22cd952756950a94db"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json b/rust/cloud-storage/comms_db_client/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json
deleted file mode 100644
index 94d5f34dbe..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE comms_messages\n SET content = $1, updated_at = NOW(), edited_at = NOW()\n WHERE id = $2\n RETURNING\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "98b0bd8f950443e4240f137adebdf2219b052d3bcbd4a3e79a5f80e81a61522e"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json
deleted file mode 100644
index b504b24713..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n a.id as \"id!: Uuid\",\n a.user_id as \"user_id!: String\",\n a.channel_id as \"channel_id!: Uuid\",\n a.viewed_at as \"viewed_at?: DateTime<Utc>\",\n a.interacted_at as \"interacted_at?: DateTime<Utc>\",\n a.created_at as \"created_at!: DateTime<Utc>\",\n a.updated_at as \"updated_at!: DateTime<Utc>\"\n FROM comms_activity a\n WHERE channel_id = $1 AND user_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "channel_id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "viewed_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "interacted_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "a277974b231f69f2a2912fb1634affdf67114b90d5d398d16dec2f801aabdda8"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json
deleted file mode 100644
index 1c414e492b..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM comms_channels\n WHERE channel_type = 'direct_message'\n AND EXISTS (\n SELECT 1\n FROM comms_channel_participants cp\n WHERE cp.channel_id = comms_channels.id\n AND cp.user_id = $1\n )\n AND EXISTS (\n SELECT 1\n FROM comms_channel_participants cp\n WHERE cp.channel_id = comms_channels.id\n AND cp.user_id = $2\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "a39eae1006cfea2c75cd5535ca05790dc40b7534736632062d8167c7f450a830"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json
deleted file mode 100644
index ce74fe57d6..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n FROM comms_messages\n WHERE channel_id = (SELECT channel_id FROM comms_messages WHERE id=$1)\n AND\n created_at < (SELECT created_at FROM comms_messages WHERE id=$1)\n ORDER BY created_at DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "a50dbd446eb87217f71d275788a2c2f7ad1583ff17bc8b32145d6863070aa63a"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json
deleted file mode 100644
index 8e933bf7c0..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_channel_participants (channel_id, user_id, role)\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "comms_participant_role",
- "kind": {
- "Enum": [
- "owner",
- "admin",
- "member"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "a5cc2431d45e9bbd7e6c60a2bfb7a6533d6f7c8d051ca997a7e0db53314d5f80"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json
deleted file mode 100644
index cffbe7653a..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sender_id\n FROM comms_messages\n WHERE id = $1\n ORDER BY created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "a765f217add20532a937d9f7987ea56ce1f80c9cb9236bc3dc83c73b346ffe79"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json b/rust/cloud-storage/comms_db_client/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json
deleted file mode 100644
index 8bc55d69f6..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n user_id,\n channel_id,\n joined_at,\n left_at,\n role as \"role: DbParticipantRole\"\n FROM comms_channel_participants\n WHERE channel_id = $1\n ORDER BY joined_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "joined_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "left_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "role: DbParticipantRole",
- "type_info": {
- "Custom": {
- "name": "comms_participant_role",
- "kind": {
- "Enum": [
- "owner",
- "admin",
- "member"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "a7f90096050e550d15ef11bbc56a3cd79e1a80bc3f46cd063d0ff94d9b76f252"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json b/rust/cloud-storage/comms_db_client/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json
deleted file mode 100644
index f86bbc7421..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n name,\n channel_type AS \"channel_type: ChannelType\",\n org_id,\n created_at,\n updated_at,\n owner_id\n FROM comms_channels\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "channel_type: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "org_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "owner_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "af221abca7c795e8be43765273da50af55ed9b7f069ee43fa7149deb8425f6bf"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json b/rust/cloud-storage/comms_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
deleted file mode 100644
index 8844ec6411..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id \n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n AND c.id = ANY($2::uuid[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json b/rust/cloud-storage/comms_db_client/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json
deleted file mode 100644
index 2c70220aed..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id as \"channel_id\"\n FROM\n comms_channels\n ORDER BY\n created_at ASC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b5578ab6da001f418fe8ff216616b79eb80caf8e2677fcf4e7127151060a50ea"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json b/rust/cloud-storage/comms_db_client/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json
deleted file mode 100644
index c75041f6fc..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_reactions (message_id, emoji, user_id)\n VALUES ($1, $2, $3)\n ON CONFLICT DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b7234825305171a78e8d113745b271492fc7c2921b36730ce9331249d55d300c"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json
deleted file mode 100644
index da597ed870..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_channel_participants (channel_id, role, user_id)\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- {
- "Custom": {
- "name": "comms_participant_role",
- "kind": {
- "Enum": [
- "owner",
- "admin",
- "member"
- ]
- }
- }
- },
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ba4127d1e61f849f9429fdfedae68131fa26405dbacb0b1afe9a6f52e50fa57e"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json b/rust/cloud-storage/comms_db_client/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json
deleted file mode 100644
index 8ab1279285..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n message_id as \"message_id: Uuid\",\n channel_id as \"channel_id: Uuid\",\n entity_type,\n entity_id,\n width,\n height,\n created_at\n FROM comms_attachments\n WHERE channel_id = $1\n ORDER BY created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "message_id: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "channel_id: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "width",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "height",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "cbe989d8428852cbc096f4f28398b5c5352f1fc2369890ab77d90fb643b8d4c4"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json
deleted file mode 100644
index 9190908373..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_entity_mentions\n WHERE entity_id = ANY($1) AND source_entity_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ccc0496ce34f87e79360098eba2eeee80a42eab9217c57dfde6a972b458e609e"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json
deleted file mode 100644
index 1331a9c60a..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n entity_type,\n entity_id\n FROM\n comms_entity_mentions\n WHERE\n source_entity_id = $1 AND source_entity_type = 'message'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 1,
- "name": "entity_id",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "ce218da82b99295aed3a609a21f5feaf304a4d50bbabe9151bb0bbaef7bcef16"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json b/rust/cloud-storage/comms_db_client/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json
deleted file mode 100644
index 6a73801e19..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM comms_channels\n WHERE channel_type = 'private'\n AND (\n (\n SELECT COUNT(*)\n FROM comms_channel_participants cp\n WHERE cp.channel_id = comms_channels.id\n AND cp.user_id = ANY($1)\n ) = CARDINALITY($1)\n AND (\n SELECT COUNT(*)\n FROM comms_channel_participants\n WHERE channel_id = comms_channels.id\n ) = CARDINALITY($1)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d7f495dccb8ccbbb1852b75eb6f8c4886d163b9864ed3cdb0b52b95b4f8325f7"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json b/rust/cloud-storage/comms_db_client/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json
deleted file mode 100644
index 7448650148..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE comms_channels\n SET name = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Varchar",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "e1fc9c7524d0d20844d2cad0402fd1a2058e31c5692d66a0107d9a45c9d83f7b"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json b/rust/cloud-storage/comms_db_client/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json
deleted file mode 100644
index aaf62f0e21..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT * FROM comms_reactions WHERE message_id = ANY($1)",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "emoji",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false
- ]
- },
- "hash": "e2ce5bac0954c6b635a707279d36b926dfeea6482a19a9fc7911fb5487714cd7"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json b/rust/cloud-storage/comms_db_client/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json
deleted file mode 100644
index 1da6bbfcbe..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_attachments (id, message_id, channel_id, entity_type, entity_id, width, height)\n SELECT * FROM UNNEST($1::uuid[], $2::uuid[], $3::uuid[], $4::varchar[], $5::varchar[], $6::int[], $7::int[])\n RETURNING\n id,\n message_id,\n channel_id,\n entity_type,\n entity_id,\n width,\n height,\n created_at\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "width",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "height",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray",
- "UuidArray",
- "UuidArray",
- "VarcharArray",
- "VarcharArray",
- "Int4Array",
- "Int4Array"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "e58e7758d9e066abfb5c6d0e5d14ccd7925ff91159a77cc1bf4c94f8e910f2b1"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json b/rust/cloud-storage/comms_db_client/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json
deleted file mode 100644
index 46cf44d494..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_entity_mentions (id, source_entity_type, source_entity_id, entity_type, entity_id, user_id)\n VALUES ($1, $2, $3, $4, $5, $6)\n RETURNING id, source_entity_type, source_entity_id, entity_type, entity_id, user_id, created_at\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "source_entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "source_entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "entity_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "entity_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "user_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Varchar",
- "Varchar",
- "Varchar",
- "Varchar"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "e7beaf1aca82261875e7d9886fa6b1b6e4ed2a281d8b1571e8edd83bbe890721"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json
deleted file mode 100644
index 07a1ab68c7..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_channels\n WHERE id = $1\n AND EXISTS (\n SELECT 1 FROM comms_channel_participants\n WHERE channel_id = $1\n AND user_id = $2\n AND role = 'owner'::comms_participant_role\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ecfb4ae58128a90c615fb3c25c24aaa6dab70b4a4e90b23913f297d806a06a7e"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json
deleted file mode 100644
index 4c202caa69..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n channel_id,\n sender_id,\n content,\n created_at,\n updated_at,\n thread_id,\n edited_at as \"edited_at: chrono::DateTime<chrono::Utc>\",\n deleted_at as \"deleted_at: chrono::DateTime<chrono::Utc>\"\n FROM (\n SELECT *\n FROM comms_messages\n WHERE channel_id = $1\n AND ($2::timestamptz IS NULL OR created_at >= $2)\n ORDER BY created_at DESC\n LIMIT $3\n ) AS latest_messages\n ORDER BY created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "sender_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "edited_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "deleted_at: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Timestamptz",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "ed2f2e964af409b89eceb93c1b4ee3364dbb75bdc22047789492b8f73b3e2491"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json b/rust/cloud-storage/comms_db_client/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json
deleted file mode 100644
index 4cce0a41ea..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n c.id as channel_id,\n c.name as channel_name,\n c.channel_type as \"channel_type: ChannelType\",\n (\n SELECT COUNT(*) \n FROM comms_channel_participants cp_count \n WHERE cp_count.channel_id = c.id \n AND cp_count.left_at IS NULL\n ) as \"participants!: i32\",\n CASE WHEN (\n c.channel_type = 'public'\n OR\n (c.channel_type = 'organization' AND $3::bigint IS NOT NULL AND c.org_id = $3)\n OR\n (c.channel_type IN ('private', 'direct_message', 'team') AND EXISTS (\n SELECT 1 FROM comms_channel_participants cp \n WHERE cp.channel_id = c.id \n AND cp.user_id = $2\n AND cp.left_at IS NULL\n ))\n ) THEN true ELSE false END as \"has_access!: bool\"\n FROM\n comms_channels c\n WHERE\n c.id::text = ANY($1)\n AND (c.channel_type != 'organization' OR $3::bigint IS NOT NULL)\n GROUP BY \n c.id,\n c.name,\n c.channel_type,\n c.org_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "channel_type: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "participants!: i32",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "has_access!: bool",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- null,
- null
- ]
- },
- "hash": "ef1c943a49c710bf357a4946bc9836b8f94e41153e09be1b64120d8b5d5834b9"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json b/rust/cloud-storage/comms_db_client/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json
deleted file mode 100644
index c793fa1d88..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_channel_participants (channel_id, role, user_id)\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- {
- "Custom": {
- "name": "comms_participant_role",
- "kind": {
- "Enum": [
- "owner",
- "admin",
- "member"
- ]
- }
- }
- },
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "f2a71de44d62190ec6ccad44b2e3a5b00bf57e5f0b948b2d882d2d036375d913"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json b/rust/cloud-storage/comms_db_client/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json
deleted file mode 100644
index 70f8666277..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"comms_channel_participants\"\n WHERE channel_id = $1 AND user_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "f360ad52de6c2f6b0c60902cbcb7ebad2671fe50f6425314bf3c007d01f53884"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json b/rust/cloud-storage/comms_db_client/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json
deleted file mode 100644
index f3e671dfa5..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n e.source_entity_id::uuid as \"message_id!: uuid::Uuid\",\n e.entity_type as \"entity_type!\",\n e.entity_id as \"entity_id!\",\n e.created_at as \"created_at!\"\n FROM comms_entity_mentions e\n JOIN comms_messages m ON e.source_entity_id = m.id::text\n WHERE e.source_entity_type = 'message'\n AND m.channel_id = $1\n AND m.deleted_at IS NULL\n ORDER BY e.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id!: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "entity_id!",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "created_at!",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- null,
- false,
- false,
- false
- ]
- },
- "hash": "f994c62400d14f223c8be523136c008a34cde0310e6f57130a9ccd538f9d7866"
-}
diff --git a/rust/cloud-storage/comms_db_client/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json b/rust/cloud-storage/comms_db_client/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json
deleted file mode 100644
index 7af45e1045..0000000000
--- a/rust/cloud-storage/comms_db_client/.sqlx/query-faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM comms_attachments\n WHERE id = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "faa0297c270e2643d9f8523a4331c4cd24bd39b97dcde6411ace461d6c61a8b0"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
deleted file mode 100644
index 46a9e1a12d..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Chat\"\n WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
deleted file mode 100644
index fa71ec2445..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserHistory\" WHERE \"itemId\" = $1 AND \"itemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
deleted file mode 100644
index 05a8dc4343..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" WHERE \"pinnedItemId\" = $1 AND \"pinnedItemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
deleted file mode 100644
index d742c4ba27..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as share_permission_id\n FROM \"ChatPermission\"\n WHERE \"chatId\"=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "share_permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
deleted file mode 100644
index bad2cb0d0e..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\" WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade"
-}
diff --git a/rust/cloud-storage/delete_chat_handler/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json b/rust/cloud-storage/delete_chat_handler/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
deleted file mode 100644
index 19f6ad325a..0000000000
--- a/rust/cloud-storage/delete_chat_handler/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"entity_access\"\n WHERE \"entity_id\" = $1 AND \"entity_type\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d"
-}
diff --git a/rust/cloud-storage/document_cognition_service/.sqlx/query-2be663b7a621a105dd9989f13ede43e03f3c8d625e89eb48ae2b18fdf246eed3.json b/rust/cloud-storage/document_cognition_service/.sqlx/query-2be663b7a621a105dd9989f13ede43e03f3c8d625e89eb48ae2b18fdf246eed3.json
deleted file mode 100644
index 96670023b9..0000000000
--- a/rust/cloud-storage/document_cognition_service/.sqlx/query-2be663b7a621a105dd9989f13ede43e03f3c8d625e89eb48ae2b18fdf246eed3.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, content\n FROM \"ChatMessage\"\n WHERE \"chatId\" = $1\n ORDER BY \"createdAt\" ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "content",
- "type_info": "Jsonb"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "2be663b7a621a105dd9989f13ede43e03f3c8d625e89eb48ae2b18fdf246eed3"
-}
diff --git a/rust/cloud-storage/document_cognition_service/.sqlx/query-8998b4b11957d70a3c2dbd6497037e1e761aa30599390e4902eccb12a7867834.json b/rust/cloud-storage/document_cognition_service/.sqlx/query-8998b4b11957d70a3c2dbd6497037e1e761aa30599390e4902eccb12a7867834.json
deleted file mode 100644
index daea510aab..0000000000
--- a/rust/cloud-storage/document_cognition_service/.sqlx/query-8998b4b11957d70a3c2dbd6497037e1e761aa30599390e4902eccb12a7867834.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"ChatMessage\"\n SET \"content\" = $1, \"updatedAt\" = NOW()\n WHERE \"id\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Jsonb",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "8998b4b11957d70a3c2dbd6497037e1e761aa30599390e4902eccb12a7867834"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json b/rust/cloud-storage/documents/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json
deleted file mode 100644
index 8bcde4e677..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT team_id\n FROM team_user\n WHERE user_id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "team_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "12bbf364a130b8f3af7e7bc7f8c64eb026124d2a66d2735b95ef387433cecd03"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json b/rust/cloud-storage/documents/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
deleted file mode 100644
index 98ceb2aeec..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Project\" SET \"updatedAt\" = NOW() WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json b/rust/cloud-storage/documents/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json
deleted file mode 100644
index 68c21db99b..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentProcessResult\" (\"documentId\", \"content\", \"jobType\")\n SELECT $1, content, 'pdf_preprocess' FROM \"DocumentProcessResult\"\n WHERE \"documentId\" = $2 and \"jobType\" = 'pdf_preprocess'\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "3463e587c615fd82082c41897c917aef97239bcdd408c928caffed0d69c21613"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json b/rust/cloud-storage/documents/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
deleted file mode 100644
index 60b912d427..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"Document\" WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json b/rust/cloud-storage/documents/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
deleted file mode 100644
index 4327d95754..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChannelSharePermission\" (\"share_permission_id\", \"channel_id\", \"access_level\")\n SELECT $1, channel_id, access_level::\"AccessLevel\"\n FROM UNNEST($2::text[], $3::text[]) AS t(channel_id, access_level)\n ON CONFLICT (\"share_permission_id\", \"channel_id\")\n DO UPDATE SET \"access_level\" = EXCLUDED.\"access_level\"\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "b08f21bc79644b7ae980ef17ea38f60be7749e48143ad40a164b236e977157f3"
-}
diff --git a/rust/cloud-storage/documents/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json b/rust/cloud-storage/documents/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
deleted file mode 100644
index 93348ea121..0000000000
--- a/rust/cloud-storage/documents/.sqlx/query-b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"ChannelSharePermission\"\n WHERE \"share_permission_id\" = $1\n AND \"channel_id\" = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "b46b2b51f07ec4fc65cd158b210ce262e9ab44f10825969072c01a8fe3022a23"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json b/rust/cloud-storage/email/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
deleted file mode 100644
index 99a3b6f452..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM (\n -- Direct user grants\n SELECT source_id as user_id FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'user'\n\n UNION ALL\n\n -- Channel Members\n SELECT cp.user_id FROM comms_channel_participants cp\n WHERE cp.left_at IS NULL AND cp.channel_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'channel'\n )\n\n UNION ALL\n\n -- Team Members\n SELECT tu.user_id FROM team_user tu\n WHERE tu.team_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'team'\n )\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json b/rust/cloud-storage/email/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
deleted file mode 100644
index f97907a55c..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json b/rust/cloud-storage/email/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
deleted file mode 100644
index 9348d25315..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $1\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json b/rust/cloud-storage/email/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
deleted file mode 100644
index 44d3a67e72..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS (\n SELECT 1\n FROM public.email_threads t\n JOIN public.email_links l ON l.id = t.link_id\n WHERE t.id = $1::uuid\n AND l.macro_id = $2\n ) AS \"exists!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "exists!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json b/rust/cloud-storage/email/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
deleted file mode 100644
index 514e8d9770..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json b/rust/cloud-storage/email/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
deleted file mode 100644
index a110bb67c6..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT cp.user_id\n FROM comms_channel_participants cp\n WHERE cp.channel_id = $1 AND cp.left_at IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json b/rust/cloud-storage/email/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
deleted file mode 100644
index 655495fb29..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n AND c.id = ANY($2::uuid[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json b/rust/cloud-storage/email/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
deleted file mode 100644
index f214362a1f..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'call'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (\n SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1\n )\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json b/rust/cloud-storage/email/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
deleted file mode 100644
index b0fb258d2d..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT l.macro_id\n FROM email_threads et\n JOIN email_links l ON et.link_id = l.id\n WHERE et.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json b/rust/cloud-storage/email/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
deleted file mode 100644
index aa74e2b98b..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'email_thread'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json b/rust/cloud-storage/email/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
deleted file mode 100644
index be13d76b25..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'document'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $3\n ) \n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json b/rust/cloud-storage/email/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
deleted file mode 100644
index d560cb7eb3..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'chat'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json b/rust/cloud-storage/email/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
deleted file mode 100644
index 3ed3f3db5e..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1)\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json b/rust/cloud-storage/email/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
deleted file mode 100644
index 1216b39a3c..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'project'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json b/rust/cloud-storage/email/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
deleted file mode 100644
index ddcaf87146..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580"
-}
diff --git a/rust/cloud-storage/email/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json b/rust/cloud-storage/email/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
deleted file mode 100644
index 3ac1b029f6..0000000000
--- a/rust/cloud-storage/email/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json b/rust/cloud-storage/email_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
deleted file mode 100644
index a247c24f9c..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT l.macro_id\n FROM email_threads t\n JOIN email_links l ON t.link_id = l.id\n WHERE t.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json b/rust/cloud-storage/email_db_client/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
deleted file mode 100644
index 08f519fb97..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_message_labels (message_id, label_id)\n SELECT\n unnested_message_id,\n l.id\n FROM\n UNNEST($1::uuid[]) AS t(unnested_message_id)\n CROSS JOIN\n email_labels l\n WHERE\n l.link_id = $2 AND l.provider_label_id = $3\n ON CONFLICT (message_id, label_id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json b/rust/cloud-storage/email_db_client/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
deleted file mode 100644
index cf67130e20..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_user_history (link_id, thread_id, created_at, updated_at)\n VALUES ($1, $2, NOW(), NOW())\n ON CONFLICT (link_id, thread_id)\n DO UPDATE SET\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json b/rust/cloud-storage/email_db_client/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
deleted file mode 100644
index 2f59f37298..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_threads\n SET\n inbox_visible = $1,\n is_read = $2,\n latest_inbound_message_ts = $3,\n latest_outbound_message_ts = $4,\n latest_non_spam_message_ts = $5,\n updated_at = NOW()\n WHERE\n id = $6 AND\n link_id = $7\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "Bool",
- "Timestamptz",
- "Timestamptz",
- "Timestamptz",
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json b/rust/cloud-storage/email_db_client/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
deleted file mode 100644
index 566b687721..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_message_recipients (message_id, contact_id, name, recipient_type)\n SELECT * FROM unnest($1::uuid[], $2::uuid[], $3::text[], $4::email_recipient_type[])\n ON CONFLICT (message_id, contact_id, recipient_type) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "UuidArray",
- "TextArray",
- {
- "Custom": {
- "name": "email_recipient_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "email_recipient_type",
- "kind": {
- "Enum": [
- "TO",
- "CC",
- "BCC"
- ]
- }
- }
- }
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json b/rust/cloud-storage/email_db_client/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
deleted file mode 100644
index f91da73bfc..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, email_address\n FROM email_contacts\n WHERE link_id = $1 AND email_address = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d"
-}
diff --git a/rust/cloud-storage/email_db_client/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json b/rust/cloud-storage/email_db_client/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
deleted file mode 100644
index 331e15bd4e..0000000000
--- a/rust/cloud-storage/email_db_client/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_message_recipients\n WHERE message_id = $1\n AND (contact_id, recipient_type) NOT IN (\n SELECT contact_id, recipient_type\n FROM unnest($2::uuid[], $3::email_recipient_type[])\n AS t(contact_id, recipient_type)\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "UuidArray",
- {
- "Custom": {
- "name": "email_recipient_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "email_recipient_type",
- "kind": {
- "Enum": [
- "TO",
- "CC",
- "BCC"
- ]
- }
- }
- }
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json b/rust/cloud-storage/entity_access/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
deleted file mode 100644
index f97907a55c..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json b/rust/cloud-storage/entity_access/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
deleted file mode 100644
index 9348d25315..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $1\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json b/rust/cloud-storage/entity_access/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
deleted file mode 100644
index 44d3a67e72..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS (\n SELECT 1\n FROM public.email_threads t\n JOIN public.email_links l ON l.id = t.link_id\n WHERE t.id = $1::uuid\n AND l.macro_id = $2\n ) AS \"exists!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "exists!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json b/rust/cloud-storage/entity_access/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
deleted file mode 100644
index 514e8d9770..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json b/rust/cloud-storage/entity_access/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
deleted file mode 100644
index a110bb67c6..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT cp.user_id\n FROM comms_channel_participants cp\n WHERE cp.channel_id = $1 AND cp.left_at IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json b/rust/cloud-storage/entity_access/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
deleted file mode 100644
index 655495fb29..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n AND c.id = ANY($2::uuid[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json b/rust/cloud-storage/entity_access/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
deleted file mode 100644
index b0fb258d2d..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT l.macro_id\n FROM email_threads et\n JOIN email_links l ON et.link_id = l.id\n WHERE et.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json b/rust/cloud-storage/entity_access/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
deleted file mode 100644
index 3ed3f3db5e..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1)\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json b/rust/cloud-storage/entity_access/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
deleted file mode 100644
index ddcaf87146..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580"
-}
diff --git a/rust/cloud-storage/entity_access/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json b/rust/cloud-storage/entity_access/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
deleted file mode 100644
index 3ac1b029f6..0000000000
--- a/rust/cloud-storage/entity_access/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437"
-}
diff --git a/rust/cloud-storage/entity_access_management/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json b/rust/cloud-storage/entity_access_management/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json
deleted file mode 100644
index f47413e3dc..0000000000
--- a/rust/cloud-storage/entity_access_management/.sqlx/query-e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE parent_projects AS (\n -- Base case: the project itself\n SELECT id, name, \"parentId\"\n FROM \"Project\"\n WHERE id = $1\n\n UNION ALL\n\n -- Recursive case: walk up to the parent\n SELECT p.id, p.name, p.\"parentId\"\n FROM \"Project\" p\n INNER JOIN parent_projects pp ON p.id = pp.\"parentId\"\n )\n SELECT id as \"id!\"\n FROM parent_projects\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "e08bcee71072e0e693b1b3f2df39a2b9574f45847919251446878f32b9febbc2"
-}
diff --git a/rust/cloud-storage/entity_access_management/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json b/rust/cloud-storage/entity_access_management/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json
deleted file mode 100644
index c718076a09..0000000000
--- a/rust/cloud-storage/entity_access_management/.sqlx/query-f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE child_projects AS (\n SELECT id FROM \"Project\" WHERE id = $1\n\n UNION ALL\n\n SELECT p.id FROM \"Project\" p\n INNER JOIN child_projects cp ON p.\"parentId\" = cp.id\n )\n SELECT id as \"entity_id!\", 'project' as \"entity_type!\" FROM child_projects\n\n UNION ALL\n\n SELECT d.id as \"entity_id!\", 'document' as \"entity_type!\" FROM \"Document\" d\n WHERE d.\"projectId\" IN (SELECT id FROM child_projects)\n\n UNION ALL\n\n SELECT c.id as \"entity_id!\", 'chat' as \"entity_type!\" FROM \"Chat\" c\n WHERE c.\"projectId\" IN (SELECT id FROM child_projects)\n\n UNION ALL\n\n SELECT et.id::text as \"entity_id!\", 'email_thread' as \"entity_type!\" FROM email_threads et\n WHERE et.project_id IN (SELECT id FROM child_projects)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null,
- null
- ]
- },
- "hash": "f6a7499d3079d346afe5d866734ffc5d4ac3f9f1a8c2a5714ef130e53d11145f"
-}
diff --git a/rust/cloud-storage/github/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json b/rust/cloud-storage/github/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
deleted file mode 100644
index a13e3d6b24..0000000000
--- a/rust/cloud-storage/github/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM\n in_progress_user_link\n WHERE\n id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098"
-}
diff --git a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json b/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json
deleted file mode 100644
index f6e849768f..0000000000
--- a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*)\n FROM \"DocumentInstanceModificationData\" dimd\n WHERE \n dimd.\"modificationData\" -> 'highlights' IS NOT NULL\n AND jsonb_typeof(dimd.\"modificationData\" -> 'highlights') = 'object'\n AND dimd.\"modificationData\" -> 'highlights' != '{}';\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "00f5c74ee659c3676ea06b0fd5e3ad33905202426458176b9ba7ea8ac99fc3ee"
-}
diff --git a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json b/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json
deleted file mode 100644
index 3bf9054a8a..0000000000
--- a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*)\n FROM \"DocumentInstanceModificationData\",\n jsonb_array_elements(\"modificationData\"->'placeables') AS placeable\n WHERE placeable->>'payloadType' = 'thread';\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "8650979421df05be29af8d8b21c16cd01dbdbdbad7cce1333ee8b45d1f55cdfb"
-}
diff --git a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json b/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json
deleted file mode 100644
index b699ae57f9..0000000000
--- a/rust/cloud-storage/integration_tests/test_pdf_modification_data_deserialize/.sqlx/query-effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"modificationData\" as \"modification_data\"\n FROM \"DocumentInstanceModificationData\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "modification_data",
- "type_info": "Jsonb"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- false
- ]
- },
- "hash": "effa102b8b4009d40fb90ed8471199aae934ce6e23a5b8c5dc7d2cd0c4c8577a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json
deleted file mode 100644
index 28048605a8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n COUNT(DISTINCT cm.id) AS ai_chat_messages,\n COUNT(DISTINCT d.id) AS documents\n FROM \"User\" u\n LEFT JOIN \"Chat\" c ON c.\"userId\" = u.id AND c.\"deletedAt\" IS NULL\n LEFT JOIN \"ChatMessage\" cm ON cm.\"chatId\" = c.id AND cm.role = 'user'\n LEFT JOIN \"Document\" d ON d.\"owner\" = u.id AND d.\"deletedAt\" IS NULL\n WHERE u.id = $1;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "ai_chat_messages",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "documents",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null,
- null
- ]
- },
- "hash": "000c1235f8bd55c9dd179d10421e262d6e096bc1a8547f5da22596dbc56e0ddc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json
deleted file mode 100644
index 3cb6780373..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_path AS (\n SELECT\n p.id,\n p.name,\n p.\"userId\",\n p.\"parentId\",\n p.\"updatedAt\",\n ARRAY[p.name] as path\n FROM \"Project\" p\n WHERE p.id = ANY($1)\n\n UNION ALL\n\n SELECT\n pp.id,\n pp.name,\n pp.\"userId\",\n parent.\"parentId\",\n pp.\"updatedAt\",\n ARRAY[parent.name] || pp.path as path\n FROM project_path pp\n JOIN \"Project\" parent ON pp.\"parentId\" = parent.id\n )\n SELECT DISTINCT ON (id)\n id as \"id!\",\n name as \"name!\",\n \"userId\" as \"owner!\",\n path as \"path!\",\n \"updatedAt\"::timestamptz as \"updated_at\"\n FROM project_path\n WHERE \"parentId\" IS NULL\n ORDER BY id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "path!",
- "type_info": "TextArray"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- null,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "00b50429eacf802503b639b2dc362bbdbf3d29b375b73ca25f7720941929f10b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json
deleted file mode 100644
index 1e9e030596..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT email\n FROM \"BlockedEmail\"\n WHERE email = ANY($1::text[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "014d3b9b1509bfcd1b11c8c0ef8fe4534c4caa33640876469811d19d64a9b7d0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json b/rust/cloud-storage/macro_db_client/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json
deleted file mode 100644
index 7515457926..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" \n WHERE \"pinnedItemId\" = ANY($1) AND \"pinnedItemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "01ee4e5a80a158998dadbbb6b8fe5d27371757cc6e9019589182150af22b5e36"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json
deleted file mode 100644
index 1c540f1878..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"chat_id\",\n m.id as \"message_id\",\n c.\"userId\" as \"user_id\",\n c.\"createdAt\" as \"created_at\",\n c.\"updatedAt\" as \"updated_at\"\n FROM\n \"ChatMessage\" m\n JOIN\n \"Chat\" c on c.\"id\" = m.\"chatId\"\n WHERE c.\"deletedAt\" IS NULL\n ORDER BY\n m.\"createdAt\" DESC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "message_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "01fe7f04dbd686c1488b3e98eb9c5ed15ff504b22dce8bc1589c9a557f511dcb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json b/rust/cloud-storage/macro_db_client/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json
deleted file mode 100644
index f44cdbac14..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM\n in_progress_user_link\n WHERE\n created_at < $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "02e665cc90a63f1a040b4e5c8acfc2ec9d8f3ebfdcd4947b1349494bc13618aa"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json
deleted file mode 100644
index 7cbe7bbe84..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserHistory\" WHERE \"itemId\" = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "030974957f30c1fc16d1a6bed0ffc3dcd6d71b2c0029f7f7fa3ef3285e12a8f5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json b/rust/cloud-storage/macro_db_client/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json
deleted file mode 100644
index 8e2e7ae90a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id,\n d.owner as owner,\n d.name as document_name,\n COALESCE(db.id, di.id) as \"document_version_id!\",\n d.\"fileType\" as \"file_type?\",\n d.\"createdAt\"::timestamptz as created_at,\n d.\"updatedAt\"::timestamptz as updated_at,\n d.\"projectId\" as \"project_id?\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n CASE \n WHEN dt.sub_type = 'task' \n AND ep_status.values->'value' ? $2\n THEN true \n WHEN dt.sub_type = 'task'\n THEN false\n ELSE NULL \n END as \"is_completed\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN entity_properties ep_status \n ON dt.sub_type = 'task'\n AND ep_status.entity_id = d.id \n AND ep_status.entity_type = 'TASK'\n AND ep_status.property_definition_id = $3\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.\"documentId\",\n i.\"createdAt\",\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" DESC\n LIMIT 1\n ) di ON d.\"fileType\" IS DISTINCT FROM 'docx'\n WHERE d.\"projectId\" = $1 AND d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "file_type?",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 9,
- "name": "is_completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- true,
- null,
- null,
- true,
- false,
- null
- ]
- },
- "hash": "033759a1748c41359a8cf5204f457eed63182d21b432b58fd25b7524d1dc0092"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json
deleted file mode 100644
index c99a6a2f83..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id\n FROM\n \"Document\" d\n WHERE\n d.id = ANY($1)\n AND d.\"fileType\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0392a509a0896bd3acc01964a39a4477aeafb381e532657ccb7b11ad05b9038e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json b/rust/cloud-storage/macro_db_client/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json
deleted file mode 100644
index 4417c165f6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT team_id, email, team_role as \"team_role!: models_team::TeamRole\"\n FROM team_invite \n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "team_role!: models_team::TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "050acec4f32b8d9f7e8489a67d626819f39a33f91b635c369e219213afe37668"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json b/rust/cloud-storage/macro_db_client/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json
deleted file mode 100644
index 22a0249ea8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChatMessage\" (\"id\", \"chatId\", \"content\", \"role\", \"model\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Jsonb",
- "Text",
- "Text",
- "Timestamp",
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "062a45b8e7d65006120b1369981c4e04e513e99855ca9dab076768d43e189a80"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json
deleted file mode 100644
index 0f25e57f4c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Document\" (owner, name, \"fileType\", \"projectId\", \"createdAt\", \"updatedAt\") \n VALUES ($1, $2, $3, $4, $5, $5)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text",
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "064772b7d3d47e82f044f6efd03f52f8cc0083e99d30810753539a5df539d94d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json
deleted file mode 100644
index 80fe803c31..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n select name from \"Project\" where id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "07436aee1f392392f500a116348f388ce48e6b8c596f420af1c837cf9572dcdb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json
deleted file mode 100644
index 7b6dd846ac..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentBom\" (\"documentId\")\n VALUES ($1)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "077c58347457c72a7f69ff716d27e07c1a4f41d65b619f6f949f18344b78469e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
deleted file mode 100644
index 46a9e1a12d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Chat\"\n WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "07831ac2c19539d4422c940e56add36cfd36e05ad43cfa0cea3654dd0d5ca08a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json b/rust/cloud-storage/macro_db_client/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json
deleted file mode 100644
index 4d5b220144..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Comment\" (\"threadId\", \"owner\", \"sender\", \"text\", \"createdAt\", \"updatedAt\", \"order\")\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Text",
- "Text",
- "Text",
- "Timestamp",
- "Timestamp",
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "07c340da8c4771fa651aee608e8b7d15d9f0a638566899c59aae12491ed5b490"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json
deleted file mode 100644
index 10cdcda76b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Project\" SET \"parentId\"=$2 WHERE \"id\"=$1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "0876e7623feb7c8f77b58716cbe3e43456fefad97ac0ba38daf2e5e6880bb51b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json
deleted file mode 100644
index a5f92f9ded..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfHighlightAnchor\" (\n \"uuid\", \"documentId\", \"owner\", \"threadId\", \"page\", \"red\", \"green\", \"blue\", \n \"alpha\", \"type\", \"text\", \"pageViewportWidth\", \"pageViewportHeight\"\n ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13)\n RETURNING uuid\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Int8",
- "Int4",
- "Int4",
- "Int4",
- "Int4",
- "Float8",
- "Int4",
- "Text",
- "Float8",
- "Float8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "08896a23d1261be751853b5cf7553cbe0e8500e8f47233914c020d23d5a1b1b6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json
deleted file mode 100644
index ada738a350..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Thread\" (\"owner\", \"documentId\", \"createdAt\", \"updatedAt\", \"resolved\")\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Timestamp",
- "Timestamp",
- "Bool"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0953e38705bd80cf1f053c5287847c2a92639fec6e728a49b1f2a41906adb633"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json
deleted file mode 100644
index 6e8e4fde00..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n rop.\"permissionId\" as permission_id\n FROM \"User\" u\n JOIN \"RolesOnUsers\" ru ON ru.\"userId\" = u.id\n JOIN \"RolesOnPermissions\" rop ON rop.\"roleId\" = ru.\"roleId\"\n WHERE u.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "09dd0c12a8b30ba045caacad3927e6d7edfba61d784244a01f9d233d9b753dcb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json b/rust/cloud-storage/macro_db_client/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json
deleted file mode 100644
index 097d5e8c23..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"RolesOnUsers\" WHERE \"userId\" = $1 AND \"roleId\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "09f6737b4e22a31ee50c69992a0f16140eb27339ca118ef7a6f063e113d78361"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
deleted file mode 100644
index a13e3d6b24..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM\n in_progress_user_link\n WHERE\n id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "0a1f3835d8dd57e120b0378134d98858f2ba5ed410765ffca1b03abb05c7b098"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json
deleted file mode 100644
index 7959c797e7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT \"id\" as user_id, \"organizationId\" as \"organization_id?\" FROM \"User\" WHERE \"email\" = $1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "organization_id?",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "0a5d8edd85634f5ecdc0a97f86e470a4e91ef06ee2baf734cacc500df5f9cd19"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json
deleted file mode 100644
index af279318b7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id as chat_id,\n c.name as chat_name,\n c.\"userId\" as owner,\n c.\"updatedAt\"::timestamptz as \"updated_at\"\n FROM\n \"Chat\" c\n WHERE\n c.\"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "chat_name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null
- ]
- },
- "hash": "0a98076ae0ee8aa572e7a73b97a4c7fb8a88979a966df92c698b295b8e3e28e0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
deleted file mode 100644
index a247c24f9c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT l.macro_id\n FROM email_threads t\n JOIN email_links l ON t.link_id = l.id\n WHERE t.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0af2bfac1a41e4dbd3c7956d306ffab02e9aee53b37e07531426a068007403ec"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json
deleted file mode 100644
index 5650ce2d29..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"BlockedEmail\" (email)\n VALUES ($1)\n ON CONFLICT (email) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "0b3832a8e650ed74622bbe8ceeb7ead8ceb0d4f0d05e22c9e36113b4cba6e5c3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json
deleted file mode 100644
index e5a541e2c7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id\n FROM account_merge_request\n WHERE to_merge_macro_user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0be9d386d51f355d6c5ab947fe7ed534f7cf96c18081846fcbfbefa0a515f40b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json
deleted file mode 100644
index 78432bc971..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserHistory\" \n WHERE \"itemId\" = ANY($1) AND \"itemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "0be9fe66d98f68b1d1c3c8f32aef0da52521889a32fce2449d9d7f659835b845"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json
deleted file mode 100644
index b06c45ada8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"PdfHighlightAnchor\"\n SET \"threadId\" = NULL\n WHERE uuid = $1 AND \"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "0c129eab69121fd65994c0b50a11f653900045b70bc059b5126905e3cca668fe"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json
deleted file mode 100644
index 75d11599e7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT \"userId\" as user_id, \"deletedAt\" as deleted_at FROM \"Chat\" WHERE id=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "deleted_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "0c36658e4c00abbd672fd1fa7934cb81f5065482c471fffa2bf248f73782a87c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json
deleted file mode 100644
index f6f9d3a7c1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.\"id\" as \"item_id!\",\n p.\"createdAt\" as \"created_at!\",\n p.\"updatedAt\" as \"updated_at!\",\n p.\"deletedAt\" as \"deleted_at?\",\n p.\"parentId\" as \"parent_project_id?\",\n uh.\"updatedAt\" as \"viewed_at?\",\n p.\"userId\" as \"user_id\",\n p.\"name\"\n FROM\n \"Project\" p\n LEFT JOIN\n \"UserHistory\" uh ON uh.\"itemId\" = p.\"id\"\n AND uh.\"userId\" = $1\n AND uh.\"itemType\" = 'project'\n WHERE\n p.\"id\" = ANY($2)\n ORDER BY\n p.\"updatedAt\" DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "created_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 2,
- "name": "updated_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 3,
- "name": "deleted_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "parent_project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "viewed_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "0c3bf4ab99e5ef1c2100c82611aeaf4fe7ffe5734a57567dfdfea1a78cfbb3ee"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json
deleted file mode 100644
index 40abab49c5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"OrganizationInvitation\" WHERE organization_id = $1 AND email = $2",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "0ca155b0063dd021a80db6b2a9dc2353c6a1dca9e1dc13cc21b3a23d9cd81e92"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json
deleted file mode 100644
index a3ceebc60d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id,\n sp.\"isPublic\" as is_public,\n sp.\"publicAccessLevel\" as \"public_access_level?\",\n c.\"userId\" as owner,\n COALESCE(\n json_agg(json_build_object(\n 'channel_id', csp.\"channel_id\",\n 'access_level', csp.\"access_level\"\n )) FILTER (WHERE csp.\"channel_id\" IS NOT NULL),\n '[]'\n ) as \"channel_share_permissions?\"\n FROM\n \"ChatPermission\" cp\n JOIN \"SharePermission\" sp ON cp.\"sharePermissionId\" = sp.id\n JOIN \"Chat\" c ON cp.\"chatId\" = c.id\n LEFT JOIN \"ChannelSharePermission\" csp ON csp.\"share_permission_id\" = sp.id\n WHERE\n cp.\"chatId\" = $1\n GROUP BY\n sp.id, c.\"userId\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "is_public",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "public_access_level?",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "channel_share_permissions?",
- "type_info": "Json"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null
- ]
- },
- "hash": "0d38256b23e9ce70797726f76b49889efcf4b3c2fbaec05c395de5e728b0fdbb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json
deleted file mode 100644
index e635006372..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\" SET \"deletedAt\" = $2 WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "0da786be8ae29e36cd110a8875d838e3b6b8cf4bd6775d083867c733982545dd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json
deleted file mode 100644
index faedc95f8b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id,\n sp.\"isPublic\" as is_public,\n sp.\"publicAccessLevel\" as \"public_access_level?\",\n d.\"owner\" as owner,\n COALESCE(\n json_agg(json_build_object(\n 'channel_id', csp.\"channel_id\",\n 'access_level', csp.\"access_level\"\n )) FILTER (WHERE csp.\"channel_id\" IS NOT NULL),\n '[]'\n ) as \"channel_share_permissions?\"\n FROM\n \"DocumentPermission\" dp\n JOIN \"SharePermission\" sp ON dp.\"sharePermissionId\" = sp.id\n JOIN \"Document\" d ON dp.\"documentId\" = d.id\n LEFT JOIN \"ChannelSharePermission\" csp ON csp.\"share_permission_id\" = sp.id\n WHERE\n dp.\"documentId\" = $1\n GROUP BY\n sp.id, d.\"owner\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "is_public",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "public_access_level?",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "channel_share_permissions?",
- "type_info": "Json"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null
- ]
- },
- "hash": "0db3bbe78101fc309c3358271240926ee07c36bf29ff0031813a2fdbe1fd061d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json
deleted file mode 100644
index 5d46bae2e6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n u.id as user_profile_id, \n mu.id as macro_user_id\n FROM macro_user mu\n JOIN \"User\" u ON mu.id = u.macro_user_id\n WHERE u.id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_profile_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "macro_user_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "0dcbb3a5c0829e285170d8e43e6a6d1246298aa1fc06aba34a9282318841a112"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json
deleted file mode 100644
index 63fcd51931..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT\n p.id,\n p.\"userId\" as user_id\n FROM \"Project\" p\n WHERE p.id = $1 AND p.\"deletedAt\" IS NOT NULL\n UNION ALL\n SELECT\n sub_p.id,\n sub_p.\"userId\" as user_id\n FROM \"Project\" sub_p\n INNER JOIN project_hierarchy ph ON sub_p.\"parentId\" = ph.id\n WHERE sub_p.\"deletedAt\" IS NOT NULL\n )\n SELECT\n ph.id as \"id!\",\n ph.user_id as \"user_id!\"\n FROM project_hierarchy ph\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null,
- null
- ]
- },
- "hash": "0dd403bdd3475dfb010d5a725be35e76750719785a26e4c56e969fd48c5970b3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json
deleted file mode 100644
index ba7d99d7d2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT a.uuid, a.\"createdAt\" as created_at, a.\"updatedAt\" as updated_at\n FROM \"PdfHighlightAnchor\" a\n WHERE a.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "0dde9799979e5ae1b4e351a2b8c310950db972cfe6afdf164f822a6b0a6042b8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json
deleted file mode 100644
index 478db6e5e9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentText\" (\"documentId\", \"content\", \"tokenCount\")\n VALUES ($1, $2, $3)\n ON CONFLICT (\"documentId\")\n DO UPDATE SET \"content\" = EXCLUDED.\"content\", \"tokenCount\" = EXCLUDED.\"tokenCount\"\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Int8"
- ]
- },
- "nullable": []
- },
- "hash": "0eb23959e5def969cff31c097382390a0e9214d8219a3d79f65ea5c66d55121e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json
deleted file mode 100644
index beba999012..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"roleId\" as id\n FROM \"RolesOnOrganizations\"\n WHERE \"organizationId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "0f06d44ac8984b12498f8b41e70d2e692c9a1bec3ec96cd3b2fba1176e075119"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json
deleted file mode 100644
index 548cc4391e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id as \"chat_id\",\n \"userId\" as \"user_id\"\n FROM\n \"Chat\"\n WHERE\n \"deletedAt\" IS NULL\n ORDER BY\n \"createdAt\" DESC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "0f180165e0d5d8661d2d9a37550c7372d1de26ee74b39b5e9602534174f1f8c5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json b/rust/cloud-storage/macro_db_client/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json
deleted file mode 100644
index 03287f8f3e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\" d\n WHERE d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "0f48cffd910141d7b0d12f55311f30be2d8bb5808322565b29ce0a8db2bf3c14"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json b/rust/cloud-storage/macro_db_client/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json
deleted file mode 100644
index 53d34de890..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n t.id as thread_id, \n t.resolved, \n t.\"documentId\" as document_id, \n t.\"createdAt\"::timestamptz as created_at, \n t.\"updatedAt\"::timestamptz as updated_at, \n t.\"deletedAt\"::timestamptz as deleted_at, \n t.metadata, \n t.owner\n FROM \"Thread\" t\n WHERE t.\"id\" = $1\n AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 7,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "100d56e0bac5061aa9f43b50e065f04b372963a63e81918d061a0c0ffab89060"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json b/rust/cloud-storage/macro_db_client/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json
deleted file mode 100644
index ce42810756..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\" FROM \"Document\" WHERE \"projectId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "11a723b710519837eb7643af73af6526dfa6bf93465f9c6708dc95e8237c1f51"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json
deleted file mode 100644
index f8c1b33c14..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id as \"chat_id\"\n FROM\n \"Chat\"\n WHERE\n \"deletedAt\" IS NULL\n ORDER BY\n \"createdAt\" ASC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "11ddfba613626f54d684c1399279df5c3364e8d3dfc0484cda469086991a64fd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json
deleted file mode 100644
index 4c8372a82b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\" SET \"updatedAt\" = NOW()\n WHERE id = $1\n RETURNING id as \"document_id\", owner, \"fileType\" as file_type, name as document_name,\n \"branchedFromId\" as branched_from_id, \"branchedFromVersionId\" as branched_from_version_id,\n \"documentFamilyId\" as document_family_id,\n \"projectId\" as project_id,\n \"deletedAt\"::timestamptz as \"deleted_at\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- true,
- true,
- true,
- true,
- null
- ]
- },
- "hash": "1220fdf68c54c2bbb630bc32b642bccc39501f39821f5a5fac209930e6afd338"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json b/rust/cloud-storage/macro_db_client/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json
deleted file mode 100644
index 6720c10665..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"EmailThreadPermission\" (\"threadId\", \"sharePermissionId\", \"userId\")\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "12332b2ea487399f281dbdc5f7c0bddccfdff4da1d53fe8e16c26e825dbc1b14"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json b/rust/cloud-storage/macro_db_client/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json
deleted file mode 100644
index 23389bd286..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM\n in_progress_email_link\n WHERE\n id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "126bf3c6fc9b29a885703ecfab9a69bc36b7eeee011d09a63b4b44b81f7663df"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json
deleted file mode 100644
index 14b2e4c2c3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT a.owner, a.\"threadId\" as thread_id, d.owner as document_owner, d.id as document_id\n FROM \"PdfHighlightAnchor\" a\n JOIN \"Document\" d ON a.\"documentId\" = d.id\n WHERE a.uuid = $1 AND a.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "document_owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false
- ]
- },
- "hash": "127b4b2d2391121a41b63f3ad116bea2be0329fccb27362d4e3a5a37601e0ba0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json
deleted file mode 100644
index 31173c10d4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"macro_user_id\" as \"macro_user_id!\"\n FROM \"User\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_user_id!",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "1400e6024ad92e90369be284cd0ca35a4b9b6c1d70fb86dde1ec83a2314350d2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json b/rust/cloud-storage/macro_db_client/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json
deleted file mode 100644
index 660fdb55e4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.name,\n t.owner_id\n FROM team t\n JOIN team_user tu ON t.id = tu.team_id\n WHERE tu.user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "146fdea46a07193ea84051c9d3300b516be3f85d42ddeaf9cd9d0563e1303201"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json
deleted file mode 100644
index 42b8e34c98..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT \"organizationId\" as organization_id FROM \"User\" WHERE id = $1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "organization_id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "14acfc516e4790908d6e9378281d30f55a71271945c03e98665acc3cc9d4ea4b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json
deleted file mode 100644
index a952d834cc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"stripeCustomerId\" as \"stripe_customer_id?\"\n FROM \"User\"\n WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "stripe_customer_id?",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "14cb6f59ddb400c9539d83f42f665da8af863d2fd1ebf848a1a6e64db75a9ef2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json b/rust/cloud-storage/macro_db_client/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json
deleted file mode 100644
index 62daab76de..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET \"tutorialComplete\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "152c4be0db7c3ecd7cf7ca77049231154b7f03ae0ebb073103df8b0554d416af"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json
deleted file mode 100644
index 746d602d16..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"organizationId\" as organization_id\n FROM \"OrganizationEmailMatches\"\n WHERE email = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "organization_id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "166a1874072c2882aaca16d26b22a66944f723c32d9066d1d8b671b177986aa4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json
deleted file mode 100644
index 0ff57465ef..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT\n p.id\n FROM \"Project\" p\n WHERE p.id = ANY($1) AND p.\"deletedAt\" IS NULL\n UNION ALL\n SELECT\n sub_p.id\n FROM \"Project\" sub_p\n INNER JOIN project_hierarchy ph ON sub_p.\"parentId\" = ph.id\n WHERE sub_p.\"deletedAt\" IS NULL\n )\n SELECT\n ph.id as \"id!\"\n FROM project_hierarchy ph\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "169914b00c5e4ced19940e170f8135d288553a7fdc41589e2211da4c32cead9a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json b/rust/cloud-storage/macro_db_client/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json
deleted file mode 100644
index 45ffc5a866..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"documentId\" as \"document_id\"\n FROM \"InstructionsDocuments\" id\n JOIN \"Document\" d ON d.\"id\" = id.\"documentId\"\n WHERE \"userId\" = $1 AND d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "16da7cf038f35f49f83fc3a869f56da725bccb87d92dc3a2c4195a7b4c436a29"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json
deleted file mode 100644
index 54063b0e84..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\"\n WHERE owner = $1 AND \"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "1720e22537ea916ca9c3ed5987b6ad4b8560ff21943acef9383cb92c46195d8e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json
deleted file mode 100644
index 59dfc222e7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT e.id, e.active, e.\"started_at\"::timestamptz as started_at, e.\"ended_at\"::timestamptz as ended_at\n FROM \"Experiment\" e\n JOIN \"ExperimentLog\" el ON e.id = el.experiment_id\n WHERE el.user_id = $1 AND e.active = true\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "active",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "started_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "ended_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- null
- ]
- },
- "hash": "1780a52d3024ae99105fd28c74121b9a3611ea3ae3bf5edccebda195b52bead2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json b/rust/cloud-storage/macro_db_client/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json
deleted file mode 100644
index 98595cec9c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id, \n owner, \n text as content, \n \"createdAt\" as created_at, \n \"updatedAt\" as updated_at,\n \"order\"\n FROM \"Comment\" \n WHERE \"threadId\" = $1\n ORDER BY \"order\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true
- ]
- },
- "hash": "178aa765b997de754dd7405fc233aa7b24dd0a456f3cd4863725b3089f7bbe27"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json b/rust/cloud-storage/macro_db_client/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json
deleted file mode 100644
index cbb754459e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ),\n -- Get all entities the user has access to via entity_access, filtered to requested items\n AllAccessGrants AS (\n -- Documents the user has access to\n SELECT ea.entity_id::text as item_id, ea.entity_type as item_type\n FROM entity_access ea\n LEFT JOIN \"Document\" d ON ea.entity_type = 'document' AND ea.entity_id::text = d.id\n WHERE ea.source_id = ANY(SELECT source_id FROM user_source_ids)\n AND ea.entity_type = 'document'\n AND ea.entity_id::text = ANY($2)\n AND d.\"deletedAt\" IS NULL\n\n UNION ALL\n\n -- Chats the user has access to\n SELECT ea.entity_id::text as item_id, ea.entity_type as item_type\n FROM entity_access ea\n LEFT JOIN \"Chat\" c ON ea.entity_type = 'chat' AND ea.entity_id::text = c.id\n WHERE ea.source_id = ANY(SELECT source_id FROM user_source_ids)\n AND ea.entity_type = 'chat'\n AND ea.entity_id::text = ANY($3)\n AND c.\"deletedAt\" IS NULL\n\n UNION ALL\n\n -- Projects the user has access to\n SELECT ea.entity_id::text as item_id, ea.entity_type as item_type\n FROM entity_access ea\n LEFT JOIN \"Project\" p ON ea.entity_type = 'project' AND ea.entity_id::text = p.id\n WHERE ea.source_id = ANY(SELECT source_id FROM user_source_ids)\n AND ea.entity_type = 'project'\n AND ea.entity_id::text = ANY($4)\n AND p.\"deletedAt\" IS NULL\n ),\n UserAccessibleItems AS (\n SELECT\n item_id,\n item_type\n FROM AllAccessGrants\n GROUP BY item_id, item_type\n )\n SELECT item_id as \"item_id!\", item_type as \"item_type!\" FROM UserAccessibleItems\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "item_type!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- null,
- null
- ]
- },
- "hash": "18134bc97487fbf6b88e8afdb94dc601bf0d997ad5b6974ef5866dd6262b8618"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json
deleted file mode 100644
index f542fc63f8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n bp.sha\n FROM \"BomPart\" bp\n JOIN \"DocumentBom\" db ON bp.\"documentBomId\" = db.id\n WHERE db.\"documentId\" = $1\n AND db.id = (\n SELECT db_inner.id\n FROM \"DocumentBom\" db_inner\n WHERE db_inner.\"documentId\" = $1\n ORDER BY db_inner.\"updatedAt\" DESC\n LIMIT 1\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "18aac439d006f5d15299582df56f00790bde81c4e7a515e6cadbf341466b9fa8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json
deleted file mode 100644
index 6c17e2c89d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n channel_id,\n share_permission_id,\n access_level as \"access_level: AccessLevel\"\n FROM\n \"ChannelSharePermission\"\n WHERE\n channel_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "share_permission_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "access_level: AccessLevel",
- "type_info": {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "18d2885f4c7a6ffd835a5d661ec5e81dd143cd4a51873e92050a0beedbbb86cb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json b/rust/cloud-storage/macro_db_client/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
deleted file mode 100644
index ff6c450bbb..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfPlaceableCommentAnchor\" (\n \"uuid\", \"owner\", \"threadId\", \"page\", \"originalPage\", \"originalIndex\", \n \"xPct\", \"yPct\", \"widthPct\", \"heightPct\", \"allowableEdits\", \n \"wasEdited\", \"wasDeleted\", \"shouldLockOnSave\", \"documentId\", \"rotation\"\n ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id, \n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "original_page",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "original_index",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "x_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 8,
- "name": "y_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "width_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 10,
- "name": "height_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 11,
- "name": "rotation",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "allowable_edits",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 13,
- "name": "was_edited",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "was_deleted",
- "type_info": "Bool"
- },
- {
- "ordinal": 15,
- "name": "should_lock_on_save",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Int8",
- "Int4",
- "Int4",
- "Int4",
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Jsonb",
- "Bool",
- "Bool",
- "Bool",
- "Text",
- "Float8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json b/rust/cloud-storage/macro_db_client/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json
deleted file mode 100644
index 1a46bafb16..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.\"id\" as id\n FROM \"Chat\" c\n INNER JOIN \"UserHistory\" uh ON uh.\"itemId\" = c.\"id\" AND uh.\"itemType\" = 'chat'\n INNER JOIN \"User\" u ON u.id = uh.\"userId\"\n WHERE c.id = $1 AND u.id != c.\"userId\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "190452da4bb37a289c415dfbb4ec725bbda911931e97ccb22a5868b5a7655709"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json
deleted file mode 100644
index 69c93d3037..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Document\" (owner, name, \"fileType\", \"projectId\")\n VALUES ($1, $2, $3, $4)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "19ad643d2447743fb58441e39654369eb50ac8efbea1fd554bdca3d7545d61e0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json
deleted file mode 100644
index a67426e009..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*)\n FROM \"DocumentView\" dv\n WHERE dv.\"document_id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "1a5d33c55a52c7076f78b54e915e57fe675a43d9dd2d6198d1039565131d52f1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json
deleted file mode 100644
index bf7f89fe5e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"DocumentBom\" WHERE id = $2 and \"documentId\" = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": []
- },
- "hash": "1b40eda58263b088d61f65897fdfe490653e4c1065cd55e9c39722b988c54a02"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json
deleted file mode 100644
index 6a64b12e48..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" WHERE \"pinnedItemId\" = ANY($1) AND \"pinnedItemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "1b50363c934ae7e01406a2cbb674b84fa6af6f7caa8353d52ed22e48b3899327"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json
deleted file mode 100644
index e8dcefae26..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT m.\"chatId\" as chat_id\n FROM \"ChatMessage\" m\n WHERE m.\"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "1b8266e388b4e120d27c47d891f5f447e26ff2b83fc6c6e6a0e2726aba761a51"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json
deleted file mode 100644
index d75fdd9537..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT\n p.id\n FROM \"Project\" p\n WHERE p.id = $1 AND p.\"deletedAt\" IS NULL\n UNION ALL\n SELECT\n sub_p.id\n FROM \"Project\" sub_p\n INNER JOIN project_hierarchy ph ON sub_p.\"parentId\" = ph.id\n WHERE sub_p.\"deletedAt\" IS NULL\n )\n SELECT\n ph.id as \"id!\"\n FROM project_hierarchy ph\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "1b9256d39a08d605aba08de1c5bddd8eb29bedd31dd21719114646449ab1333f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json
deleted file mode 100644
index dee1621260..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n e.subject,\n l.macro_id\n FROM\n \"email_messages\" e\n JOIN email_links l ON l.id = e.link_id\n WHERE\n e.thread_id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "subject",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true,
- false
- ]
- },
- "hash": "1c5f9c90a5ee11ffedc5c98b589c821898f04952a5a597c9796e152fa4c65bb1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json
deleted file mode 100644
index dbdcc4795c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChatAttachment\" (\"attachmentType\", \"attachmentId\", \"chatId\", \"messageId\")\n SELECT * FROM UNNEST($1::TEXT[], $2::TEXT[], $3::TEXT[], $4::TEXT[])\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "1d0181be77c26e2242abd2aa0a3c9bf77b8247494b2f5937e3dc977dcfc8f90b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json
deleted file mode 100644
index 4c0a3e375a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id FROM \"Document\" WHERE \"owner\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "1dba8f7824a404cbe6b276df601bbf45b0bbe751d89e8b841068d86b855f44ae"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json
deleted file mode 100644
index e5287b48b3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, $4, $4)\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = $4;\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "1e14d3e8348556865af942ec6e3d883668d0b8073143094ed67d34285f9cc92b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json
deleted file mode 100644
index 023a7e4749..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"projectId\" = NULL\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "1e96a9f033805dc354b5b3f06575ce22f1e4fbd6770c390a252cd6c790ee2d6e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json
deleted file mode 100644
index ec2174302b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n macro_user_id,\n id\n FROM\n in_progress_email_link\n WHERE\n in_progress_email_link.email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_user_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "1ea0c7996fa301f1b842d74bc2c42c4c399bae6774014cf03704024bd4293821"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json
deleted file mode 100644
index cafa6efc60..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n SELECT u.user_id, u.item_id, 'document', NOW(), NOW()\n FROM UNNEST($1::text[], $2::text[]) AS u(item_id, user_id)\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = NOW();\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "1ee4ffd924167f7e5cda2be1ac66506c341547cd49c76e365129d91650474605"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json
deleted file mode 100644
index ad81720097..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"organizationId\" as id\n FROM \"OrganizationBilling\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "1f0770cc758a37117b875b129eeb2e3e3e1143e8ab3dae3a85e9e756cdf9bdc0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json
deleted file mode 100644
index 0890ed3cf7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id,\n u.\"stripeCustomerId\" as \"stripe_customer_id\"\n FROM \"User\" u\n WHERE u.\"macro_user_id\" IS NULL\n ORDER BY u.id ASC\n LIMIT $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "stripe_customer_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "2032b8706e7c7928243b8185349df6fde6d25c6187e9b03a75640a771aa8899a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json b/rust/cloud-storage/macro_db_client/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json
deleted file mode 100644
index 4cfd33f2d4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id\n FROM\n \"User\" u\n WHERE\n u.email = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "21cce4388c4839d33ceac5f09a2f3f7a506003afe498d487699c0cb4b78c7899"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json
deleted file mode 100644
index 80831ac218..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" WHERE \"userId\" = $1 AND \"pinnedItemId\" = $2 AND \"pinnedItemType\" = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "22c535eec28118577d247aed68b7064a5a22071296f2603d6f86a7bc1816dd0f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json
deleted file mode 100644
index 6bff4d79af..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET macro_user_id = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "22cfead49cd3d400a1752f2c232b9ccc7072aac9d5dd7c17a15c6be812fb3d4f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json b/rust/cloud-storage/macro_db_client/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json
deleted file mode 100644
index ff086d1c89..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id,\n d.name,\n d.\"owner\",\n d.\"fileType\" as \"file_type!\",\n di.id as \"document_version_id?\"\n FROM\n \"Document\" d\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" ASC\n LIMIT 1\n ) di ON true\n WHERE\n d.\"deletedAt\" IS NULL AND\n d.id = $1 AND\n d.\"fileType\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "document_version_id?",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "233648d4502d3b4c6190603e4692c9224a44d046cecb5cce585afbb2e8aeaf49"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json
deleted file mode 100644
index 7ec90a9c87..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n email,\n \"organizationId\" as \"organization_id?\"\n FROM \"User\"\n WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "organization_id?",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true
- ]
- },
- "hash": "2448b50af4a227c3a7d638e1377145f8a813091547e4f47a9f1fed4b8959e4bf"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json
deleted file mode 100644
index e6831d38ae..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n COALESCE(db.id, di.id) as \"document_version_id!\",\n d.name as \"document_name\",\n d.\"fileType\" as \"file_type\",\n d.\"branchedFromId\" as branched_from_id,\n d.\"branchedFromVersionId\" as branched_from_version_id,\n d.\"documentFamilyId\" as document_family_id,\n d.\"createdAt\"::timestamptz as created_at,\n d.\"updatedAt\"::timestamptz as updated_at\n FROM\n \"Document\" d\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" DESC\n LIMIT 1\n ) di ON d.\"fileType\" IS DISTINCT FROM 'docx'\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n WHERE\n d.owner = $1 AND d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- null,
- false,
- true,
- true,
- true,
- true,
- null,
- null
- ]
- },
- "hash": "2500e65cc47f0cfb5cf99c7b4aa87ca672780591c4b7b2ff5429121d5b4594bf"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json
deleted file mode 100644
index afc95c996f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4.json
+++ /dev/null
@@ -1,129 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH PinnedItems AS (\n SELECT\n p.\"pinnedItemId\" as pin_item_id,\n p.\"pinnedItemType\" as pin_item_type,\n p.\"pinIndex\" as pin_index\n FROM \"Pin\" p\n WHERE p.\"userId\" = $1\n ), Combined AS (\n SELECT\n 'document' as \"item_type!\",\n d.id as \"id!\",\n CAST(COALESCE(di.id, db.id) as TEXT) as \"document_version_id\",\n d.owner as \"user_id!\",\n d.name as \"name!\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"fileType\" as \"file_type\",\n d.\"createdAt\"::timestamptz as \"created_at\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n d.\"projectId\" as \"project_id\",\n di.sha as \"sha\",\n NULL as \"is_persistent\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n pi.pin_index as \"pin_index\",\n CASE \n WHEN dt.sub_type = 'task' \n AND ep_status.values->'value' ? $2\n THEN true \n WHEN dt.sub_type = 'task'\n THEN false\n ELSE NULL \n END as \"is_completed\"\n FROM \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN entity_properties ep_status \n ON dt.sub_type = 'task'\n AND ep_status.entity_id = d.id \n AND ep_status.entity_type = 'TASK'\n AND ep_status.property_definition_id = $3\n INNER JOIN PinnedItems pi ON pi.pin_item_id = d.id AND pi.pin_item_type = 'document'\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON true\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.\"documentId\",\n i.\"sha\",\n i.\"createdAt\",\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" DESC\n LIMIT 1\n ) di ON true\n UNION ALL\n SELECT\n 'chat' as \"item_type!\",\n c.id as \"id!\",\n NULL as \"document_version_id\",\n c.\"userId\" as \"user_id!\",\n c.name as \"name!\",\n NULL as \"branched_from_id\",\n NULL as \"branched_from_version_id\",\n NULL as \"document_family_id\",\n NULL as \"file_type\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"projectId\" as \"project_id\",\n NULL as \"sha\",\n c.\"isPersistent\" as \"is_persistent\",\n NULL as sub_type,\n pi.pin_index as \"pin_index\",\n NULL as \"is_completed\"\n FROM \"Chat\" c\n INNER JOIN PinnedItems pi ON pi.pin_item_id = c.id AND pi.pin_item_type = 'chat'\n UNION ALL\n SELECT\n 'project' as \"item_type!\",\n p.id as \"id!\",\n NULL as \"document_version_id\",\n p.\"userId\" as \"user_id!\",\n p.name as \"name!\",\n NULL as \"branched_from_id\",\n NULL as \"branched_from_version_id\",\n NULL as \"document_family_id\",\n NULL as \"file_type\",\n p.\"createdAt\"::timestamptz as \"created_at\",\n p.\"updatedAt\"::timestamptz as \"updated_at\",\n p.\"parentId\" as \"project_id\",\n NULL as \"sha\",\n NULL as \"is_persistent\",\n NULL as sub_type,\n pi.pin_index as \"pin_index\",\n NULL as \"is_completed\"\n FROM \"Project\" p\n INNER JOIN PinnedItems pi ON pi.pin_item_id = p.id AND pi.pin_item_type = 'project'\n )\n SELECT * FROM Combined\n ORDER BY pin_index ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_version_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "name!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 8,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 11,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 12,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 13,
- "name": "is_persistent",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 15,
- "name": "pin_index",
- "type_info": "Int4"
- },
- {
- "ordinal": 16,
- "name": "is_completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "2611958405cf94c91ef85a09da00b0a8701621b42e4c57e74d2da40062d577d4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json
deleted file mode 100644
index 99c433ede6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT name\n FROM team\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "2683ed5de04d186f9d997d088e4d371be0b22106450171fbc1cef5ce96fb00b6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json b/rust/cloud-storage/macro_db_client/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json
deleted file mode 100644
index d5b85b3456..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"chat_id\",\n m.id as \"message_id\",\n c.\"userId\" as \"user_id\",\n c.\"createdAt\" as \"created_at\",\n c.\"updatedAt\" as \"updated_at\"\n FROM\n \"ChatMessage\" m\n JOIN\n \"Chat\" c on c.\"id\" = m.\"chatId\"\n WHERE\n m.\"chatId\" = ANY($1) AND c.\"deletedAt\" IS NULL\n ORDER BY\n m.\"createdAt\" DESC\n LIMIT $2\n OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "message_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "26b3b2da3cc2f75ee37842ebe33e1bda1e5b15a490bd8aa3a2a3c27afa728348"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json
deleted file mode 100644
index 77a2fec9fa..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.email\n FROM \"UserHistory\" uh\n JOIN \"User\" u ON uh.\"userId\" = u.id\n WHERE uh.\"itemId\" = $1 AND uh.\"itemType\" = 'document'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "26c357f323179bc7c5c64492521aa202a0a8119036d4be0975aaac1ce6d96cd2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json b/rust/cloud-storage/macro_db_client/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json
deleted file mode 100644
index df429bfdc5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as share_permission_id\n FROM \"ProjectPermission\"\n WHERE \"projectId\"=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "share_permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "270e056bb1d522c9f46b8f8f0fde1d3307bf0627fe420be6bc0509072bae1565"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json b/rust/cloud-storage/macro_db_client/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json
deleted file mode 100644
index 090c1515dc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n COALESCE(db.id, di.id) as \"id!\",\n d.uploaded\n FROM\n \"Document\" d\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" ASC\n LIMIT 1\n ) di ON d.\"fileType\" IS DISTINCT FROM 'docx'\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" ASC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n WHERE\n d.id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "uploaded",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null,
- false
- ]
- },
- "hash": "278876b19e66f90a52e4a982f6dc6376849461c5df6a9cb1037d1eee6e30cfab"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json
deleted file mode 100644
index e927a616e0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"fileType\" as \"file_type\",\n d.\"projectId\" as \"project_id\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM\n \"Document\" d\n WHERE\n d.id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 5,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- true,
- true,
- true,
- null
- ]
- },
- "hash": "27a48907486b15f7c32fe0e84865904a6f2389ae59275c8b14ceb52035c473c0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json
deleted file mode 100644
index 0a50742ac6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Project\" (\"name\", \"userId\", \"parentId\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, NOW(), NOW())\n RETURNING id, name, \"userId\"::text as user_id, \"createdAt\"::timestamptz as created_at, \"deletedAt\"::timestamptz as deleted_at,\n \"updatedAt\"::timestamptz as updated_at, \"parentId\" as parent_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "parent_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "27af0e4ef3bfa65509108039027a7a0891ce7e5f9d3ff36e6598d5f51650416c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json b/rust/cloud-storage/macro_db_client/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
deleted file mode 100644
index 98ceb2aeec..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Project\" SET \"updatedAt\" = NOW() WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
deleted file mode 100644
index fa71ec2445..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserHistory\" WHERE \"itemId\" = $1 AND \"itemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "29f40fc78b59a74c6b0df0c8cb0abe9d4e5f57b4b08a18673276967b456d8bb5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json
deleted file mode 100644
index 81c377d3c2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id\n FROM \"User\" u\n WHERE u.\"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "2c2e1fbbc52b300640cab8add807f581aba22df15410900b9f598daf699b60de"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json
deleted file mode 100644
index b60c8f01fa..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n t.id as thread_id, \n t.resolved as is_resolved,\n a.uuid as anchor_uuid, \n a.page, \n a.\"originalPage\" as original_page,\n a.\"originalIndex\" as original_index,\n a.\"shouldLockOnSave\" as should_lock_on_save,\n a.\"wasEdited\" as was_edited,\n a.\"wasDeleted\" as was_deleted,\n a.\"allowableEdits\" as allowable_edits,\n a.\"xPct\" as x_pct,\n a.\"yPct\" as y_pct,\n a.\"widthPct\" as width_pct,\n a.\"heightPct\" as height_pct,\n a.rotation\n FROM \"Thread\" t\n JOIN \"PdfPlaceableCommentAnchor\" a ON t.\"id\" = a.\"threadId\"\n WHERE t.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "is_resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "anchor_uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 4,
- "name": "original_page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "original_index",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "should_lock_on_save",
- "type_info": "Bool"
- },
- {
- "ordinal": 7,
- "name": "was_edited",
- "type_info": "Bool"
- },
- {
- "ordinal": 8,
- "name": "was_deleted",
- "type_info": "Bool"
- },
- {
- "ordinal": 9,
- "name": "allowable_edits",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 10,
- "name": "x_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 11,
- "name": "y_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "width_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 13,
- "name": "height_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 14,
- "name": "rotation",
- "type_info": "Float8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "2c8623569ad039d0ee10321ab06c2563d7f90f17e00e6c4e18d25bc0a7b1355b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json
deleted file mode 100644
index 61b064aaf0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"fileType\" as \"file_type\",\n dst.sub_type as \"sub_type?: DocumentSubType\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dst ON dst.document_id = d.id\n WHERE d.id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json
deleted file mode 100644
index b615b341e1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"tokenCount\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "2d17144ac0fad7ccde292b6da4197cee6ec3a0e3eefc8711308ef3c6b3f7f30c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json
deleted file mode 100644
index eb06e65e1f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH SingleAttachmentChats AS (\n SELECT\n \"chatId\",\n COUNT(*) as attachment_count\n FROM \"ChatAttachment\"\n GROUP BY \"chatId\"\n HAVING COUNT(*) = 1\n )\n SELECT\n c.id,\n c.name,\n c.\"userId\" as \"user_id\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.model,\n c.\"tokenCount\" as \"token_count\",\n c.\"projectId\" as \"project_id\",\n c.\"isPersistent\" as \"is_persistent\"\n FROM \"Chat\" c\n INNER JOIN \"ChatAttachment\" ca ON c.id = ca.\"chatId\"\n INNER JOIN SingleAttachmentChats sac ON c.id = sac.\"chatId\"\n WHERE\n ca.\"attachmentId\" = $1 AND c.\"userId\" = $2\n AND\n c.\"deletedAt\" IS NULL\n\n ORDER BY c.\"updatedAt\" DESC\n LIMIT 1;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "model",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "token_count",
- "type_info": "Int8"
- },
- {
- "ordinal": 8,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "is_persistent",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "2ddddebfec3d3bded1e74b0e34abf9daee5e67d46eb8d977a6942669d5c8bdf5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json
deleted file mode 100644
index 7dc8bf69a0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n name\n FROM\n \"Organization\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "2e318ed8eff90b0e145afae548e3f895f7b7c4f8458df987c7bed9054fbc3450"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
deleted file mode 100644
index 38ea8a45d4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
+++ /dev/null
@@ -1,124 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"PdfPlaceableCommentAnchor\" SET\n \"page\" = COALESCE($1, \"page\"),\n \"originalPage\" = COALESCE($2, \"originalPage\"),\n \"originalIndex\" = COALESCE($3, \"originalIndex\"),\n \"xPct\" = COALESCE($4, \"xPct\"),\n \"yPct\" = COALESCE($5, \"yPct\"),\n \"widthPct\" = COALESCE($6, \"widthPct\"),\n \"heightPct\" = COALESCE($7, \"heightPct\"),\n \"rotation\" = COALESCE($8, \"rotation\"),\n \"allowableEdits\" = COALESCE($9, \"allowableEdits\"),\n \"wasEdited\" = COALESCE($10, \"wasEdited\"),\n \"wasDeleted\" = COALESCE($11, \"wasDeleted\"),\n \"shouldLockOnSave\" = COALESCE($12, \"shouldLockOnSave\")\n WHERE uuid = $13\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id, \n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "original_page",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "original_index",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "x_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 8,
- "name": "y_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "width_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 10,
- "name": "height_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 11,
- "name": "rotation",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "allowable_edits",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 13,
- "name": "was_edited",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "was_deleted",
- "type_info": "Bool"
- },
- {
- "ordinal": 15,
- "name": "should_lock_on_save",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int4",
- "Int4",
- "Int4",
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Jsonb",
- "Bool",
- "Bool",
- "Bool",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json
deleted file mode 100644
index 1428af8b0e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"User\" (\"id\", \"email\", \"stripeCustomerId\", \"organizationId\", \"macro_user_id\")\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Int4",
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "2f1f54eaf23c0c277b0685c35ae75eea5921057be13e25a9609410d6ac5b17ba"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json
deleted file mode 100644
index 8dab22de3e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfHighlightRect\" (\"pdfHighlightAnchorId\", \"top\", \"left\", \"width\", \"height\")\n SELECT *\n FROM UNNEST(\n $1::uuid[], \n $2::double precision[], \n $3::double precision[], \n $4::double precision[], \n $5::double precision[]\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Float8Array",
- "Float8Array",
- "Float8Array",
- "Float8Array"
- ]
- },
- "nullable": []
- },
- "hash": "2f57ef816b974c70f46ed469ff98a316ee83b8e0b87a504a40ab4eb6f91c9bf6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json
deleted file mode 100644
index d1649a41c1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id AS user_id,\n u.email,\n COUNT(d.id) AS document_count\n FROM\n \"User\" u\n LEFT JOIN\n \"Document\" d ON u.id = d.owner AND d.\"fileType\" IS DISTINCT FROM 'docx'\n WHERE\n u.id NOT LIKE 'macro|%'\n GROUP BY\n u.id, u.email\n ORDER BY\n document_count DESC;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- false,
- false,
- null
- ]
- },
- "hash": "30cb91911aecb757da05dab343255e9c81997db622339c1f414e36e873cb476e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json b/rust/cloud-storage/macro_db_client/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json
deleted file mode 100644
index e4f32c45b5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE team_invite\n SET last_sent_at = NOW()\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "31e8eb8fb8d4562d654245be9afd54beff087b85e84ebd5b93c12eb9d7ebc877"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json
deleted file mode 100644
index 95e3693fce..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n c.id as comment_id, \n c.\"threadId\" as thread_id, \n c.owner, \n c.sender, \n c.text, \n c.metadata, \n c.\"createdAt\"::timestamptz as created_at, \n c.\"updatedAt\"::timestamptz as updated_at, \n c.\"deletedAt\"::timestamptz as deleted_at, \n c.order\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n WHERE t.\"documentId\" = $1 AND t.\"deletedAt\" IS NULL AND c.\"deletedAt\" IS NULL\n ORDER BY c.\"createdAt\" ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "comment_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "sender",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- true,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "32d4e521979a071490ce529b37db5210b6068fa4a23b88e2b2d922f04e7129d8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json
deleted file mode 100644
index ae0c6b9b23..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id\n FROM\n \"Document\" d\n WHERE\n d.\"projectId\" = ANY($1::text[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "33e0a69e797d9274f49771113b4abc47b8a9fe63263b050379d73cc14ce38fd7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json
deleted file mode 100644
index 573f3269e8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n SELECT u.user_id, u.item_id, 'project', NOW(), NOW()\n FROM UNNEST($1::text[], $2::text[]) AS u(item_id, user_id)\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = NOW();\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "350800132ce9026847f44354b415156432c57f20036d3e05eb8a72f09d88e10f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json
deleted file mode 100644
index 4160d3b1f5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO team_invite (id, team_id, email, team_role, invited_by, created_at, last_sent_at)\n VALUES ($1, $2, $3, $4, $5, NOW(), NOW())\n RETURNING id, email, team_id, team_role as \"team_role!: models_team::TeamRole\", invited_by, created_at as \"created_at!: chrono::DateTime<chrono::Utc>\", last_sent_at as \"last_sent_at!: chrono::DateTime<chrono::Utc>\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "team_role!: models_team::TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "invited_by",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "last_sent_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- },
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "35dd883b5e9798f3946761308fccae6247ea21ab4446b1cd699aafb7290c30e6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
deleted file mode 100644
index 8b67204019..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n LEFT JOIN \"Thread\" t ON ph.\"threadId\" = t.id\n WHERE ph.\"documentId\" = $1\n AND ph.\"deletedAt\" IS NULL\n AND t.\"deletedAt\" IS NULL\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "red",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "green",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "blue",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "alpha",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "highlight_type",
- "type_info": "Int4"
- },
- {
- "ordinal": 10,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "page_viewport_width",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "page_viewport_height",
- "type_info": "Float8"
- },
- {
- "ordinal": 13,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 16,
- "name": "highlight_rects!: Vec<PdfHighlightRect>",
- "type_info": "RecordArray"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json
deleted file mode 100644
index edc2b98e8c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n bp.sha as sha,\n bp.path as path,\n bp.id as id\n FROM \"BomPart\" bp\n JOIN \"DocumentBom\" db ON bp.\"documentBomId\" = db.id\n WHERE db.\"documentId\" = $1;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "path",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "39257a88a1d0bda4726e269ce262291e713cf20f121e10997bcf944f3363efb8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json
deleted file mode 100644
index 6773f99e9e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\" SET \"macro_user_id\" = $1 WHERE \"macro_user_id\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "399d9c2a1c07919059e7d5a7c58c97f9eff09db1237092b37fc80ece52ff410f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json
deleted file mode 100644
index d507796bee..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ExperimentLog\" (experiment_id, user_id, \"group\")\n VALUES ($1, $2, $3)\n RETURNING experiment_id, user_id, \"group\" as experiment_group, completed\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "experiment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "experiment_group",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Varchar"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false
- ]
- },
- "hash": "3a4acf38ce09e3278ff2020de09c48267215a33e4c8d135319959aed14edbe63"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json
deleted file mode 100644
index 1f389c60ba..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id as user_id\n FROM \"User\" u\n WHERE u.\"organizationId\" = $1\n LIMIT $2\n OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int4",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "3c082e8dc2056f62233bb2d68147a491c8ccb46f90738f8ebbf25afea699876a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json
deleted file mode 100644
index 90d7d9ea68..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id as id,\n p.name,\n p.\"userId\" as user_id,\n p.\"parentId\" as \"parent_id?\",\n p.\"createdAt\"::timestamptz as created_at,\n p.\"updatedAt\"::timestamptz as updated_at,\n p.\"deletedAt\"::timestamptz as deleted_at\n FROM\n \"Project\" p\n WHERE p.\"parentId\" = $1 AND p.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null,
- null,
- null
- ]
- },
- "hash": "3d0cc500bd9cee7fe4179b9ebc8176e5b20c478d2e5c4cba230e5fa3f57d38d6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json
deleted file mode 100644
index 53ba1ca60d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"deletedAt\" = NOW() WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "3ddef23b2904342f1b84795fd71b50de4413626a5dd460c83ad9e997fb8e09ae"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json
deleted file mode 100644
index 036b2d51d9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.\"documentId\" as \"document_id\"\n FROM\n \"DocumentText\" d\n WHERE\n d.\"tokenCount\" = 0\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- false
- ]
- },
- "hash": "3de786ce00b9b7a2cf935b39ed0bed0d042a4133b63124b1894da135d0a9449b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json
deleted file mode 100644
index 8a601b1311..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"User\" (\"id\", \"email\", \"organizationId\", \"macro_user_id\")\n VALUES ($1, $2, $3, $4)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Int4",
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "3e161b7906ba15490634a5375e300d649e4aa06841adb1645d4f17507cf15694"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json
deleted file mode 100644
index dad50de6d8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\" FROM \"Chat\" WHERE \"projectId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "3e3b2b04a9eb28ea82f8f97a2b725b205e0b6f330e4f3eb9690375e992ce2194"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json
deleted file mode 100644
index c97deb4e61..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n macro_user_id,\n email\n FROM\n in_progress_email_link\n WHERE\n id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "macro_user_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "3e5924421ddbfb3eef5e5d949677a72f6dddf521d5df201bb11207e89be08747"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json
deleted file mode 100644
index 98172db9c0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Document\" SET \"uploaded\" = true WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "3e8c8b376d3e0ae4e7245e3b07a3e64b8847f80831d648ae9b5216560d5e27eb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json
deleted file mode 100644
index 6496703c4d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"deletedAt\" = NULL WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "3e8d3378b4651a45d6e1cfee02d1d991bb8fa6a687207164d713487c524d87a6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json
deleted file mode 100644
index 9cd2b5c5ae..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id,\n p.name,\n p.\"userId\" as user_id,\n p.\"parentId\" as parent_id,\n p.\"createdAt\"::timestamptz as created_at,\n p.\"updatedAt\"::timestamptz as updated_at,\n p.\"deletedAt\"::timestamptz as deleted_at\n FROM \"Project\" p\n WHERE id = $1 AND p.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null,
- null,
- null
- ]
- },
- "hash": "3ff726c2ff64c69e2af5dca67815300efe7b0bcbd74ae96f3d65aeb8edd064f7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json b/rust/cloud-storage/macro_db_client/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json
deleted file mode 100644
index 001698c6b2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.\"id\" as id\n FROM \"Document\" d\n INNER JOIN \"UserHistory\" uh ON uh.\"itemId\" = d.\"id\" AND uh.\"itemType\" = 'document'\n INNER JOIN \"User\" u ON u.id = uh.\"userId\"\n WHERE d.id = $1 AND u.id != d.\"owner\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "42546a42d5b23be78e06b0bdf3188821246cd0b2d459d8dc667be1e6c8de1c98"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json b/rust/cloud-storage/macro_db_client/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json
deleted file mode 100644
index dff060816a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET \"firstName\" = $1,\n \"lastName\" = $2,\n \"title\" = $3,\n \"industry\" = $4\n WHERE id = $5\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Varchar",
- "Varchar",
- "Varchar",
- "Varchar",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "428083ae29c00ef5dfae2fadc0d3ebe3c3191c212f37631feda29343104f9548"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json
deleted file mode 100644
index a7dfaf200c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"OrganizationEmailMatches\" WHERE \"organizationId\" = $1 AND email = $2",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "42f09cdfac72096bac4124c84318142bbc2bc0256ff84a6ba9ab2f98fd9fb0c1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json b/rust/cloud-storage/macro_db_client/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json
deleted file mode 100644
index fad533832f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n pp.\"sharePermissionId\" as share_permission_id\n FROM \"ProjectPermission\" pp\n WHERE pp.\"projectId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "share_permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "44a05989da2597deae3eaded94e7270307a3e4f36625e76d489d4bc39b66e759"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json b/rust/cloud-storage/macro_db_client/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json
deleted file mode 100644
index 3d662e3a32..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT oem.email\n FROM \"OrganizationEmailMatches\" oem\n JOIN \"Organization\" o ON o.\"id\" = oem.\"organizationId\"\n WHERE oem.\"organizationId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "44aa0fedb485db7f86d0dd21c5ac83ffd5ac9b4ce85a5d08d0fc5095efa73505"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json b/rust/cloud-storage/macro_db_client/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json
deleted file mode 100644
index 6a8b3392e5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\"\n SET \"deletedAt\" = NULL\n WHERE id = $1\n RETURNING \"userId\" as owner\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "45063eedc20b7eb86019e69545c2e8b441f1e9e067086b05617437b6f43bc329"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json
deleted file mode 100644
index 0e8a2423f4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"OrganizationInvitation\"\n WHERE email = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "454e1202630627f0f8c9f876f1917d6cfbed8fc192939cc0e5e43b86905a4ca2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json b/rust/cloud-storage/macro_db_client/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json
deleted file mode 100644
index f7c0d8d0b0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as id FROM \"ProjectPermission\" WHERE \"projectId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "467fc7bd79aaa296588af3527f1d1fa944740f01ce65798b18269b099a65a283"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json b/rust/cloud-storage/macro_db_client/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json
deleted file mode 100644
index 76fa7f167e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ),\n UserAccessibleDocuments AS (\n SELECT DISTINCT ON (entity_id) entity_id, access_level\n FROM entity_access\n WHERE source_id = ANY(SELECT source_id FROM user_source_ids)\n AND entity_type = 'document'\n ORDER BY entity_id,\n CASE access_level::text\n WHEN 'owner' THEN 4\n WHEN 'edit' THEN 3\n WHEN 'comment' THEN 2\n WHEN 'view' THEN 1\n ELSE 0\n END DESC\n )\n SELECT\n d.id as \"document_id!\",\n d.name as \"document_name!\",\n d.owner as \"owner!\",\n d.\"fileType\" as \"file_type\",\n d.\"projectId\" as \"project_id\",\n d.\"createdAt\"::timestamptz as \"created_at!\",\n d.\"updatedAt\"::timestamptz as \"updated_at!\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\",\n uad.access_level::text as \"access_level!\"\n FROM \"Document\" d\n INNER JOIN UserAccessibleDocuments uad ON uad.entity_id = d.id::uuid\n WHERE d.\"deletedAt\" IS NULL\n AND ($2::text[] IS NULL OR d.\"fileType\" = ANY($2))\n AND (\n CASE uad.access_level::text\n WHEN 'owner' THEN 4\n WHEN 'edit' THEN 3\n WHEN 'comment' THEN 2\n WHEN 'view' THEN 1\n ELSE 0\n END >=\n CASE $3\n WHEN 'owner' THEN 4\n WHEN 'edit' THEN 3\n WHEN 'comment' THEN 2\n WHEN 'view' THEN 1\n ELSE 0\n END\n )\n ORDER BY d.\"updatedAt\" DESC\n LIMIT $4 OFFSET $5\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_name!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "Text",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "47527ceedb84aa81cf48fd3529718a5303e9f456e3db0ac35840627b086d3995"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json
deleted file mode 100644
index 1d742c4cac..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET \"aiDataConsent\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "47f0213791a57c90d28af2015b1de283865e6bbf5776a9f482a5d21568c14d3e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json b/rust/cloud-storage/macro_db_client/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json
deleted file mode 100644
index 7013b71318..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT d.id\n FROM \"Document\" d\n WHERE d.\"deletedAt\" IS NOT NULL AND d.\"deletedAt\" <= $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "47fb0faaa3568c45ff7abcc6b1b1229d7042950891759db010a27c5a18ed2909"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json
deleted file mode 100644
index e9ccf34748..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"entity_access\"\n WHERE entity_id = ANY($1) AND entity_type = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "4825133a0ea4f2d839f5976681269e6ad7a517fd29a3d2a7634cc655bf7f2bfb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json
deleted file mode 100644
index d5d5bbf1a9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"OrganizationRetentionPolicy\" \n SET \"retention_days\" = $2\n WHERE \"organization_id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Int4"
- ]
- },
- "nullable": []
- },
- "hash": "48293aa40f783e58d4f49e2d0495255d70d2b790baa1bfb5397913d2a4b1dd8f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json b/rust/cloud-storage/macro_db_client/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json
deleted file mode 100644
index 338983b3a7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"UserHistory\" WHERE \"userId\" = $1 AND \"itemId\" = $2 AND \"itemType\" = $3",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "483f8f8ef068fb6394d5af8d06068d4463413d22894b6c6b72965f90d8ef0436"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json b/rust/cloud-storage/macro_db_client/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json
deleted file mode 100644
index 8c77e4ca15..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ThreadAnchor\" (\"threadId\", \"anchorId\", \"anchorTableName\")\n VALUES ($1, $2, $3::\"anchor_table_name\")\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Uuid",
- {
- "Custom": {
- "name": "anchor_table_name",
- "kind": {
- "Enum": [
- "PdfPlaceableCommentAnchor",
- "PdfHighlightAnchor"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "48b369655e2258f40d38ab1352825be135e66c8215c051a56c7aa032b2abbd02"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json
deleted file mode 100644
index 9b18331876..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n oi.email\n FROM \"OrganizationInvitation\" oi\n WHERE oi.organization_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "4a02aab26f16872fc4f19617011e4dc054b233dea57f9c78a4f2ba5b19284f62"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json
deleted file mode 100644
index 70a5865537..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, username, stripe_customer_id\n FROM macro_user\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "username",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "stripe_customer_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "4b483617cc20e22761392cb54e682762a83c3dbeec3eacfeaadae1ca8aff376c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json
deleted file mode 100644
index b502f33690..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Project\" (\"name\", \"userId\", \"parentId\", \"createdAt\", \"updatedAt\", \"uploadPending\", \"uploadRequestId\")\n VALUES ($1, $2, $3, NOW(), NOW(), TRUE, $4)\n RETURNING id, name, \"userId\"::text as user_id, \"createdAt\"::timestamptz as created_at, \"deletedAt\"::timestamptz as deleted_at,\n \"updatedAt\"::timestamptz as updated_at, \"parentId\" as parent_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "parent_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "4be607458d6cc823fa5a692842b502b405bd0e971be8425d4573846beadb6bf3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json
deleted file mode 100644
index 966f64c84d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"account_merge_request\" (id, macro_user_id, to_merge_macro_user_id, code, created_at)\n VALUES ($1, $2, $3, $4, NOW())\n RETURNING \"code\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "code",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "4beff28bd0fc4ab7fbe74078b14f100a55cf2bb037ec171c3bcc8650edd73548"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json
deleted file mode 100644
index c5070fa577..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\" d\n LEFT JOIN \"DocumentText\" dt ON d.id = dt.\"documentId\"\n WHERE d.\"deletedAt\" IS NULL\n AND dt.\"documentId\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "4c11c2c42479bad0cd549ab31c1dcb90b605b55480a604c4e047c450b5ab433f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json
deleted file mode 100644
index e71deba787..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\" d\n WHERE d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "4ca8409d9a2c8bf1634c3b1543e02daa92a5a01f2ad46d8124e0568ce8b17073"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json
deleted file mode 100644
index c04f432a08..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"ChatMessage\"\n WHERE id = $1\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "4d0f38e351a6a9b4a559ae4df808653289e7abb1719b58fd0a4d7e8f6cedb423"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json
deleted file mode 100644
index ad1c3e2279..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"projectId\" = NULL WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "4e9e26869da9b5473f0876a70c68dd69f6539902e580bdeaeaabdbf4d72793ef"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json
deleted file mode 100644
index 8629eccbfd..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"macro_user\" WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "4eb050dbd9d68aa914696bdf5c03315c56e84c969498cb55c34bd93d937dd924"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json
deleted file mode 100644
index ab86a1c245..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentView\" (\"document_id\", \"user_id\", \"created_at\")\n VALUES ($1, $2, NOW())\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "4febc8d1902ceb02cc22d1bf9d9f1ebd8a471c3b0e6e4016de97a8fbfd1288b7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json b/rust/cloud-storage/macro_db_client/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json
deleted file mode 100644
index 1e340576fa..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.owner, t.\"documentId\" as document_id, d.name as document_name, d.\"fileType\" as file_type, d.owner as document_owner\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n JOIN \"Document\" d ON t.\"documentId\" = d.id\n WHERE c.id = $1 and c.\"deletedAt\" IS NULL AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "document_owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "4ffa9cfbefb9f75c3964db40d92d40085e0093d476d8b3d8aab8e81e575e1897"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json
deleted file mode 100644
index 877c7bc78a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"DocumentPermission\"\n WHERE \"sharePermissionId\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "514af45f8facfb915211cc9b0a92991b831dc11f9ab91d92b368340fa0aa8f8f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json
deleted file mode 100644
index 3c5f804ed2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id,\n d.owner as owner,\n d.name as document_name,\n db.id as \"document_version_id!\",\n d.\"fileType\" as \"file_type?\",\n d.\"createdAt\"::timestamptz as created_at,\n d.\"updatedAt\"::timestamptz as updated_at,\n db.bom_parts as \"document_bom?\",\n d.\"projectId\" as \"project_id?\",\n p.name as \"project_name?\"\n FROM\n \"Document\" d\n LEFT JOIN LATERAL (\n SELECT\n b.id,\n (\n SELECT\n json_agg(\n json_build_object(\n 'id', bp.id,\n 'sha', bp.sha,\n 'path', bp.path\n )\n )\n FROM\n \"BomPart\" bp\n WHERE\n bp.\"documentBomId\" = b.id\n ) as bom_parts\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n\n ) db ON true\n LEFT JOIN LATERAL (\n SELECT\n p.name\n FROM \"Project\" p\n WHERE p.id = d.\"projectId\"\n ) p ON d.\"projectId\" IS NOT NULL\n WHERE d.\"fileType\" = 'docx' AND d.\"deletedAt\" IS NULL AND d.uploaded = true\n ORDER BY d.\"updatedAt\" DESC\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "file_type?",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "document_bom?",
- "type_info": "Json"
- },
- {
- "ordinal": 8,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "project_name?",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "5183d95583de1d3aa5cb183c528a2ea768622c3b189ffa6664c15669f7d78b90"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json b/rust/cloud-storage/macro_db_client/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json
deleted file mode 100644
index 7d015cf85e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"User\" WHERE id = $1 RETURNING id, email, \"organizationId\" as organization_id",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "organization_id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true
- ]
- },
- "hash": "51873bdb08381231f01403f4e58bb5f5d73338d8cb9ec96c67fd8d6ea4746970"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json b/rust/cloud-storage/macro_db_client/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json
deleted file mode 100644
index 2d58ede92f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"id\" as \"merge_request_id!\",\n \"to_merge_macro_user_id\" as \"to_merge_macro_user_id!\"\n FROM \"account_merge_request\"\n WHERE \"code\" = $1 AND \"macro_user_id\" = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "merge_request_id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "to_merge_macro_user_id!",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "52274fa0bcbaf995cd7ccf4025dcae43516d969d93066adf3bea59f64fcce246"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json
deleted file mode 100644
index 57bef9cf37..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id,\n c.name,\n c.model,\n c.\"userId\" as \"user_id\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.\"projectId\" as \"project_id\",\n c.\"tokenCount\" as \"token_count\",\n c.\"isPersistent\" as \"is_persistent\"\n FROM \"Chat\" c WHERE c.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "model",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "token_count",
- "type_info": "Int8"
- },
- {
- "ordinal": 9,
- "name": "is_persistent",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- true,
- false
- ]
- },
- "hash": "525b9b86055a3dc112adcb8973efb21edf79cf3409c9d1fbcb71c4564b6b453d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json b/rust/cloud-storage/macro_db_client/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json
deleted file mode 100644
index 03329c31cb..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Chat\" c\n WHERE c.\"userId\" = $1 and c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "52bd1907e946a5c7b45c1954491c0d10a911eecd17e12d2c3937dae20ae71bef"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json b/rust/cloud-storage/macro_db_client/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json
deleted file mode 100644
index a6d05ec2f1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT e.id, e.active, e.\"started_at\"::timestamptz as started_at, e.\"ended_at\"::timestamptz as ended_at\n FROM \"Experiment\" e\n WHERE e.active = true\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "active",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "started_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "ended_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- false,
- false,
- null,
- null
- ]
- },
- "hash": "532bde51c937e59bf4b6bd5ad735cd58ff2db92684a0c685bad7e8f133521563"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json b/rust/cloud-storage/macro_db_client/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json
deleted file mode 100644
index e2c0dec188..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT a.owner, d.owner as document_owner\n FROM \"PdfPlaceableCommentAnchor\" a\n JOIN \"Thread\" t ON a.\"threadId\" = t.id\n JOIN \"Document\" d ON a.\"documentId\" = d.id\n WHERE a.uuid = $1 AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "53803816cc7149ffc49cd92a665229df9ec397fa2035c305d00133abeea39358"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json b/rust/cloud-storage/macro_db_client/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json
deleted file mode 100644
index cd2311d8f0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET id = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "54eb040ca9944d83dd7a79c3a6bb5d7c6f8264109d57c825e903233bb7ea22ff"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json
deleted file mode 100644
index da513430f1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Experiment\" SET active = false AND ended_at = NOW() WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "5553458fc15f58a3a981b54210e10ebf8de2788f357c3af3932a6516c235271e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json
deleted file mode 100644
index e3d5edd8c0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd.json
+++ /dev/null
@@ -1,94 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n a.uuid, \n a.\"threadId\" as thread_id,\n a.page, \n a.red, \n a.green, \n a.blue, \n a.alpha,\n a.type as highlight_type, \n a.text,\n a.\"pageViewportWidth\" as page_viewport_width, \n a.\"pageViewportHeight\" as page_viewport_height, \n a.\"createdAt\"::timestamptz as created_at, \n a.\"updatedAt\"::timestamptz as updated_at\n FROM \"PdfHighlightAnchor\" a\n WHERE a.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 3,
- "name": "red",
- "type_info": "Int4"
- },
- {
- "ordinal": 4,
- "name": "green",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "blue",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "alpha",
- "type_info": "Float8"
- },
- {
- "ordinal": 7,
- "name": "highlight_type",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "page_viewport_width",
- "type_info": "Float8"
- },
- {
- "ordinal": 10,
- "name": "page_viewport_height",
- "type_info": "Float8"
- },
- {
- "ordinal": 11,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 12,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null
- ]
- },
- "hash": "569440328317c8738d56baf89e528c093cc117a1ff6a8628f3bea4ea860c2dfd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json
deleted file mode 100644
index c75072ce00..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n SELECT u.user_id, u.item_id, 'chat', NOW(), NOW()\n FROM UNNEST($1::text[], $2::text[]) AS u(item_id, user_id)\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = NOW();\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "56bc98d55555a5605ffe1fb098c61a56fe28b866c4e6684d4208f97a21a7c5d8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json b/rust/cloud-storage/macro_db_client/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json
deleted file mode 100644
index ccf176175d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO\n in_progress_email_link (id, macro_user_id, email, created_at)\n VALUES\n ($1, $2, $3, NOW())\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "56bd1e06751e63ed197d0d29b48585d16912c6fd506196d2058ee41c09e71433"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json
deleted file mode 100644
index 389dd19f0b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id\n FROM\n \"Document\" d\n WHERE\n d.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "575a01f5f6907c1586c226426b338c649fa27b433650b735c685e60ad9435a4b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json
deleted file mode 100644
index 15af8c6d02..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT bp.sha\n FROM \"BomPart\" bp\n JOIN \"DocumentBom\" db ON bp.\"documentBomId\" = db.id\n WHERE db.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5766ebb8dbd1ad5d06624c7e715e3d2e68f8539e835552e8c8ca0d562adbbefe"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json
deleted file mode 100644
index b6ea64eede..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n LENGTH(REGEXP_REPLACE(d.\"content\", '\\s', '', 'g')) AS content_length\n FROM\n \"DocumentText\" d\n WHERE\n d.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "content_length",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "584a3f488f9149430d13e21a9bf1bef7da249de88d145a2925832425785250f8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json b/rust/cloud-storage/macro_db_client/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json
deleted file mode 100644
index 34a8fe34a1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM macro_user\n WHERE username = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "58bcc36d5e748a63f9f35516f0c0ace37f77dd6806bf7f26211b3faa0fa84422"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json b/rust/cloud-storage/macro_db_client/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json
deleted file mode 100644
index 2a861ab825..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"deletedAt\" as deleted_at FROM \"Project\" WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "deleted_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "58bf14acad4a08a6fa2da18e244676169f0bc6f606b04b1e8e3080fe95717b41"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json
deleted file mode 100644
index db2b1c4b96..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id\n FROM\n \"EmailThreadPermission\" tp\n JOIN \"SharePermission\" sp ON tp.\"sharePermissionId\" = sp.id\n WHERE\n tp.\"threadId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5904887b6e8f4db0d2bd73b6e2921530de25c237c7e369b43a60ed7c28958fb8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json
deleted file mode 100644
index 334a1ac1ac..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n 'document' as \"item_type!\",\n d.id as \"id!\",\n CAST(COALESCE(di.id, db.id) as TEXT) as \"document_version_id\",\n d.owner as \"user_id!\",\n d.name as \"name!\",\n d.\"fileType\" as \"file_type\",\n d.\"createdAt\"::timestamptz as \"created_at\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\",\n d.\"projectId\" as \"project_id\",\n NULL as \"is_persistent\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n CASE \n WHEN dt.sub_type = 'task' \n AND ep_status.values->'value' ? $2\n THEN true \n WHEN dt.sub_type = 'task'\n THEN false\n ELSE NULL \n END as \"is_completed\"\n FROM \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN entity_properties ep_status \n ON dt.sub_type = 'task'\n AND ep_status.entity_id = d.id \n AND ep_status.entity_type = 'TASK'\n AND ep_status.property_definition_id = $3\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON true\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" DESC\n LIMIT 1\n ) di ON true\n WHERE d.owner = $1 AND d.\"deletedAt\" IS NOT NULL\n UNION ALL\n SELECT\n 'chat' as \"item_type!\",\n c.id as \"id!\",\n NULL as \"document_version_id\",\n c.\"userId\" as \"user_id!\",\n c.name as \"name!\",\n NULL as \"file_type\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.\"projectId\" as \"project_id\",\n c.\"isPersistent\" as \"is_persistent\",\n NULL as \"sub_type\",\n NULL as \"is_completed\"\n FROM \"Chat\" c\n WHERE c.\"userId\" = $1 AND c.\"deletedAt\" IS NOT NULL\n UNION ALL\n SELECT\n 'project' as \"item_type!\",\n p.id as \"id!\",\n NULL as \"document_version_id\",\n p.\"userId\" as \"user_id!\",\n p.name as \"name!\",\n NULL as \"file_type\",\n p.\"createdAt\"::timestamptz as \"created_at\",\n p.\"updatedAt\"::timestamptz as \"updated_at\",\n p.\"deletedAt\"::timestamptz as \"deleted_at\",\n p.\"parentId\" as \"project_id\",\n NULL as \"is_persistent\",\n NULL as \"sub_type\",\n NULL as \"is_completed\"\n FROM \"Project\" p\n WHERE p.\"userId\" = $1 AND p.\"deletedAt\" IS NOT NULL\n ORDER BY deleted_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_version_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "name!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "is_persistent",
- "type_info": "Bool"
- },
- {
- "ordinal": 11,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 12,
- "name": "is_completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "5959ff0d2410e3f2599a53bc1bf0de19c2d6e90cb030f64dccf965a0515b467e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json
deleted file mode 100644
index 4a5f27b20e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id\n FROM\n \"Project\" p\n WHERE\n p.id = ANY($1)\n AND p.\"userId\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5a1016dee1c30860cc21fed65aa3a7f7f3c37e866d38c2ab99cfeb2fe940b2c8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json
deleted file mode 100644
index 33f5fcf029..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH MultiAttachmentChats AS (\n SELECT\n \"chatId\",\n COUNT(*) as attachment_count\n FROM \"ChatAttachment\"\n GROUP BY \"chatId\"\n )\n SELECT\n c.id,\n c.name,\n c.\"userId\" as \"user_id\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.model,\n c.\"tokenCount\" as \"token_count\",\n c.\"projectId\" as \"project_id\",\n c.\"isPersistent\" as \"is_persistent\"\n FROM \"Chat\" c\n INNER JOIN \"ChatAttachment\" ca ON c.id = ca.\"chatId\"\n INNER JOIN MultiAttachmentChats mac ON c.id = mac.\"chatId\"\n WHERE\n ca.\"attachmentId\" = $1 AND c.\"userId\" = $2\n AND\n c.\"deletedAt\" IS NULL\n ORDER BY c.\"updatedAt\" DESC;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "model",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "token_count",
- "type_info": "Int8"
- },
- {
- "ordinal": 8,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "is_persistent",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "5b80d3808a67dec493adf6f88ed7d642451d84970962ddb75a13d017b4837fbb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json
deleted file mode 100644
index ab05ec9386..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ),\n -- Get all entities the user has access to via entity_access\n UserAccessibleEntities AS (\n SELECT DISTINCT\n ea.entity_id,\n ea.entity_type\n FROM entity_access ea\n WHERE ea.source_id = ANY(SELECT source_id FROM user_source_ids)\n AND ($2::text IS NULL OR ea.entity_type = $2)\n ),\n -- Filter out deleted items and optionally exclude owned\n FilteredItems AS (\n SELECT uae.entity_id::text as item_id, uae.entity_type as item_type\n FROM UserAccessibleEntities uae\n LEFT JOIN \"Document\" d ON uae.entity_type = 'document' AND uae.entity_id::text = d.id\n LEFT JOIN \"Chat\" c ON uae.entity_type = 'chat' AND uae.entity_id::text = c.id\n LEFT JOIN \"Project\" p ON uae.entity_type = 'project' AND uae.entity_id::text = p.id\n WHERE\n (uae.entity_type = 'document' AND d.\"deletedAt\" IS NULL\n AND ($3 = false OR d.owner != $1)) OR\n (uae.entity_type = 'chat' AND c.\"deletedAt\" IS NULL\n AND ($3 = false OR c.\"userId\" != $1)) OR\n (uae.entity_type = 'project' AND p.\"deletedAt\" IS NULL\n AND ($3 = false OR p.\"userId\" != $1))\n )\n SELECT item_id as \"item_id!\", item_type as \"item_type!\" FROM FilteredItems\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "item_type!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Bool"
- ]
- },
- "nullable": [
- null,
- false
- ]
- },
- "hash": "5c110b698a00004a548556064f3ec7f96170613378e2fc37f78f2585a26f91f0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json
deleted file mode 100644
index 47d617747d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"UploadJob\" SET \"documentId\" = $1 WHERE \"jobId\" = $2;\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "5c138b3279b9ec08049316d52887064c46d9799c3d1282237646ec295890b2f7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json
deleted file mode 100644
index daa8c66b98..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Project\"\n WHERE id = ANY($1)",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "5ca006bf302d626774ecb05adde9c5bd7f594804d634f2d805ef47f997b270df"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json
deleted file mode 100644
index 28507e9701..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Thread\" t\n SET \"updatedAt\" = NOW(), \"metadata\" = $3\n WHERE t.\"documentId\" = $1 AND t.\"deletedAt\" IS NULL AND t.id = $2\n RETURNING\n t.id as thread_id, \n t.resolved, \n t.\"documentId\" as document_id, \n t.\"createdAt\"::timestamptz as created_at, \n t.\"updatedAt\"::timestamptz as updated_at, \n t.\"deletedAt\"::timestamptz as deleted_at, \n t.metadata, \n t.owner\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 7,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8",
- "Jsonb"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "5cf744cd176688700ea98da0351a8c39369e808fdcb9ae39bb8e31ef99bbf3e8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json
deleted file mode 100644
index 8627106f3b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT name\n FROM \"Chat\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5d922b5d0478e241a8b0bb3062a61448366cff0f2db4b3bade0294bf0e4a9bf0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json
deleted file mode 100644
index 964ba5a296..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n di.sha\n FROM\n \"DocumentInstance\" di\n WHERE di.\"documentId\" = $1 AND di.id = $2\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "5f05ad6ca76854ac7e9257b63a5ce27e9f8c6a5ba43888d9e357b10d95e0f6f2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json
deleted file mode 100644
index f34fbaf789..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id,\n d.name,\n d.owner,\n d.\"fileType\" as \"file_type!\",\n di.id as \"document_version_id?\"\n FROM\n \"Document\" d\n LEFT JOIN \"DocumentText\" dt ON d.id = dt.\"documentId\"\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" ASC\n LIMIT 1\n ) di ON true\n WHERE\n d.\"deletedAt\" IS NULL\n AND dt.\"documentId\" IS NULL\n AND d.\"fileType\" IS NOT NULL\n ORDER BY d.\"createdAt\" DESC\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "document_version_id?",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "5f8f702012590c04c79b43fdb82d0252976b275c608a3eb96e3043a1a02d452f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json
deleted file mode 100644
index 70975b0a69..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\"\n WHERE id IN (\n SELECT \"sharePermissionId\"\n FROM \"ChatPermission\"\n WHERE \"chatId\" = ANY($1)\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "6107da3c9e3018aed3dce2c0a29baa584754659223dc45b3adbf30959b7f739e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json
deleted file mode 100644
index 0dc7579362..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"RolesOnUsers\" (\"userId\", \"roleId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "6206a64301c4a62de624c6cb0db3c1053c050c7529496a73e3cf74d728f5b6ff"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json b/rust/cloud-storage/macro_db_client/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json
deleted file mode 100644
index b36019aa97..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n \"userId\" as user_id\n FROM\n \"Project\"\n WHERE\n \"deletedAt\" IS NULL\n ORDER BY\n \"createdAt\" DESC\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "638409c05db350cedd85b28991817b43793526453437ac01d9d20df52ff87ced"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json b/rust/cloud-storage/macro_db_client/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json
deleted file mode 100644
index 31007ad5b4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"organizationId\" as id\n FROM \"OrganizationIT\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "63a478f0ae0ec6d9e9cb4c3de55a880b859bc61f745087e067f6b05e6878cc04"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json
deleted file mode 100644
index 03bae7e074..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO macro_user_info (macro_user_id, industry, title, first_name, last_name, profile_picture, profile_picture_hash)\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n ON CONFLICT (macro_user_id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Text",
- "Text",
- "Text",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "6405181c054f5b865e4dafb1a665d33e0f3cdd3a3bab22f0fd1eb5e71c46a935"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json
deleted file mode 100644
index 388d284af5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.email\n FROM\n \"User\" u\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "64407ed474bb1ea2930c431fad30657cfa6d5e400247cbf304a3d28cde13c39d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json
deleted file mode 100644
index 1336af405e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\"\n WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "64d3a59468f973251be473a78180d6178a8fbdfe21983501c6baf4ce30cbe5d2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json
deleted file mode 100644
index b03cf39b93..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id as \"id\",\n c.name as \"name\",\n c.\"projectId\" as \"project_id\",\n c.\"userId\" as \"user_id\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM\n \"Chat\" c\n WHERE\n c.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null
- ]
- },
- "hash": "65312be3e9b6d4bb6debf39d7fe4f0abbb105b8fb03e44c12f7241fc52b022d4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json b/rust/cloud-storage/macro_db_client/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
deleted file mode 100644
index 05a8dc4343..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" WHERE \"pinnedItemId\" = $1 AND \"pinnedItemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "65818d5e257f9e76534f4ac3414f98f24d1991cacd53b806e81746c16144cc83"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json b/rust/cloud-storage/macro_db_client/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json
deleted file mode 100644
index 9e5261243d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id as \"document_id\"\n FROM\n \"Document\"\n WHERE\n \"deletedAt\" IS NULL\n ORDER BY\n \"createdAt\" ASC\n LIMIT $1\n OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "65af936c2ba7200bb57024fb52cd27fbb4ac3a6b655e5dc2c11ea4c802587214"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json
deleted file mode 100644
index ad286ad459..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentBom\" (\"documentId\")\n VALUES ($1)\n RETURNING id, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- null,
- null
- ]
- },
- "hash": "66106766fa34cf3660615011a75f7640171d9adbb9f95962db83d979d02cc2d5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json
deleted file mode 100644
index 6614498635..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"projectId\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "666ad2a732546aa9a48262eeaeba037263a6ef8f1daf5eb8ee95ee50ad97f3c0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json
deleted file mode 100644
index 4e6df68b0f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.name,\n d.\"fileType\" as \"file_type!\"\n FROM\n \"Document\" d\n WHERE\n d.id = $1 AND d.\"fileType\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "file_type!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "66db94821f8946fd3494e1ae5df52425ff06f3bdc9bf008414db8301161d1f4f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json b/rust/cloud-storage/macro_db_client/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json
deleted file mode 100644
index 02e4d8a7ad..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Chat\" SET \"projectId\"=$2 WHERE \"id\"=$1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "679af359cf0fccd5b687fe58ece3b1052fe8c636b986fb6f59f67fcfd08fce38"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json
deleted file mode 100644
index d83f78a498..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\", \"stripeCustomerId\" as \"stripe_customer_id?\"\n FROM \"User\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "stripe_customer_id?",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "67d6061e983a68f7c75c0272885bb866cacda011d43947e9dd29e0ec60f42d2b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
deleted file mode 100644
index 60b912d427..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"Document\" WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "68ab26135b27913a38d7670c8c1a304b0d9676ba2fb8cd7ac3e9c9906e5726d7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json
deleted file mode 100644
index 21c0c2a5d1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"RolesOnUsers\" (\"userId\", \"roleId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "6925ae890683c9b94bc1f89f1d8fbe0b72aafdd053092bbbd4b1f918d3e194e2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json
deleted file mode 100644
index 5a96fb6793..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n ca.id,\n ca.\"attachmentType\" as \"attachment_type: AttachmentType\",\n ca.\"attachmentId\" as \"attachment_id\",\n ca.\"chatId\" as \"chat_id\",\n ca.\"messageId\" as \"message_id\"\n FROM\n \"ChatAttachment\" ca\n WHERE\n ca.\"messageId\" = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "attachment_type: AttachmentType",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "message_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "69af04267546961d49bdd35751b2f89a5c06f05102a6b68a8fc36429f48eced1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json
deleted file mode 100644
index c1dc3cfe3e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"PdfHighlightAnchor\"\n SET \"deletedAt\" = NOW()\n WHERE uuid = $1 AND \"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "6ac0f229f06980ddbc62f5f5056b7996d92d842e88d386cb0b65fb11468cdc57"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json
deleted file mode 100644
index 639f950925..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO in_progress_user_link (id, macro_user_id)\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "6b5d1c6cd2318d630632681a46fc22d2c1075924eb4c5089bd81b1f3b72e0455"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json
deleted file mode 100644
index 396f195c48..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as id FROM \"ChatPermission\" WHERE \"chatId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "6b7094e2eaf150972507f937e120984ee4911e974d0bcc78248c022d44fa20f1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json
deleted file mode 100644
index b3228c70bf..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id,\n d.\"owner\",\n d.name,\n d.\"fileType\" as \"file_type!\",\n di.id as \"document_version_id?\"\n FROM\n \"Document\" d\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" ASC\n LIMIT 1\n ) di ON true\n WHERE\n d.\"deletedAt\" IS NULL\n AND d.\"fileType\" IS NOT NULL\n ORDER BY d.\"createdAt\" DESC\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "document_version_id?",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "6c8ac695bf54550d865d143ee7a01a65dc6bad54ef3c3462f7bf5727f9ab3a42"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json
deleted file mode 100644
index 1a27c4b4be..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"name\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "6ca4be786e151f81e8e7d6b13ada596369e6a42d1371b871c7739e2dc0ff0b11"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json
deleted file mode 100644
index 15267a7827..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id\n FROM\n \"Document\" d\n WHERE\n d.owner = $1 AND d.\"deletedAt\" IS NULL AND d.\"fileType\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "6ce3b9755eb7d0e6eff85dfb08d9ca5ab3dffaa6794fe78612b94389ee90e3b4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json
deleted file mode 100644
index ac1ba33a99..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH attachment_info AS (\n SELECT\n ca.id,\n ca.\"attachmentType\",\n ca.\"attachmentId\",\n ca.\"messageId\",\n CASE\n WHEN ca.\"attachmentType\" = 'document' THEN d.name\n WHEN ca.\"attachmentType\" = 'chat' THEN c.name\n WHEN ca.\"attachmentType\" = 'project' THEN p.name\n WHEN ca.\"attachmentType\" = 'image' THEN d.name\n ELSE NULL\n END AS document_name,\n CASE\n WHEN ca.\"attachmentType\" = 'document' THEN d.\"fileType\"\n WHEN ca.\"attachmentType\" = 'image' THEN d.\"fileType\"\n ELSE NULL\n END as document_type\n FROM\n \"ChatAttachment\" ca\n LEFT JOIN\n \"Document\" d ON (\n (ca.\"attachmentType\" = 'document' AND ca.\"attachmentId\" = d.id)\n OR\n (ca.\"attachmentType\" = 'image' AND ca.\"attachmentId\" = d.id)\n )\n LEFT JOIN\n \"Chat\" c ON ca.\"attachmentType\" = 'chat' AND ca.\"attachmentId\" = c.id\n LEFT JOIN\n \"Project\" p ON ca.\"attachmentType\" = 'project' AND ca.\"attachmentId\" = p.id\n )\n SELECT\n cm.id AS \"id!\",\n cm.content,\n cm.role,\n cm.model,\n COALESCE(\n (\n SELECT json_agg(\n json_build_object(\n 'id', attachment_info.\"attachmentId\",\n 'attachmentType', attachment_info.\"attachmentType\",\n 'attachmentId', attachment_info.\"attachmentId\",\n 'documentName', attachment_info.document_name,\n 'documentType', attachment_info.document_type\n )\n )\n FROM attachment_info\n WHERE attachment_info.\"messageId\" = cm.id\n ),\n '[]'::json\n ) AS attachments\n FROM\n \"ChatMessage\" cm\n WHERE\n cm.\"chatId\" = $1\n ORDER BY\n cm.\"createdAt\" ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "content",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 2,
- "name": "role",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "model",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "attachments",
- "type_info": "Json"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null
- ]
- },
- "hash": "6df8edb2ab31514a1ad2e48eecc81d52bf70ec8e34a2741be8f7a7b521d5074a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json
deleted file mode 100644
index 4e92123853..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT d.\"documentId\" as \"document_id\"\n FROM \"DocumentText\" as d\n WHERE d.\"documentId\" = ANY($1)\n AND d.\"tokenCount\" > 0\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "6e755ab9205277781336779cc7c41346b3432771aa29162272624e4bed3e54e5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json
deleted file mode 100644
index 5d785a97ee..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"fileType\" as \"file_type\",\n dst.sub_type as \"sub_type?: DocumentSubType\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dst ON dst.document_id = d.id\n WHERE d.id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false
- ]
- },
- "hash": "6ea5fe0c08693b233361460d1a1b46168b4bf9848d252242a06569301144a4f6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json
deleted file mode 100644
index 020d3dd88c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as id FROM \"DocumentPermission\" WHERE \"documentId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "70f12c0591fd0f66402ffc3720a5f5f7c6116cd761471bd5e03f528bf32effa5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json b/rust/cloud-storage/macro_db_client/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json
deleted file mode 100644
index 51ac02ab79..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n bp.sha as sha,\n bp.path as path,\n bp.id as id\n FROM \"BomPart\" bp\n JOIN \"DocumentBom\" db ON bp.\"documentBomId\" = db.id\n WHERE db.\"documentId\" = ANY($1);\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "path",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "71b68b23ef028192231dd2129f4f8671f0af53a90629efe34f6f4e13ba227e91"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json
deleted file mode 100644
index 2dc1809409..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ItemLastAccessed\" (\"item_id\", \"item_type\", \"last_accessed\")\n VALUES ($1, $2, $3)\n ON CONFLICT (\"item_id\", \"item_type\") DO UPDATE\n SET \"last_accessed\" = $3;\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "71b975abc8c63ea8116cd8944e99d46e5747660807a30564921bc371ddd1338d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json b/rust/cloud-storage/macro_db_client/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json
deleted file mode 100644
index 743945260d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"OrganizationRetentionPolicy\"\n WHERE \"organization_id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": []
- },
- "hash": "725db444624bc6b4df387c7f45d750328437c7732e147e15818a269bb63be183"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json
deleted file mode 100644
index 06337d4c3e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\" SET \"documentFamilyId\" = $1 WHERE id = $2;\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7335b4f26cdbd5ad240545c4231cc1d34d10eda3212c0dcbd92db0ed61e86ec4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json
deleted file mode 100644
index c52083e7eb..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id\n FROM\n \"ProjectPermission\" pp\n JOIN \"SharePermission\" sp ON pp.\"sharePermissionId\" = sp.id\n WHERE\n pp.\"projectId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7346e8f6a04f0e2d0b0c3b711afc10673c7756fda2cce9fe8619d68d92219a88"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json
deleted file mode 100644
index 9cce76e686..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id\n FROM\n \"Document\" d\n WHERE\n d.id = ANY($1)\n AND d.\"projectId\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7385a803bf786406cafdce24628f9cca114fa5fe46b7bb0de469135f54dcd710"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json b/rust/cloud-storage/macro_db_client/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json
deleted file mode 100644
index 721336c9fe..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentInstance\" (\"documentId\", \"sha\")\n VALUES ($1, $2)\n RETURNING id, sha, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- null
- ]
- },
- "hash": "75f7c645bd7640d085b759c4246f683ccf76c634d71337d35d1a8b7004f31c35"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json b/rust/cloud-storage/macro_db_client/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json
deleted file mode 100644
index a489813ed4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"User\" WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "76096541f7696b2035acdb51754b4f783e345db19b32a815bbf68652121da947"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json
deleted file mode 100644
index 33c4519459..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"deletedAt\" = $2 WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "7671b43028d90ea50536fbcd10ee0c1625c2e66de29cdf080f66832e62e07e76"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json
deleted file mode 100644
index 8f83e9a7d1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT macro_user_id, first_name, last_name FROM macro_user_info WHERE macro_user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_user_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "first_name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "last_name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- true
- ]
- },
- "hash": "76caf706a1f0846ad3a7075878e941a9293a5eeeb1de3900c3c39386d5dc57c0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json b/rust/cloud-storage/macro_db_client/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json
deleted file mode 100644
index 45fd98094d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT resolved as is_resolved\n FROM \"Thread\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "is_resolved",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "76ebe39d39b36dc8c0d0f4d7741856a320bd22a3962cf1ccec2c930a56ed6a26"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json
deleted file mode 100644
index e973ff399b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id as id,\n c.name as name,\n c.\"userId\" as user_id,\n c.model as \"model?\",\n c.\"projectId\" as \"project_id?\",\n c.\"tokenCount\" as token_count,\n c.\"createdAt\"::timestamptz as created_at,\n c.\"updatedAt\"::timestamptz as updated_at,\n c.\"deletedAt\"::timestamptz as deleted_at,\n c.\"isPersistent\" as is_persistent\n FROM\n \"Chat\" c\n WHERE c.\"projectId\" = $1 AND c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "model?",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "token_count",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_persistent",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- true,
- null,
- null,
- null,
- false
- ]
- },
- "hash": "7704391a443f1375ebd231197c4c21c7843eea381e396a3c688b390ced89620a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json
deleted file mode 100644
index e2694fd100..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT COUNT(*) as \"count\" FROM \"User\" WHERE \"organizationId\" = $1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "77ff9385b1d74c036dde9f03404de53c3002b45bbe4e800fd2edf3c09f7625cc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json
deleted file mode 100644
index 0f10c737ca..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n email,\n team_id,\n team_role as \"team_role!: TeamRole\",\n invited_by,\n created_at as \"created_at!: chrono::DateTime<chrono::Utc>\",\n last_sent_at as \"last_sent_at!: chrono::DateTime<chrono::Utc>\"\n FROM team_invite\n WHERE team_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "team_role!: TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "invited_by",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "last_sent_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "7843258fc5ef444237a72be82c1be7ebbd77c6e056cde81c14b5526eef9045c2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json
deleted file mode 100644
index 06f69bc198..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"SharePermission\" (\"isPublic\", \"publicAccessLevel\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, NOW(), NOW())\n RETURNING id, \"isPublic\" as is_public, \"publicAccessLevel\" as public_access_level;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "is_public",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "public_access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Bool",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true
- ]
- },
- "hash": "79c6974496c155f372a458d21240a09730630660ae75e8f6e5cfd8f5ba0ceb4e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json
deleted file mode 100644
index db6ad1869a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO team (id, name, owner_id)\n VALUES ($1, $2, $3)\n RETURNING id, name, owner_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "7ab64e5cba66fcea21b94760cf7c840a90db5fa8c9cba8247d07b0ef6fa3b004"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json
deleted file mode 100644
index dcc7e4820a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT 'document' as \"item_type!\", \"documentId\" as \"item_id!\", \"sharePermissionId\" as \"share_permission_id!\"\n FROM \"DocumentPermission\"\n WHERE \"sharePermissionId\" = ANY($1)\n UNION ALL\n SELECT 'chat' as \"item_type!\", \"chatId\" as \"item_id!\", \"sharePermissionId\" as \"share_permission_id!\"\n FROM \"ChatPermission\"\n WHERE \"sharePermissionId\" = ANY($1)\n UNION ALL\n SELECT 'project' as \"item_type!\", \"projectId\" as \"item_id!\", \"sharePermissionId\" as \"share_permission_id!\"\n FROM \"ProjectPermission\"\n WHERE \"sharePermissionId\" = ANY($1)\n UNION ALL\n SELECT 'thread' as \"item_type!\", \"threadId\" as \"item_id!\", \"sharePermissionId\" as \"share_permission_id!\"\n FROM \"EmailThreadPermission\"\n WHERE \"sharePermissionId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "share_permission_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- null,
- null,
- null
- ]
- },
- "hash": "7aee0251787584d5ae4c7b01fc06562ccabe8d554bb4013b3970ddd3f10fc364"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json
deleted file mode 100644
index fa801927c7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.email\n FROM\n \"User\" u\n WHERE\n u.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "email",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7b57355357a891761f608fc4d7ad472b901c087890909de9a068d6bc1ba0eb7a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json
deleted file mode 100644
index e2226076d5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"updatedAt\" = NOW()\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7b747964b75e86cda7393af6cd483d86a7214baaa710e8a527e1dd77ab8274b6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json
deleted file mode 100644
index 59735d180a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"account_merge_request\"\n WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "7bb408bf30aecce0065dcfcf07da69efaab69905bb6b97d5d57ad591ff8c2006"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json
deleted file mode 100644
index d51bf18635..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Document\" (id, owner, name, \"fileType\", \"projectId\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, $4, $5, $6, $6)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text",
- "Text",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "7c4cd009982b182b18927dc5671aad059a55440c2de73c818ef28d6cf08acf80"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json
deleted file mode 100644
index 88476d02eb..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\" SET \"deletedAt\" = NULL WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "7d2487e2e00482505b104e5386377e939dd85a9090b3d89d71bb495b2ba7cca9"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json b/rust/cloud-storage/macro_db_client/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json
deleted file mode 100644
index 699c743a02..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Project\"\n WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7f5d80a93c34a98c84c86f6dd678139fbab4c5bf559090a45d79384bcef71a43"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json
deleted file mode 100644
index e8811731fa..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"content\"\n FROM \"DocumentProcessResult\"\n WHERE \"documentId\" = $1 AND \"jobType\" = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "content",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8038c7f88cea547f6ed9e7d8d8e3b547ad7f8880f4e695bc037ccc7ca8493f82"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json
deleted file mode 100644
index 8d3011486c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT owner, \"deletedAt\" as deleted_at FROM \"Document\" WHERE id=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "deleted_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "80d20d5b664dbbb320a52bf47f134534f93906716e415c54b6e3b30834973bc7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json
deleted file mode 100644
index e294b94dc9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT name FROM \"Project\" WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8147aab2de8747d607d38b11d39c62991540fc188b1c70f3c40a8a12f4908071"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json b/rust/cloud-storage/macro_db_client/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json
deleted file mode 100644
index ff952f5055..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.\"organizationId\" as organization_id\n FROM\n \"User\" u\n WHERE\n u.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "organization_id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "82329af5032380193f6774277bf662f7a68651a2375e36b9923a6bf7fec71426"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json
deleted file mode 100644
index 80302fe8d7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id\n FROM\n \"Document\" d\n WHERE\n d.owner = $1 AND d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8238816f3d6e5b374b83023a799251d28c15592d8b50959c331bbc2ba45ceaea"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json
deleted file mode 100644
index 5446721266..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n c.id as comment_id, \n c.\"threadId\" as thread_id, \n c.owner, \n c.sender, \n c.text, \n c.metadata, \n c.\"createdAt\"::timestamptz as created_at, \n c.\"updatedAt\"::timestamptz as updated_at, \n c.\"deletedAt\"::timestamptz as deleted_at, \n c.order\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n WHERE c.\"threadId\" = $1\n AND c.\"deletedAt\" IS NULL\n AND t.\"deletedAt\" IS NULL\n ORDER BY c.\"createdAt\" ASC \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "comment_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "sender",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- true,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "8334abc3fffa33d4b93704f039d5cd78bb02fa8505c3ba8111d1c9e17ffd93d8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json b/rust/cloud-storage/macro_db_client/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json
deleted file mode 100644
index 8b6519505d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_source_ids AS (\n SELECT cp.channel_id::text as source_id FROM comms_channel_participants cp\n WHERE cp.user_id = $2 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $2\n UNION ALL\n SELECT $2\n )\n SELECT\n chat_id,\n access_level\n FROM (\n -- Source 1: entity_access for chats\n SELECT\n ea.entity_id::text as chat_id,\n ea.access_level::text as access_level\n FROM entity_access ea\n WHERE ea.source_id = ANY(SELECT source_id FROM user_source_ids)\n AND ea.entity_id = ANY(SELECT id::uuid FROM \"Chat\" WHERE id = ANY($1) AND \"deletedAt\" IS NULL)\n AND ea.entity_type = 'chat'\n UNION ALL\n -- Source 2: Direct chat public permissions\n SELECT\n c.id as chat_id,\n sp.\"publicAccessLevel\" as access_level\n FROM \"Chat\" c\n JOIN \"ChatPermission\" cp ON cp.\"chatId\" = c.id\n JOIN \"SharePermission\" sp ON sp.id = cp.\"sharePermissionId\"\n AND sp.\"isPublic\" = true\n AND sp.\"publicAccessLevel\" IS NOT NULL\n WHERE c.id = ANY($1) AND c.\"deletedAt\" IS NULL\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null,
- null
- ]
- },
- "hash": "833f7916c7445825f248eac09769afd4b4971b517b12e578ec2f534038609572"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json b/rust/cloud-storage/macro_db_client/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json
deleted file mode 100644
index cebd9aa412..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"chat_id\"\n FROM\n \"Chat\" c\n WHERE\n c.\"userId\" = $1 AND c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "84bcc8595057c11bf854c4ecefc2abb2b0d392b7f098fdedac066a67d4dfd7d9"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json b/rust/cloud-storage/macro_db_client/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json
deleted file mode 100644
index aeffc58687..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Thread\" AS t \n (\"owner\", \"documentId\", \"createdAt\", \"updatedAt\", \"metadata\")\n VALUES ($1, $2, NOW(), NOW(), $3)\n RETURNING\n t.id as thread_id, \n t.resolved, \n t.\"documentId\" as document_id, \n t.\"createdAt\"::timestamptz as created_at, \n t.\"updatedAt\"::timestamptz as updated_at, \n t.\"deletedAt\"::timestamptz as deleted_at, \n t.metadata, \n t.owner\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 7,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Jsonb"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "84e1db53f1407e16ed5e2fccf64ecb7a7493b1a1df0b372b460170154a49a509"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json
deleted file mode 100644
index 1b2535f9bf..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n bp.id as id,\n bp.sha as sha,\n bp.path as path\n FROM\n \"BomPart\" bp\n WHERE\n bp.\"documentBomId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "path",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "850ac15de719742dcee861fed5d0199ded6efb032bc7e2daaca06013bb130e9b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json
deleted file mode 100644
index 7d754d3f07..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"model\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "869cd93b000ff26b2c872e5822ab4adb80d18fdc595352afa30159ac3eb864bc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json
deleted file mode 100644
index 6d3290429d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO macro_user_info (macro_user_id, profile_picture, profile_picture_hash)\n VALUES ($1, $2, $3)\n ON CONFLICT (macro_user_id)\n DO UPDATE SET \n profile_picture = EXCLUDED.profile_picture,\n profile_picture_hash = EXCLUDED.profile_picture_hash\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "86c882f1999ad9c5b87e684ae17a1c1307846848b1b1bd40ee02438ada43052f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json
deleted file mode 100644
index 41e01db088..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO team_user (team_id, user_id, team_role)\n VALUES ($1, $2, 'owner')\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "86d18e7e4b32bfa5e0ca2c8048f2e544756b6c60a5745705c726b3269f743c3c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json
deleted file mode 100644
index 687224c45b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"macro_user_email_verification\" (\"macro_user_id\", \"email\", \"is_verified\")\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "8733fe389d5f98dd34fe87d42e680e664655853aab4646cc5e889f48c5511aa1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json b/rust/cloud-storage/macro_db_client/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json
deleted file mode 100644
index a40a259e15..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n db.id\n FROM \"DocumentBom\" db\n JOIN \"Document\" d ON db.\"documentId\" = d.id\n WHERE db.\"documentId\" = $1\n ORDER BY db.\"createdAt\" DESC\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "874a0c4d1f171a6b97f75dd0e0c2df35b86bb10ef4bb518fb4594fe81d282606"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json b/rust/cloud-storage/macro_db_client/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json
deleted file mode 100644
index e1050f8af8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id FROM \"Chat\" WHERE \"userId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "87eec4033f46191de7f443e2f1ab2bf5e342b790423e98d6c62ba29a1a434d85"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json
deleted file mode 100644
index 92d4d68f99..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE team\n SET name = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "88ef62575a41128850e0943150af07a886168487ebe62c651b4cd33e26cf5ea7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json
deleted file mode 100644
index d6e3ef0406..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n rp.\"roleId\" AS role_id,\n rp.\"permissionId\" AS permission_id\n FROM\n \"User\" u\n INNER JOIN\n \"RolesOnUsers\" ru ON u.id = ru.\"userId\"\n INNER JOIN\n \"RolesOnPermissions\" rp ON ru.\"roleId\" = rp.\"roleId\"\n WHERE\n u.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "role_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "894b2bdfc3046722023572c4b37870258288ab2b3125c4f31dec62d916f0b64a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json b/rust/cloud-storage/macro_db_client/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json
deleted file mode 100644
index 0a50dad356..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\" d\n WHERE d.\"fileType\" = 'docx' AND d.\"deletedAt\" IS NULL AND d.uploaded = true\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "89b618eb18b7ae1ab21e40391daea7da6a544800e931142ac88d413aaed73653"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json
deleted file mode 100644
index 184bdca121..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\" sp\n USING \"DocumentPermission\" dp \n WHERE dp.\"sharePermissionId\" = sp.id\n AND dp.\"documentId\" = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "8a09a252705dac4a5d37461d81354c02f0776d151ed57da06713a6a0d7185392"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json
deleted file mode 100644
index a41d940fca..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.owner, t.id as thread_id, d.owner as document_owner, d.id as document_id, ta.\"anchorId\" as \"anchor_id?\", ta.\"anchorTableName\" as \"anchor_table_name?: AnchorTableName\"\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n JOIN \"Document\" d ON t.\"documentId\" = d.id\n LEFT JOIN \"ThreadAnchor\" ta ON ta.\"threadId\" = t.id\n WHERE c.id = $1 AND c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "document_owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "anchor_id?",
- "type_info": "Uuid"
- },
- {
- "ordinal": 5,
- "name": "anchor_table_name?: AnchorTableName",
- "type_info": {
- "Custom": {
- "name": "anchor_table_name",
- "kind": {
- "Enum": [
- "PdfPlaceableCommentAnchor",
- "PdfHighlightAnchor"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "8a4688fb6685c28f7fc9f48487b2fe1ce97205a1574fcedd7e87596c63d6dab0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json
deleted file mode 100644
index 238e214685..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id\n FROM\n comms_channels c\n WHERE\n c.id = ANY($1)\n AND c.channel_type = 'organization'\n AND c.org_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8b640c24a0a71ba83db60c1bd7a273aae232cbb8fab78cf029c66ec1e8576b61"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json
deleted file mode 100644
index 646f2cc8b7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id\n FROM\n \"Project\" p\n WHERE\n p.\"parentId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8b7993e0c49a8c1b1fb9449770a500362b483bcea23aec896bfaf9e67fd6dc95"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json
deleted file mode 100644
index 06dcafa73e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f.json
+++ /dev/null
@@ -1,129 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH UserHistories AS (\n SELECT\n h.\"itemId\" as item_id,\n h.\"itemType\" as item_type\n FROM \"UserHistory\" h\n WHERE h.\"userId\" = $1\n ), Combined AS (\n SELECT\n 'document' as \"item_type!\",\n d.id as \"id!\",\n CAST(COALESCE(di.id, db.id) as TEXT) as \"document_version_id\",\n d.owner as \"user_id!\",\n d.name as \"name!\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"fileType\" as \"file_type\",\n d.\"createdAt\"::timestamptz as \"created_at\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n d.\"projectId\" as \"project_id\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\",\n NULL as \"is_persistent\",\n di.sha as \"sha\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n CASE \n WHEN dt.sub_type = 'task' \n AND ep_status.values->'value' ? $2\n THEN true \n WHEN dt.sub_type = 'task'\n THEN false\n ELSE NULL \n END as \"is_completed\"\n FROM \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN entity_properties ep_status \n ON dt.sub_type = 'task'\n AND ep_status.entity_id = d.id \n AND ep_status.entity_type = 'TASK'\n AND ep_status.property_definition_id = $3\n INNER JOIN UserHistories uh ON uh.item_id = d.id AND uh.item_type = 'document'\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON true\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.\"documentId\",\n i.\"sha\",\n i.\"createdAt\",\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" DESC\n LIMIT 1\n ) di ON true\n UNION ALL\n SELECT\n 'chat' as \"item_type!\",\n c.id as \"id!\",\n NULL as \"document_version_id\",\n c.\"userId\" as \"user_id!\",\n c.name as \"name!\",\n NULL as \"branched_from_id\",\n NULL as \"branched_from_version_id\",\n NULL as \"document_family_id\",\n NULL as \"file_type\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"projectId\" as \"project_id\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.\"isPersistent\" as \"is_persistent\",\n NULL as \"sha\",\n NULL as \"sub_type\",\n NULL as \"is_completed\"\n FROM \"Chat\" c\n INNER JOIN UserHistories uh ON uh.item_id = c.id AND uh.item_type = 'chat'\n UNION ALL\n SELECT\n 'project' as \"item_type!\",\n p.id as \"id!\",\n NULL as \"document_version_id\",\n p.\"userId\" as \"user_id!\",\n p.name as \"name!\",\n NULL as \"branched_from_id\",\n NULL as \"branched_from_version_id\",\n NULL as \"document_family_id\",\n NULL as \"file_type\",\n p.\"createdAt\"::timestamptz as \"created_at\",\n p.\"updatedAt\"::timestamptz as \"updated_at\",\n p.\"parentId\" as \"project_id\",\n p.\"deletedAt\"::timestamptz as \"deleted_at\",\n NULL as \"is_persistent\",\n NULL as \"sha\",\n NULL as \"sub_type\",\n NULL as \"is_completed\"\n FROM \"Project\" p\n INNER JOIN UserHistories uh ON uh.item_id = p.id AND uh.item_type = 'project'\n )\n SELECT * FROM Combined\n ORDER BY updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "id!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_version_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "name!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 8,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 11,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 12,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 13,
- "name": "is_persistent",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 15,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 16,
- "name": "is_completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "8b7e81c3b4f31c86100de517e1978a1879039b7230aa83df18f583106c97a18f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json
deleted file mode 100644
index 20d8eb1130..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserDocumentViewLocation\" (user_id, document_id, location)\n VALUES ($1, $2, $3)\n ON CONFLICT (user_id, document_id) \n DO UPDATE SET location = EXCLUDED.location, updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "8bca1bc084d24daf8db19d8fc04301467f257fbc1bde2a018fe9efb1e6728cd3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
deleted file mode 100644
index d742c4ba27..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as share_permission_id\n FROM \"ChatPermission\"\n WHERE \"chatId\"=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "share_permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8cab0f54798d95a0549e022187648a7e8ad714623a8a2fe32c785ddb27937eae"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json
deleted file mode 100644
index 9623da14ab..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.\"id\" as \"user_id\",\n u.\"email\" as \"email\",\n u.\"stripeCustomerId\" as \"stripe_customer_id?\",\n u.\"name\" as name,\n u.\"tutorialComplete\" as tutorial_complete,\n u.\"group\" as \"group?\",\n u.\"hasChromeExt\" as has_chrome_ext,\n u.\"aiDataConsent\" as ai_data_consent,\n mu.has_trialed as has_trialed,\n u.macro_user_id as \"macro_user_id\"\n FROM \"User\" u\n JOIN \"macro_user\" mu ON u.macro_user_id = mu.id\n WHERE u.\"id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "stripe_customer_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "tutorial_complete",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "group?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 6,
- "name": "has_chrome_ext",
- "type_info": "Bool"
- },
- {
- "ordinal": 7,
- "name": "ai_data_consent",
- "type_info": "Bool"
- },
- {
- "ordinal": 8,
- "name": "has_trialed",
- "type_info": "Bool"
- },
- {
- "ordinal": 9,
- "name": "macro_user_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- true,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "8d25b1711e2c00fe92b1921e1c2ee17e311301f88b1550dbff4eb41b6e12db13"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json
deleted file mode 100644
index bda502d199..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM \"Chat\" c\n WHERE c.\"deletedAt\" IS NOT NULL AND c.\"deletedAt\" <= $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "8da326cb4addb18bca0e08c8728c86a1aa898bcf344fe913db7ee5c47dfde47c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json
deleted file mode 100644
index 829fc1e846..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n o.name as name,\n orp.retention_days as \"retention_days?\"\n FROM \"Organization\" o\n LEFT JOIN \"OrganizationRetentionPolicy\" orp ON o.id = orp.organization_id\n WHERE o.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "retention_days?",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "8e916c1355943f5a5d48d153bdf82e453c82b6a4c279973b2f7c0c631ffeff12"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json
deleted file mode 100644
index e33956234c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentBom\" (\"documentId\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $2)\n RETURNING id, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Timestamp"
- ]
- },
- "nullable": [
- false,
- null,
- null
- ]
- },
- "hash": "8ea09698a4333b2b2d97f16423008a172b5a030ede2b8528a103397a6dc4a42e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json b/rust/cloud-storage/macro_db_client/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json
deleted file mode 100644
index ebd0d84d18..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Comment\"\n SET \"deletedAt\" = NOW()\n WHERE \"threadId\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": []
- },
- "hash": "90d75cee091fe17362db20b9d855e6c8e8d204599eb1ee4d576b9a913aca0b41"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json b/rust/cloud-storage/macro_db_client/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json
deleted file mode 100644
index 0a2c18aa63..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT \"userId\" as user_id, \"deletedAt\" as deleted_at FROM \"Project\" WHERE id=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "deleted_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "915c50350c5513c6e1ba12eae31520046ac0e7e882d9c5ec76a3578ae4bc7d50"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json
deleted file mode 100644
index 81a258d19e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM \"OrganizationRetentionPolicy\"\n WHERE organization_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "9173d68221d7b73f7a1e3ec0632ab9ae6a9269c950b45897a5e64c14cd00e117"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json b/rust/cloud-storage/macro_db_client/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json
deleted file mode 100644
index da286915f0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentFamily\" (\"rootDocumentId\")\n VALUES ($1)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "91badd3aa8d3cc89c16ae8013b20eb521625862f180e9bc75096de5573436928"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json b/rust/cloud-storage/macro_db_client/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json
deleted file mode 100644
index 352ba12ced..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id,\n d.owner as owner,\n d.\"fileType\" as \"file_type!\",\n COALESCE(db.id, di.id, dipdf.id) as \"document_version_id!\",\n d.\"createdAt\"::timestamptz as \"created_at\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dst ON dst.document_id = d.id\n LEFT JOIN LATERAL (\n SELECT\n b.id\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" ASC\n LIMIT 1\n ) dipdf ON d.\"fileType\" = 'pdf'\n LEFT JOIN LATERAL (\n SELECT\n i.id\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" DESC\n LIMIT 1\n ) di ON d.\"fileType\" IS DISTINCT FROM 'docx' AND d.\"fileType\" IS DISTINCT FROM 'pdf'\n WHERE\n d.\"deletedAt\" IS NULL\n AND d.\"fileType\" IS NOT NULL\n AND ($3::text[] IS NULL OR d.\"fileType\" = ANY($3))\n AND ($4::text IS NULL OR dst.sub_type::text = $4)\n AND ($5::timestamptz IS NULL OR d.\"createdAt\" >= $5)\n AND ($6::timestamptz IS NULL OR d.\"createdAt\" < $6)\n ORDER BY d.\"createdAt\" ASC, d.id ASC\n LIMIT $1 OFFSET $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "file_type!",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8",
- "TextArray",
- "Text",
- "Timestamptz",
- "Timestamptz"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- null,
- null
- ]
- },
- "hash": "929e8e21a0b181340c4d74adbb26e14ec0c63b5f7da47d260f84eb0cfb15c575"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json b/rust/cloud-storage/macro_db_client/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json
deleted file mode 100644
index 10a2e0a032..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\" sp\n USING \"ChatPermission\" cp \n WHERE cp.\"sharePermissionId\" = sp.id\n AND cp.\"chatId\" = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "935031443597f0e3057ef41537c2baa9efd886c9ed75aabbf05e9cc43636d319"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json
deleted file mode 100644
index 949ae7ef8b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ProjectPermission\" (\"projectId\", \"sharePermissionId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "93edad49b012cc8119b969091ba78ee6d16600fb11697445001c661e49bf48f4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json b/rust/cloud-storage/macro_db_client/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json
deleted file mode 100644
index 8db9a4bf0c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Experiment\" (id)\n VALUES ($1)\n RETURNING id, active, \"started_at\"::timestamptz as started_at, \"ended_at\"::timestamptz as ended_at\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "active",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "started_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "ended_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- null
- ]
- },
- "hash": "95a8a0117d0bbc25adf4dc08cf0cec40eaa0faddb4490ad14ae9cc6c4d922256"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json
deleted file mode 100644
index e4c1284d23..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"document_email\" (document_id, email_attachment_id)\n VALUES ($1, $2) \n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "95dda7d94d399b451c4ba4a78ed6809895c255a103ca296451cbfe6c99833e8f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json b/rust/cloud-storage/macro_db_client/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json
deleted file mode 100644
index 061871fdc7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n email,\n team_id,\n team_role as \"team_role!: TeamRole\",\n invited_by,\n created_at as \"created_at!: chrono::DateTime<chrono::Utc>\",\n last_sent_at as \"last_sent_at!: chrono::DateTime<chrono::Utc>\"\n FROM team_invite\n WHERE email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "team_role!: TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "invited_by",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "last_sent_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "95de69ef467e5821f5d4f5b632a04a344fa87a00986709ff1b6e04a222ce0795"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
deleted file mode 100644
index 678dc0399c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n WHERE ph.uuid = $1\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "red",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "green",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "blue",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "alpha",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "highlight_type",
- "type_info": "Int4"
- },
- {
- "ordinal": 10,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "page_viewport_width",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "page_viewport_height",
- "type_info": "Float8"
- },
- {
- "ordinal": 13,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 16,
- "name": "highlight_rects!: Vec<PdfHighlightRect>",
- "type_info": "RecordArray"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json
deleted file mode 100644
index 10a698064c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfHighlightAnchor\" (\n \"uuid\", \"documentId\", \"owner\", \"page\", \"red\", \"green\", \"blue\", \"alpha\", \n \"type\", \"text\", \"pageViewportWidth\", \"pageViewportHeight\", \n \"threadId\", \"createdAt\", \"updatedAt\"\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)\n RETURNING uuid\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Int4",
- "Int4",
- "Int4",
- "Int4",
- "Float8",
- "Int4",
- "Text",
- "Float8",
- "Float8",
- "Int8",
- "Timestamp",
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "96813c302ddd0c88c30ca845c668dcc47089bf02ae5dbf0f15eb0be64395d09f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json
deleted file mode 100644
index c170856c4b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Comment\" (\"threadId\", \"owner\", \"sender\", \"text\", \"createdAt\", \"updatedAt\", \"order\")\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Text",
- "Text",
- "Text",
- "Timestamp",
- "Timestamp",
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "96b75da06aef543dc7d626c98501bd176b609bdab2f96a13e2d035510a72eebb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json
deleted file mode 100644
index 4145c5fb82..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id,\n p.name,\n p.\"userId\" as user_id,\n p.\"parentId\" as parent_id,\n p.\"createdAt\"::timestamptz as created_at,\n p.\"updatedAt\"::timestamptz as updated_at,\n p.\"uploadRequestId\" as upload_request_id\n FROM \"Project\" p\n WHERE p.\"userId\" = $1 AND p.\"deletedAt\" IS NULL AND p.\"uploadPending\" = true AND p.\"parentId\" IS NULL\n ORDER BY p.\"updatedAt\" DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "upload_request_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null,
- null,
- true
- ]
- },
- "hash": "980f95d4b95f6a981b86bdbdda30b4b5ee7ee34505f206d0a6861cec41ef589a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json b/rust/cloud-storage/macro_db_client/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
deleted file mode 100644
index bad2cb0d0e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\" WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "989e8adb9e267d1400ad5cb3e0e4b3d4a434de5c66f3cbcadedc4c6f20769ade"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json
deleted file mode 100644
index a215c3bde7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM \"User\"\n WHERE \"macro_user_id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "9947668e4041d1e3297dce4942ca41a916397efdb2620e338a211f97751c0d89"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json
deleted file mode 100644
index 2b17a5a941..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET \"group\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Varchar",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "99c26d3fcc7cc1494cd3f8387e4f9fd70cd817602df9ad6d355b26e13b47553a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json b/rust/cloud-storage/macro_db_client/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json
deleted file mode 100644
index 6ce1b7af93..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"InstructionsDocuments\" WHERE \"userId\" = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "99f5d2da898d5e7f29f1966c51370af1692f03a0df09f0ee78a589158e8f51ee"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json
deleted file mode 100644
index 85472bb383..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT reference, \"documentId\"\n FROM \"DocumentTextParts\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "reference",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "documentId",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "9a85a116815c36f9cbde5a097e39e0547ed654489c726b44faf23524f148ec86"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json
deleted file mode 100644
index afc75443c3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentInstanceModificationData\" (\"documentInstanceId\", \"modificationData\")\n VALUES ($1, $2);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Jsonb"
- ]
- },
- "nullable": []
- },
- "hash": "9b83758d2e1a6855b03ceee2f0bebf87a5152702bb5b9ffb2b817ad93c0635ea"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json
deleted file mode 100644
index 50d679e8f6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Document\" SET \"projectId\"=$2 WHERE \"id\"=$1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "9bb89d78cff9b84ca91fa891dd3e61c04906fa841a9d21c29127d03797e98186"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json
deleted file mode 100644
index 4519ec280c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE macro_user\n SET has_trialed = $2\n WHERE email = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "9c81b4664d019cc6242259ff81d5abe2ad4c2f28d0f4cea773ef7b4267eb0e81"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json
deleted file mode 100644
index 2fd40ad53a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id as user_id,\n u.email as user_email,\n array_agg(DISTINCT rop.\"permissionId\") AS permissions\n FROM \"User\" u\n LEFT JOIN \"RolesOnUsers\" rou ON rou.\"userId\" = u.id\n LEFT JOIN \"Role\" r ON r.id = rou.\"roleId\"\n LEFT JOIN \"RolesOnPermissions\" rop ON rop.\"roleId\" = r.id\n WHERE u.\"organizationId\" = $1\n GROUP BY u.id\n LIMIT $2\n OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "permissions",
- "type_info": "TextArray"
- }
- ],
- "parameters": {
- "Left": [
- "Int4",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- null
- ]
- },
- "hash": "9cbb599d24ea1f22756926601cb3dc157a2a327ce9aea06a1a772c1741abcf9a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json
deleted file mode 100644
index 05f7b62da7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, owner FROM \"Document\" WHERE \"projectId\" = ANY($1) AND \"deletedAt\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "9d8ebf3f5901badeacb46837f0a2222f49274e9e72dbd25cf9c197b4f97654a5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json
deleted file mode 100644
index 0ddd9840fc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id\n FROM\n \"Chat\" c\n WHERE\n c.id = ANY($1)\n AND c.\"userId\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "9e0a5d81fc7d5897a95ede42af6d3495c14fbf4095333a1f5632f836b365065f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json b/rust/cloud-storage/macro_db_client/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json
deleted file mode 100644
index 2620ca0739..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT p.id\n FROM \"Project\" p\n WHERE p.\"deletedAt\" IS NOT NULL AND p.\"deletedAt\" <= $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "9f595d4ae9aa9111c316efa5d4be2b8e4a6cc69374b90600457a32b14a91ae61"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json
deleted file mode 100644
index bdff179616..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\" SET \"projectId\" = NULL WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "a0e0e46ab257c9dd4285a6494f7b9fcc32c2a19dd97678335c04dab4739024d4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json
deleted file mode 100644
index 11964cca0f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT\n d.\"documentId\",\n LENGTH(REGEXP_REPLACE(d.\"content\", '\\s', '', 'g')) AS content_length\n FROM\n \"DocumentText\" d\n WHERE\n d.\"documentId\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "documentId",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "content_length",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- null
- ]
- },
- "hash": "a13fae598b8b785a7f516d7d4fdf91510017a27cd442f5693c5777ddc64d1c9b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json
deleted file mode 100644
index a20997623f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Project\" SET \"deletedAt\" = $2 WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "a1bf47e0cd99428ebbd99069e9ed4fdcdb3aaeb946ea3e5ca94dc58050ca7d97"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json
deleted file mode 100644
index 1699281ff6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChannelSharePermission\" (\"share_permission_id\", \"channel_id\", \"access_level\")\n SELECT $1, channel_id, access_level::\"AccessLevel\"\n FROM UNNEST($2::text[], $3::text[]) AS t(channel_id, access_level)\n ON CONFLICT (\"share_permission_id\", \"channel_id\") \n DO UPDATE SET \"access_level\" = EXCLUDED.\"access_level\"\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "a2079ac110ef2d83a92a7c759540c373e29c8ff79ed52417fdeeb4de8fe00782"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json
deleted file mode 100644
index d46f0a6f31..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfPlaceableCommentAnchor\" (\"uuid\", \"documentId\", \"owner\", \"page\", \"originalPage\", \"originalIndex\", \"shouldLockOnSave\", \"xPct\", \"yPct\", \"widthPct\", \"heightPct\", \"rotation\", \"threadId\", \"wasEdited\", \"wasDeleted\", \"allowableEdits\")\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)\n RETURNING uuid\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Int4",
- "Int4",
- "Int4",
- "Bool",
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Int8",
- "Bool",
- "Bool",
- "Jsonb"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "a27ad96e62764cad74a23addabe461a1b8aa81a865bf1af5434d5469efa44f76"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json
deleted file mode 100644
index fe2c31babd..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n macro_user_id\n FROM\n in_progress_user_link\n WHERE\n id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "macro_user_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "a299a66e2c0a88c6d2d9a131611789a544d3b7e5710bbc19254fdff129624b87"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json
deleted file mode 100644
index bec5852ddc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ExperimentLog\" (experiment_id, user_id, \"group\")\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "a4e8e05298b394cc80ac1f866854a945a8d67e1d18153d4f0128108ce65212f4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json
deleted file mode 100644
index a01572c827..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id,\n sp.\"isPublic\" as is_public,\n sp.\"publicAccessLevel\" as \"public_access_level?\",\n m.\"user_id\" as owner,\n COALESCE(\n json_agg(json_build_object(\n 'channel_id', csp.\"channel_id\",\n 'access_level', csp.\"access_level\"\n )) FILTER (WHERE csp.\"channel_id\" IS NOT NULL),\n '[]'\n ) as \"channel_share_permissions?\"\n FROM\n \"MacroPromptPermission\" mpp\n JOIN \"SharePermission\" sp ON mpp.\"share_permission_id\" = sp.id\n JOIN \"MacroPrompt\" m ON mpp.\"macro_prompt_id\" = m.id\n LEFT JOIN \"ChannelSharePermission\" csp ON csp.\"share_permission_id\" = sp.id\n WHERE\n mpp.\"macro_prompt_id\" = $1\n GROUP BY\n sp.id, m.\"user_id\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "is_public",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "public_access_level?",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "channel_share_permissions?",
- "type_info": "Json"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null
- ]
- },
- "hash": "a5801ca350ee73d531d912e4dcc1935265af572afbbf60702a4521e4c19b8468"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json
deleted file mode 100644
index 53ea78a4fc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Experiment\" WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "a63428b959703fdc38fa28667db9b2268827d7ce92ca55d21b38ba2a7a8b3c1c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json
deleted file mode 100644
index 5c3bd4dd8b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n description \n FROM \"Permission\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "description",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "a68a6810f0b80a1ade36fc644c6f44fb02848a8f4200a900679efb26e1d0cb70"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json
deleted file mode 100644
index c4418378e0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"User\" u\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": []
- },
- "nullable": [
- null
- ]
- },
- "hash": "a7355d80810653b6b813ebd3c132579b6ba0f419f72b68d08cc2183e9d0d6341"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json
deleted file mode 100644
index 69534d565a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, document_id, location\n FROM \"UserDocumentViewLocation\"\n WHERE user_id = $1 AND document_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "location",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "a96916366e8c54b1ba978b2fa7cc54b2e1681ebbcbd9bb030768983d6ce966b6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json
deleted file mode 100644
index 3027e28949..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id\n FROM\n \"DocumentPermission\" dp\n JOIN \"SharePermission\" sp ON dp.\"sharePermissionId\" = sp.id\n WHERE\n dp.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "a97451b5645b8265597f438d8fc78e9b0e2f2228c5d6a7453122eb59fa90f64a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json
deleted file mode 100644
index 0fd2576284..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"chat_id\",\n m.id as \"message_id\",\n c.\"userId\" as \"user_id\",\n c.\"createdAt\" as \"created_at\",\n c.\"updatedAt\" as \"updated_at\"\n FROM\n \"ChatMessage\" m\n JOIN\n \"Chat\" c on c.\"id\" = m.\"chatId\"\n WHERE\n c.\"userId\" = ANY($1) AND c.\"deletedAt\" IS NULL\n ORDER BY\n m.\"createdAt\" DESC\n LIMIT $2\n OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "message_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "a9822aca7429a3fd0c2ab83450b7e23bac9bcae5ebd973db3ef6016100721bb7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json
deleted file mode 100644
index 6c1bc17b21..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Project\" SET \"parentId\" = NULL WHERE \"id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "a991a3a468c02f27709b7a45f27518c828b88bc4ca913019d9d4802395e7a22a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json b/rust/cloud-storage/macro_db_client/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json
deleted file mode 100644
index 824f91dced..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.\"id\" as id\n FROM \"Project\" p\n INNER JOIN \"UserHistory\" uh ON uh.\"itemId\" = p.\"id\" AND uh.\"itemType\" = 'project'\n INNER JOIN \"User\" u ON u.id = uh.\"userId\"\n WHERE p.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "aac44fedc7a698d155114e4b84cf3cf60de7edc46f5bd7d943873cf2809ade77"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json
deleted file mode 100644
index 89579ab1a1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"macro_user_email_verification\" SET \"macro_user_id\" = $1 WHERE \"macro_user_id\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "ab1cdc9cf83712efd50e720fd9835fdfe36277075384044c8f7f3e8ce810c236"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json
deleted file mode 100644
index d365439d22..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT macro_user_id, profile_picture as \"profile_picture!\", profile_picture_hash FROM macro_user_info\n WHERE macro_user_id = ANY($1) and profile_picture IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_user_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "profile_picture!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "profile_picture_hash",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- true,
- true
- ]
- },
- "hash": "ab5316751a9b8b8f14e8319811749dfa6bc98f42ecb46ee9d3c20ca2daf43e44"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
deleted file mode 100644
index 19f6ad325a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"entity_access\"\n WHERE \"entity_id\" = $1 AND \"entity_type\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ac52ec341d9ff2b334df144dfcba1195b845609b557d278290359a0e6170c10d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json
deleted file mode 100644
index 77bae849be..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n COUNT(id) as count\n FROM\n in_progress_user_link\n WHERE\n macro_user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "ad0e23af0a67a769bf40b3ab388c21c001e01d1691861d8b9df950b03bdb2f4b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json
deleted file mode 100644
index 98d3bf1b47..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Document\" \n WHERE id = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "ade8f82fdb3feffe37acb0e67a7e39aac513e2b7ae7c7aabaa9ac59f270dbffc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json b/rust/cloud-storage/macro_db_client/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json
deleted file mode 100644
index 8777fe8d9b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id,\n u.\"organizationId\" as organization_id\n FROM\n \"User\" u\n WHERE\n u.email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "af5a4cf73fd08698bfe9a04e6bb4441ac2b9c20b0697d52467e0a12c17f8e473"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json
deleted file mode 100644
index ee71889852..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO macro_user_info (macro_user_id, first_name, last_name)\n VALUES ($1, $2, $3)\n ON CONFLICT (macro_user_id)\n DO UPDATE SET \n first_name = COALESCE(EXCLUDED.first_name, macro_user_info.first_name),\n last_name = COALESCE(EXCLUDED.last_name, macro_user_info.last_name)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b00d96876f6101270b5de19e4cfa219f542dd6c24ecf785b30ef8749c0443373"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json
deleted file mode 100644
index 396c983fd4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id,\n c.name,\n c.model,\n c.\"tokenCount\" as \"token_count\",\n c.\"userId\" as \"user_id\",\n c.\"createdAt\"::timestamptz as \"created_at\",\n c.\"updatedAt\"::timestamptz as \"updated_at\",\n c.\"deletedAt\"::timestamptz as \"deleted_at\",\n c.\"projectId\" as \"project_id\",\n c.\"isPersistent\" as \"is_persistent\"\n FROM \"Chat\" c\n WHERE c.\"userId\" = $1 AND c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "model",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "token_count",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "is_persistent",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "b1512adda253fc7e653344f6a679a4c78af368aa2134b235f8e1f046daa197bc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json
deleted file mode 100644
index b722895ef4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\"\n SET \"updatedAt\" = NOW()\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b1766b649fb0b0307cb41db8adbfd996ffa1262e0a6ba8a8e1c58414759a1fec"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
deleted file mode 100644
index 8844ec6411..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id \n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n AND c.id = ANY($2::uuid[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b288dfc8e7703bdfb49bc1066c290743da8653dc50e3d388697e429308afeafa"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json
deleted file mode 100644
index d4fe58887c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserHistory\" WHERE \"itemId\" = ANY($1) AND \"itemType\" = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b29f648b6a5be28708366ba264bab55518d34313519a62edf4174269606b1b1c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json
deleted file mode 100644
index 5564261909..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id,\n u.\"stripeCustomerId\" as \"stripe_customer_id\"\n FROM \"User\" u\n WHERE u.\"macro_user_id\" IS NULL\n AND u.id > $1\n ORDER BY u.id ASC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "stripe_customer_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "b3d2194b79197b2d5e02ee8b7c243b70c598adf488d805325475770ae3b7c51e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json
deleted file mode 100644
index a93030266b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Thread\" t\n SET \"updatedAt\" = NOW()\n WHERE t.\"documentId\" = $1 AND t.\"deletedAt\" IS NULL AND t.id = $2\n RETURNING\n t.id as thread_id, \n t.resolved, \n t.\"documentId\" as document_id, \n t.\"createdAt\"::timestamptz as created_at, \n t.\"updatedAt\"::timestamptz as updated_at, \n t.\"deletedAt\"::timestamptz as deleted_at, \n t.metadata, \n t.owner\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 7,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "b42c868de92630b2d5ee37fc64299df3d949da660e009f35c480ba9fb19c9e07"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json
deleted file mode 100644
index f902aa8188..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id, \n owner, \n text as content, \n \"createdAt\" as created_at, \n \"updatedAt\" as updated_at,\n \"order\"\n FROM \"Comment\" \n WHERE \"threadId\" = $1\n ORDER BY \"order\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- true
- ]
- },
- "hash": "b55c3a778e4ed824b71b4e26b20ebf12413a8a0bf8fee05fa130afb72c55ee41"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json
deleted file mode 100644
index f7f36883d1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.id\n FROM\n \"Chat\" c\n WHERE\n c.id = ANY($1)\n AND c.\"projectId\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b62a8743ac8151822dcb51e80c61f9c9496412cf76d6fb5158fdc5510f59464d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json
deleted file mode 100644
index 2a3e8026a3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChatPermission\" (\"chatId\", \"sharePermissionId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b662ef77f95aaa2a86030fbed4f11de74d311cc1a6096e49372e6cc18581b523"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json
deleted file mode 100644
index 3b75a10e75..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT b.id as \"id?\"\n FROM \"DocumentBom\" b\n WHERE b.\"documentId\" = $1\n ORDER BY b.\"createdAt\" DESC\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id?",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b69f3eab9c2048f5fe6bb31bf4c47f85169af66827f2b09287099c14a1a6e0db"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json
deleted file mode 100644
index 6cf702fd3f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, NOW(), NOW())\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = NOW();\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b805dc1d8b2143dbf9adc0e5478b204219a94105e0ba590db0a97f2c384a4192"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json
deleted file mode 100644
index db9e518ea9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n t.id as thread_id, \n t.resolved, \n t.\"documentId\" as document_id, \n t.\"createdAt\"::timestamptz as created_at, \n t.\"updatedAt\"::timestamptz as updated_at, \n t.\"deletedAt\"::timestamptz as deleted_at, \n t.metadata, \n t.owner\n FROM \"Thread\" t\n WHERE t.\"documentId\" = $1 AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "resolved",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 7,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- null,
- null,
- true,
- false
- ]
- },
- "hash": "b8342cf8ccfe95aad527ddf5cc49aef347e35bb2b023a820d85a2e85caaf7b61"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json
deleted file mode 100644
index 40570f2367..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\"\n FROM \"User\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b85f38b29d0f452ddb8d83e3c57c25b4d5733d4bc21770570cdc8412d47ffe65"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json
deleted file mode 100644
index b938c355ee..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"sharePermissionId\" as share_permission_id\n FROM \"DocumentPermission\"\n WHERE \"documentId\"=$1",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "share_permission_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b8b631cf3afd7c73b5645635212bb851ba19858a47a17b0ffcbe4f15cd177cb4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json b/rust/cloud-storage/macro_db_client/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json
deleted file mode 100644
index 1037b40923..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.name,\n c.\"userId\" as user_id\n FROM\n \"Chat\" c\n WHERE\n c.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "b905b3cbb97bbfc8262ffb91023db7f703b0994d6d519fbab0fdb67ea2df5877"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json
deleted file mode 100644
index ae26eaad0e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT name FROM \"Project\" WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "bb6de5a7f1c778acc5c27a0080037992ac2805137ee19f9385894688e6b8a62c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json
deleted file mode 100644
index db2ad0be84..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM \"User\"\n WHERE email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "bc4d60efeffa6cba398a37db8ff7204bcffd809e425e9236b897b5efa9c7eebc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json b/rust/cloud-storage/macro_db_client/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json
deleted file mode 100644
index 54a8ba7d73..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Experiment\" SET active = true AND started_at = NOW() WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "be483cff20705eb58c47cd4de412aea80ce9a658dfe055f146a38ed9e64effaf"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json b/rust/cloud-storage/macro_db_client/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json
deleted file mode 100644
index 1119ce64a1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"ChannelSharePermission\"\n WHERE \"share_permission_id\" = $1\n AND \"channel_id\" = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "be5dc669b45165beefffe0645813f38c805d6f49150d66c8a7325c524bebc854"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json
deleted file mode 100644
index fdce5f7ae8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"macro_user_email_verification\" (\"macro_user_id\", \"email\", \"is_verified\")\n VALUES ($1, $2, $3)\n ON CONFLICT (\"email\") DO UPDATE SET \"macro_user_id\" = $1, \"is_verified\" = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "bec08349f3e01393e7e83846f1ca4077390d22923bff328a9d8a24275832a57d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json
deleted file mode 100644
index 9eaff6b6b7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Chat\"\n WHERE id = ANY($1)",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "bf1d580e15f077862173d3efc800666d9fc7e79b8fa8619ba43bd1315c506e0b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json
deleted file mode 100644
index 03df2b01f3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n m.id \n FROM \n \"ChatMessage\" m\n JOIN \n \"Chat\" c on c.\"id\" = m.\"chatId\"\n WHERE\n \"userId\" = $1\n AND\n m.\"updatedAt\" <= $2\n AND \n m.\"updatedAt\" >= $3\n AND \n \"role\" = 'user'\n \n ORDER BY \n m.\"updatedAt\" DESC\n LIMIT \n $4\n OFFSET $5\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Timestamp",
- "Timestamp",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "c07f82d525eeaafefce4b65769b2c750743ed9c04ca6ea8a5fd1a6d3a5fe2d17"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json
deleted file mode 100644
index 31d66f5bc3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.content as \"content\",\n c.name as \"name\",\n m.role as \"role\"\n FROM\n \"ChatMessage\" m\n JOIN\n \"Chat\" c on c.\"id\" = m.\"chatId\"\n WHERE\n m.id = $1 AND m.\"chatId\" = $2 AND c.\"deletedAt\" IS NULL AND c.\"isPersistent\" = false\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "content",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "role",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "c09f00249c17f61948c81a3e7b679b3d1f9ac387ba98d351ff4e99995e3e783f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json
deleted file mode 100644
index 658c35ffa3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id,\n p.name,\n p.\"userId\" as user_id, -- createor of the project\n p.\"parentId\" as parent_id,\n p.\"createdAt\"::timestamptz as created_at,\n p.\"updatedAt\"::timestamptz as updated_at,\n p.\"deletedAt\"::timestamptz as deleted_at\n FROM \"UserHistory\" up\n INNER JOIN \"Project\" p ON up.\"itemId\" = p.id AND up.\"itemType\" = 'project'\n WHERE up.\"userId\" = $1 AND p.\"deletedAt\" IS NULL AND p.\"uploadPending\" = false\n ORDER BY p.\"updatedAt\" DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null,
- null,
- null
- ]
- },
- "hash": "c0b0f58e6b2129250821f51fcb1ebe9d876c2e251f04f0aa9b1c0942d73a4e0d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json
deleted file mode 100644
index be9247eda4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT\n \"tokenCount\" as token_count\n FROM\n \"DocumentText\"\n WHERE\n \"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "token_count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "c17d5fb574b826a4615cd339d550302bcd20260c4d2d82e49167e5c7c7e77958"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json
deleted file mode 100644
index f81d0eeecc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.name,\n d.owner\n FROM\n \"Document\" d\n WHERE\n d.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "c18576c18caa0b7e23198ee55981cb8d7b9859dfe4272a92cbb29a4b64a1d695"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json
deleted file mode 100644
index 8d3fe9e37e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Document\" d\n WHERE owner = $1 AND d.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "c1bc29d0f7278ed6a027978d51a6e15d8be6d62ead3408dc6641866a9230935d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json
deleted file mode 100644
index c8aed48f72..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id as comment_id\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n WHERE t.id = $1 AND c.\"deletedAt\" IS NULL\n ORDER BY c.\"order\", c.\"createdAt\" ASC\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "comment_id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "c2a48995144a813f912bbba9c9f5b91e1b413978e8262f7db56a6a27fa5ceaf0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json
deleted file mode 100644
index 0596339115..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"item_id!\",\n c.\"createdAt\" as \"created_at!\",\n c.\"updatedAt\" as \"updated_at!\",\n c.\"deletedAt\" as \"deleted_at?\",\n uh.\"updatedAt\" as \"viewed_at?\",\n c.\"projectId\" as \"project_id?\",\n c.\"userId\" as \"user_id\",\n c.\"name\"\n FROM\n \"Chat\" c\n LEFT JOIN\n \"UserHistory\" uh ON uh.\"itemId\" = c.\"id\"\n AND uh.\"userId\" = $1\n AND uh.\"itemType\" = 'chat'\n WHERE\n c.\"id\" = ANY($2)\n ORDER BY\n c.\"updatedAt\" DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "created_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 2,
- "name": "updated_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 3,
- "name": "deleted_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "viewed_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- true,
- false,
- false
- ]
- },
- "hash": "c2f19d911d10a576d01505d6da90f66fad4698c52efa69d3b4a03324c09b87a7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json
deleted file mode 100644
index 736ecd78b6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, \"organizationId\" as \"organization_id?\"\n FROM \"User\"\n WHERE \"macro_user_id\" = $1\n AND email = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "organization_id?",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "c3f9152d242ae679d87961e306f319ac0035e078be790795eed823a95095c7cc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json
deleted file mode 100644
index 69b4971298..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Comment\" AS c \n (\"threadId\", \"owner\", \"text\", \"metadata\")\n VALUES ($1, $2, $3, $4)\n RETURNING\n c.id as comment_id, \n c.\"threadId\" as thread_id, \n c.owner, \n c.sender, \n c.text, \n c.metadata, \n c.\"createdAt\"::timestamptz as created_at, \n c.\"updatedAt\"::timestamptz as updated_at, \n c.\"deletedAt\"::timestamptz as deleted_at, \n c.order\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "comment_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "sender",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Text",
- "Text",
- "Jsonb"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- true,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "c415f922985187174693b51466423fa1d2ed8c301776a9778c4947a9d84590e1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json
deleted file mode 100644
index 8b087037ad..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.\"documentId\" as \"document_id\",\n d.content as \"content\",\n d.\"tokenCount\" as \"token_count\"\n FROM\n \"DocumentText\" d\n WHERE\n d.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "content",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "token_count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "c5b5b22cfde385f2d03eebbf25a1f08e02d42d09810994f84a250e2f43cc5acf"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json
deleted file mode 100644
index 0b73aaff33..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO macro_user (id, username, stripe_customer_id, email)\n VALUES ($1, $2, $3, $4)\n ON CONFLICT (\"id\") DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "c621293c78043e724b4e44f821ef3cc9e4d74a48075918e24327172256a5ad15"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json
deleted file mode 100644
index 833a22de08..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT pp.\"sharePermissionId\" as id\n FROM \"ProjectPermission\" pp\n WHERE\n pp.\"projectId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "c6a0afdba2b194e96e3b51935deeeca109ccd45ecae97f97cb61bd9fdd7c470a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json
deleted file mode 100644
index fe3708f959..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Chat\"\n WHERE \"userId\" = $1 AND \"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "c792af1d4fe131a623828fcae21eba7b17a7ee70d1ff44892c747061478cee89"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
deleted file mode 100644
index b67166da2e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
+++ /dev/null
@@ -1,112 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n pa.uuid, \n pa.\"documentId\" as document_id, \n pa.owner, \n pa.\"threadId\" as thread_id, \n pa.page, \n pa.\"originalPage\" as original_page, \n pa.\"originalIndex\" as original_index, \n pa.\"xPct\" as x_pct, \n pa.\"yPct\" as y_pct, \n pa.\"widthPct\" as width_pct, \n pa.\"heightPct\" as height_pct,\n pa.rotation, \n pa.\"allowableEdits\" as allowable_edits,\n pa.\"wasEdited\" as was_edited,\n pa.\"wasDeleted\" as was_deleted,\n pa.\"shouldLockOnSave\" as should_lock_on_save\n FROM \"PdfPlaceableCommentAnchor\" pa\n JOIN \"Thread\" t ON pa.\"threadId\" = t.id\n WHERE pa.\"documentId\" = $1\n AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "original_page",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "original_index",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "x_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 8,
- "name": "y_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "width_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 10,
- "name": "height_pct",
- "type_info": "Float8"
- },
- {
- "ordinal": 11,
- "name": "rotation",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "allowable_edits",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 13,
- "name": "was_edited",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "was_deleted",
- "type_info": "Bool"
- },
- {
- "ordinal": 15,
- "name": "should_lock_on_save",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json
deleted file mode 100644
index 31ebb1fc30..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\nDELETE FROM \"PdfHighlightAnchor\" WHERE \"documentId\" = $1;\n",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "c8dac77aedb5609a57ce5ee03d97f7e3c28fa0e94f2563e99d82f306cf6530e5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json
deleted file mode 100644
index 29b18e9923..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Thread\"\n SET \"deletedAt\" = NOW()\n WHERE id = $1 and \"deletedAt\" IS NULL\n RETURNING \"deletedAt\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "deletedAt",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "c922ac06eee1109006d3bf676ab8b8341b10cfee0b725409138cfdde038712aa"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json b/rust/cloud-storage/macro_db_client/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json
deleted file mode 100644
index 4c2fb23429..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70.json
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner as \"owner\",\n d.name as \"document_name\",\n COALESCE(di.id, db.id) as \"document_version_id!\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"createdAt\"::timestamptz as \"created_at\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n d.\"fileType\" as \"file_type\",\n db.bom_parts as \"document_bom?\",\n di.modification_data as \"modification_data?\",\n d.\"projectId\" as \"project_id?\",\n p.name as \"project_name?\",\n di.sha as \"sha?\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n d.\"deletedAt\"::timestamptz as deleted_at\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.sha,\n i.\"createdAt\",\n (\n SELECT\n imod.\"modificationData\"\n FROM\n \"DocumentInstanceModificationData\" imod\n WHERE\n imod.\"documentInstanceId\" = i.id\n ) as modification_data,\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n AND\n i.id = $2\n ) di ON true\n LEFT JOIN LATERAL (\n SELECT\n b.id,\n (\n SELECT\n json_agg(\n json_build_object(\n 'id', bp.id,\n 'sha', bp.sha,\n 'path', bp.path\n )\n )\n FROM\n \"BomPart\" bp\n WHERE\n bp.\"documentBomId\" = b.id\n ) as bom_parts\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n AND\n b.id = $2\n ) db ON d.\"fileType\" = 'docx'\n LEFT JOIN LATERAL (\n SELECT\n p.name\n FROM \"Project\" p\n WHERE p.id = d.\"projectId\"\n ) p ON d.\"projectId\" IS NOT NULL\n WHERE\n d.id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "document_bom?",
- "type_info": "Json"
- },
- {
- "ordinal": 11,
- "name": "modification_data?",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 12,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 13,
- "name": "project_name?",
- "type_info": "Text"
- },
- {
- "ordinal": 14,
- "name": "sha?",
- "type_info": "Text"
- },
- {
- "ordinal": 15,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 16,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- true,
- true,
- true,
- null,
- null,
- true,
- null,
- null,
- true,
- false,
- false,
- false,
- null
- ]
- },
- "hash": "c9fce1ac31e4e4f9992809c650e85fe45f4dc1e66d4b5a846c734b308c74fa70"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json
deleted file mode 100644
index 6daf9e6fe2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChatAttachment\" (\"attachmentType\", \"attachmentId\", \"chatId\")\n VALUES ($1, $2, $3)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "cad30765c51a8985f2d1235bcefaea7994099835b4b10ad06d9bb36f18e594da"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json
deleted file mode 100644
index 6213530d30..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.\"content\"\n FROM \"DocumentProcessResult\" d\n JOIN \"JobToDocumentProcessResult\" j ON d.id = j.\"documentProcessResultId\"\n WHERE j.\"jobId\" = $1 AND d.\"documentId\" = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "content",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "cb37182733a71e6939495eb29d0ab6544c02094129fc9c7e921dd5280d78047a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json
deleted file mode 100644
index 81608c6bd3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Comment\"\n SET \"deletedAt\" = NOW()\n WHERE \"id\" = $1 AND \"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": []
- },
- "hash": "cc388518e9c137d9c849d408300cd2d4687d41e8fd09e04edf0f4861d48a3e62"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json
deleted file mode 100644
index 6c7c3948d2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517.json
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner as \"owner\",\n COALESCE(db.id, di.id) as \"document_version_id!\",\n d.name as \"document_name\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"createdAt\"::timestamptz as \"created_at\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n d.\"fileType\" as \"file_type\",\n db.bom_parts as \"document_bom?\",\n di.modification_data as \"modification_data?\",\n d.\"projectId\" as \"project_id\",\n p.name as \"project_name?\",\n di.sha as \"sha?\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.sha,\n i.\"createdAt\",\n (\n SELECT\n imod.\"modificationData\"\n FROM\n \"DocumentInstanceModificationData\" imod\n WHERE\n imod.\"documentInstanceId\" = i.id\n ) as modification_data,\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"createdAt\" DESC\n LIMIT 1\n ) di ON true\n LEFT JOIN LATERAL (\n SELECT\n b.id,\n (\n SELECT\n json_agg(\n json_build_object(\n 'id', bp.id,\n 'sha', bp.sha,\n 'path', bp.path\n )\n )\n FROM\n \"BomPart\" bp\n WHERE\n bp.\"documentBomId\" = b.id\n ) as bom_parts\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n LEFT JOIN LATERAL (\n SELECT\n p.name\n FROM \"Project\" p\n WHERE p.id = d.\"projectId\"\n ) p ON d.\"projectId\" IS NOT NULL\n WHERE\n d.id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 3,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "document_bom?",
- "type_info": "Json"
- },
- {
- "ordinal": 11,
- "name": "modification_data?",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 12,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 13,
- "name": "project_name?",
- "type_info": "Text"
- },
- {
- "ordinal": 14,
- "name": "sha?",
- "type_info": "Text"
- },
- {
- "ordinal": 15,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 16,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- false,
- true,
- true,
- true,
- null,
- null,
- true,
- null,
- null,
- true,
- false,
- false,
- false,
- null
- ]
- },
- "hash": "cc55e105bd5f6916a779d57ed7e4379c7fdaca83a33355842cf8b0b29d25a517"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json
deleted file mode 100644
index 5ac7889fce..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n phr.top,\n phr.left,\n phr.width,\n phr.height\n FROM \"PdfHighlightRect\" phr \n WHERE phr.\"pdfHighlightAnchorId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "top",
- "type_info": "Float8"
- },
- {
- "ordinal": 1,
- "name": "left",
- "type_info": "Float8"
- },
- {
- "ordinal": 2,
- "name": "width",
- "type_info": "Float8"
- },
- {
- "ordinal": 3,
- "name": "height",
- "type_info": "Float8"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false
- ]
- },
- "hash": "cc7926b302ce23fa4e727b6986ec14253589d794894668f4eaf078ec8a5d4ca8"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json
deleted file mode 100644
index 488a2cccd5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentInstance\" (\"documentId\", \"sha\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, $3)\n RETURNING id, sha, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Timestamp"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- null
- ]
- },
- "hash": "cd0fcad5f9177a5b57fa20cdf5996f4ea4bd008a19afc916a1147fca76b6d5b4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json
deleted file mode 100644
index 945fd5a6db..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH requested_ids AS (\n SELECT UNNEST($2::text[]) as id\n ),\n user_links AS (\n SELECT id as link_id\n FROM email_links\n WHERE macro_id = $1\n ),\n users_found AS (\n SELECT\n u.id as user_profile_id,\n mui.first_name as mui_first_name,\n mui.last_name as mui_last_name\n FROM requested_ids req\n JOIN \"User\" u ON u.id = req.id\n LEFT JOIN macro_user_info mui ON u.macro_user_id = mui.macro_user_id\n ),\n contacts_requested AS (\n SELECT\n req.id as user_profile_id,\n ec.name as contact_name\n FROM requested_ids req\n CROSS JOIN user_links li\n JOIN email_contacts ec\n ON ec.link_id = li.link_id\n AND ec.email_address = REPLACE(req.id, 'macro|', '')\n AND ec.name IS NOT NULL\n )\n SELECT DISTINCT ON (user_profile_id)\n user_profile_id as \"user_profile_id!\",\n CASE\n -- If Macro has either first or last name (non-\"N/A\"), use Macro for BOTH fields.\n WHEN NULLIF(mui_first_name, 'N/A') IS NOT NULL\n OR NULLIF(mui_last_name, 'N/A') IS NOT NULL\n THEN NULLIF(mui_first_name, 'N/A')\n -- Otherwise fall back to email contact name parsing.\n ELSE SPLIT_PART(contact_name, ' ', 1)\n END as \"first_name\",\n CASE\n -- If Macro has either first or last name (non-\"N/A\"), use Macro for BOTH fields.\n WHEN NULLIF(mui_first_name, 'N/A') IS NOT NULL\n OR NULLIF(mui_last_name, 'N/A') IS NOT NULL\n THEN NULLIF(mui_last_name, 'N/A')\n -- Otherwise fall back to email contact name parsing.\n ELSE CASE\n WHEN POSITION(' ' IN contact_name) > 0\n THEN NULLIF(TRIM(SUBSTRING(contact_name FROM POSITION(' ' IN contact_name) + 1)), '')\n ELSE NULL\n END\n END as \"last_name\"\n FROM (\n -- Users in User table with contact fallback (in case user hasn't set name in Macro)\n SELECT\n uf.user_profile_id,\n uf.mui_first_name,\n uf.mui_last_name,\n cr.contact_name\n FROM users_found uf\n LEFT JOIN contacts_requested cr ON cr.user_profile_id = uf.user_profile_id\n\n UNION ALL\n\n -- People only in email_contacts (haven't joined Macro yet)\n SELECT\n cr.user_profile_id,\n NULL::text as mui_first_name,\n NULL::text as mui_last_name,\n cr.contact_name\n FROM contacts_requested cr\n WHERE NOT EXISTS (\n SELECT 1\n FROM users_found uf\n WHERE uf.user_profile_id = cr.user_profile_id\n )\n ) combined\n ORDER BY user_profile_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_profile_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "first_name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "last_name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- null,
- null,
- null
- ]
- },
- "hash": "cd2334cf312dee1e9b230cce0d7b26999ba3ac23f89c8882c144d4c9a657e235"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json
deleted file mode 100644
index a140edbf63..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT pg_try_advisory_xact_lock($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "pg_try_advisory_xact_lock",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "cd39c593bdca8f628570365a8aa6787d34173da3b114c61b2cddc69b7d197819"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json
deleted file mode 100644
index fbeee80ef8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfHighlightRect\" (\n \"top\", \"left\", \"width\", \"height\", \"pdfHighlightAnchorId\"\n )\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Float8",
- "Float8",
- "Float8",
- "Float8",
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "cd3ae40ade95369aeeffcd17cd99301e0c36f4d600917c7573137e15688b1f68"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json
deleted file mode 100644
index e7498491d6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n bp.sha\n FROM \"BomPart\" bp\n WHERE bp.\"documentBomId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sha",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "cd98a8eb1ebdeb28951774b9daf0a9f05967d0adb106e93608b3b5a64adae02a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json
deleted file mode 100644
index eaf11d058d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Comment\" c\n SET \"text\" = $1, \"metadata\" = $2, \"updatedAt\" = NOW()\n WHERE \"id\" = $3 AND \"deletedAt\" IS NULL\n RETURNING \n c.id as comment_id, \n c.\"threadId\" as thread_id, \n c.owner, \n c.sender, \n c.text, \n c.metadata, \n c.\"createdAt\"::timestamptz as created_at, \n c.\"updatedAt\"::timestamptz as updated_at, \n c.\"deletedAt\"::timestamptz as deleted_at, \n c.order\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "comment_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "sender",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "order",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Jsonb",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- true,
- null,
- null,
- null,
- true
- ]
- },
- "hash": "cef69d1963846d65ce695cbc2d5a97a325f4081b69a3b8a7d1a481ed69f86bf0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json
deleted file mode 100644
index c4c3783762..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Chat\" SET \"tokenCount\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int8",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "cf095b171e7a5b06335671a0ffe392c7e93978451b4ae208a23ab27c3b10c1b7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json
deleted file mode 100644
index ca358e80ad..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.name as \"name?\",\n c.owner_id\n FROM\n \"comms_channels\" c\n WHERE\n c.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 1,
- "name": "owner_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true,
- false
- ]
- },
- "hash": "cf1161cb3ef4f573dd8e15092ebedc6cfa7e0f8b9f8b3c3a698991d37860c76f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json
deleted file mode 100644
index e17bd1ee56..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id!\",\n d.name as \"document_name!\",\n d.\"fileType\" as file_type,\n d.owner as \"owner!\",\n d.\"updatedAt\"::timestamptz as \"updated_at\",\n dt.sub_type as \"sub_type?: DocumentSubType\",\n CASE \n WHEN dt.sub_type = 'task' \n AND ep_status.values->'value' ? $2\n THEN true \n WHEN dt.sub_type = 'task'\n THEN false\n ELSE NULL \n END as \"is_completed\"\n FROM \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN entity_properties ep_status \n ON dt.sub_type = 'task'\n AND ep_status.entity_id = d.id \n AND ep_status.entity_type = 'TASK'\n AND ep_status.property_definition_id = $3\n WHERE\n d.\"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "document_name!",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "owner!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- },
- {
- "ordinal": 6,
- "name": "is_completed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null,
- true,
- null
- ]
- },
- "hash": "cfbec090ff3b62415ec0c215aa52bdafe162fb8c8fd217a8fcaf613e39525b0f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json
deleted file mode 100644
index 50a8a3cc0d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id\n FROM\n \"ChatPermission\" cp\n JOIN \"SharePermission\" sp ON cp.\"sharePermissionId\" = sp.id\n WHERE\n cp.\"chatId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d0150fe28f8fe11bbc69c475a6fc3277a1ced2c563a2e2bc98a742ef71da40fc"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json
deleted file mode 100644
index 3c5e0b3b93..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"hasOnboardingDocuments\"::boolean\n FROM \"User\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "hasOnboardingDocuments",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d0de0e065ad2c62601b5d401357d295c602e8ea01dc164bd95c7ed30a7726a54"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json
deleted file mode 100644
index a6b6058037..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Chat\" (\"userId\", name, model, \"projectId\", \"isPersistent\")\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id, \"createdAt\"::timestamptz as created_at, \"updatedAt\"::timestamptz as updated_at;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text",
- "Bool"
- ]
- },
- "nullable": [
- false,
- null,
- null
- ]
- },
- "hash": "d0e25ec078af21bc5a7771937ed5bfc9d190e4154c906fae3e67846c308332dd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json
deleted file mode 100644
index de8322f023..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT content FROM \"DocumentText\" WHERE \"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "content",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d0e2ccb572c57cb856c6d68e739aa5cf85994ae8af80af65ade5f879f837cc6a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json
deleted file mode 100644
index 90383258c6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"MacroPrompt\" (user_id, title, prompt, icon, color, required_docs)\n VALUES ($1, $2, $3, $4, $5, $6)\n RETURNING id;\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Text",
- "Text",
- "Int4"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d0f5de1518cf48faa63380a71ff6633e40c9a0d9f8e87262e31fa218400752a7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json
deleted file mode 100644
index f864dfe1a1..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM\n in_progress_email_link\n WHERE\n created_at < $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Timestamp"
- ]
- },
- "nullable": []
- },
- "hash": "d138759f663ddea66b623d88820383631011b1c3cbd5d36e137dbd0c5442f456"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json
deleted file mode 100644
index a8872a64c6..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"OrganizationRetentionPolicy\" (organization_id, retention_days)\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Int4"
- ]
- },
- "nullable": []
- },
- "hash": "d162c039601a7fe5f829eeaedb6cd324c875cdc9e74287873ec41a9fd495e696"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json
deleted file mode 100644
index 12ed677b43..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChannelSharePermission\" (\"share_permission_id\", \"channel_id\", \"access_level\")\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- {
- "Custom": {
- "name": "\"AccessLevel\"",
- "kind": {
- "Enum": [
- "view",
- "comment",
- "edit",
- "owner"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "d1d1519e0bdb30ddcbaa6d602bc04617613bb21df0e7728150e74b4125d28a59"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json
deleted file mode 100644
index 6367646aaf..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT 1\n FROM \"Thread\" t\n WHERE t.id = $1 AND t.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "?column?",
- "type_info": "Int4"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "d31d574569460a9137ba589cfb552f811f014cd6ef1d0b3f9bea3074a478f785"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json
deleted file mode 100644
index 092343da7f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id,\n p.\"userId\" as user_id,\n p.\"name\" as name,\n p.\"parentId\" as parent_id,\n p.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM \"Project\" p\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null
- ]
- },
- "hash": "d4fc8cb85acc88cc8c342220506921a23d5de6a44ed9e4af285f49f4e44d174f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json
deleted file mode 100644
index b44ec41281..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.name\n FROM\n \"Chat\" c\n WHERE\n c.id = $1 AND c.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d504950303eab672518c9c99ee3df3044ca299f2a677c812b11592fc9b2fe6cd"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json
deleted file mode 100644
index df9d45c1ad..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"InstructionsDocuments\" (\"documentId\", \"userId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "d5c0095efa9c8162d511f1f9b1b2d44bfd717c8761fcb3c8561cd6c292b1eea4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json
deleted file mode 100644
index bbc3e3d461..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"is_verified\"\n FROM \"macro_user_email_verification\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "is_verified",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d5fbd2557b6759572b20117681fac9c4d0b723c7a7abfa0fd92ae362ea32b88f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json
deleted file mode 100644
index de1b867bcf..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n email,\n team_id,\n team_role as \"team_role!: TeamRole\",\n invited_by,\n created_at as \"created_at!: chrono::DateTime<chrono::Utc>\",\n last_sent_at as \"last_sent_at!: chrono::DateTime<chrono::Utc>\"\n FROM team_invite\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "team_role!: TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- },
- {
- "ordinal": 4,
- "name": "invited_by",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "last_sent_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "d6b6e32ff0004295738c15f2cf449cf2edec9087e56452c7078c497fcbb90422"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json
deleted file mode 100644
index c6522e433f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n \"threadId\" as thread_id,\n \"sharePermissionId\" as share_permission_id,\n \"userId\" as user_id,\n \"projectId\" as project_id\n FROM \"EmailThreadPermission\"\n WHERE \"threadId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "share_permission_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "project_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true
- ]
- },
- "hash": "d6e62d780e55c6597e725a12a3785ba2c222905943458d205112e1e064a0bcc9"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json
deleted file mode 100644
index fb99ecd6dc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"allowListOnly\" as allow_list_only\n FROM \"Organization\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "allow_list_only",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "d792ba8c4730364e650045395d110e6acda592d3e27ecac39f93370bacccd7a7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json
deleted file mode 100644
index 819e90ee19..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\"\n FROM \"User\"\n WHERE \"id\" = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "d7c799b9e8432474ef422195e5e17f6cd611c9845f2830ab6ded46a4d640d362"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json
deleted file mode 100644
index a51efcbe83..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"ExperimentLog\"\n SET completed = true\n WHERE user_id = $1 AND experiment_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "d81549c7156fb08cde5260f6196eb6a80bb82c9640845a835c6d32eea7e6dcad"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json
deleted file mode 100644
index 1e2772ce54..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n name,\n owner_id\n FROM team\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "d85a61dc12daaeb6515164755b6b3b48822a19d72f4126e5be12bfa34aa22d0f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json
deleted file mode 100644
index 2347731904..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Pin\" (\"userId\", \"pinnedItemId\", \"pinnedItemType\", \"pinIndex\", \"createdAt\", \"updatedAt\")\n VALUES ($1, $2, $3, $4, NOW(), NOW())\n ON CONFLICT (\"userId\", \"pinnedItemId\", \"pinnedItemType\") DO UPDATE\n SET \"updatedAt\" = NOW();\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Int4"
- ]
- },
- "nullable": []
- },
- "hash": "d8bd24cd40bf28ba54dcc3a846931d4e00fbc7854d8f315b87f70dfdc44cb901"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json
deleted file mode 100644
index 0046c78ad0..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT COUNT(*) as \"count\"\n FROM \"Pin\"\n WHERE \"userId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "d970eeb5bb4aebc43674b6ad89fb00c04c18f94145346063a2b012c1104afa53"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json b/rust/cloud-storage/macro_db_client/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json
deleted file mode 100644
index 4b1f76efda..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO team_user (team_id, user_id, team_role)\n VALUES ($1, $2, $3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "d9b1cf736916e61816697e8fec5f803458408bf5d03a4bfe18351b0191a2f9e7"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json b/rust/cloud-storage/macro_db_client/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json
deleted file mode 100644
index 20e342f48c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"DocumentPermission\" (\"documentId\", \"sharePermissionId\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "da6586a61ad110e335c8b5a9c6c840cee4f1db25c7b9b4f5a1157ef655fe1575"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json b/rust/cloud-storage/macro_db_client/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json
deleted file mode 100644
index 3c55abed30..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO document_sub_type (document_id, sub_type) \n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "da98ce3985fbf5eaed5300bb94b3354c7b4bd005b9e5657a702bd39846ff0917"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json b/rust/cloud-storage/macro_db_client/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json
deleted file mode 100644
index c2eff32a5e..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"BlockedEmail\" (email)\n SELECT email FROM unnest($1::text[]) AS email\n ON CONFLICT (email) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "dae0d3d0cdf09f727a8b7c3ecc9f3ae64ea91023d356c47232736672cd1ba5ec"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json b/rust/cloud-storage/macro_db_client/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json
deleted file mode 100644
index cbd759ab9a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id, c.\"createdAt\" as created_at, c.\"updatedAt\" as updated_at\n FROM \"Comment\" c\n JOIN \"Thread\" t ON c.\"threadId\" = t.id\n WHERE t.\"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "dc09f10b914618441e30f7b1e12c60d684f1a422d5cd1de162b6f657c8ddfa98"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json b/rust/cloud-storage/macro_db_client/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json
deleted file mode 100644
index 5c5ea59ceb..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"ChatMessage\" (\"chatId\", \"createdAt\", \"updatedAt\", \"content\", \"role\", \"model\")\n SELECT $1, \"createdAt\", \"updatedAt\", \"content\", \"role\", \"model\"\n FROM \"ChatMessage\"\n WHERE \"chatId\"=$2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "dc8363500c41804887b52ba9bab5fe1745738d475322e937d4553623a8294dc6"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json b/rust/cloud-storage/macro_db_client/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json
deleted file mode 100644
index d798a0af26..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Document\"\n SET \"deletedAt\" = NULL\n WHERE id = $1\n RETURNING owner as owner\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "de8dbe51fdbaeeb8ac8c8af8627c6838a4054a719ac6b54f6f7acb53a9353a3a"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json b/rust/cloud-storage/macro_db_client/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json
deleted file mode 100644
index 9f8f5e53d4..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Project\" SET \"deletedAt\" = NULL WHERE id = ANY($1);\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "df4f91b8a401ff941c7b57f910979e0ec39a507de612ff7887172062237f29ce"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json b/rust/cloud-storage/macro_db_client/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json
deleted file mode 100644
index 5608624d22..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n ca.id,\n ca.\"attachmentType\" as \"attachment_type: AttachmentType\",\n ca.\"attachmentId\" as \"attachment_id\",\n ca.\"chatId\" as \"chat_id\",\n ca.\"messageId\" as \"message_id\"\n FROM\n \"ChatAttachment\" ca\n WHERE\n ca.\"id\" = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "attachment_type: AttachmentType",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "message_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true
- ]
- },
- "hash": "df7d76d4a45e69846e1023646321e5e667acc5d95bb68f0e2e1d127cec0da0eb"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json
deleted file mode 100644
index e646e8765d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"Project\"\n SET \"uploadPending\" = false\n WHERE id = ANY($1)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "dfccb13f0d0abe2be31bb40067f2e4c29fe260e81d13c017b8bc4fae2b94703f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json
deleted file mode 100644
index 71ddec2104..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"fileType\" as \"file_type\",\n d.\"projectId\" as \"project_id\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM\n \"Document\" d\n WHERE\n d.id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 5,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- true,
- true,
- true,
- null
- ]
- },
- "hash": "e005d05a4d52c32e5e7a2b4b6cfda3b6809a01149579c45d3bcbf921e155dd25"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json
deleted file mode 100644
index 155a235c83..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"OrganizationDefaultSharePermission\"\n WHERE \"organization_id\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4"
- ]
- },
- "nullable": []
- },
- "hash": "e11187ed1bd1944597258bbdefa8ec23de215edc1de1d020d418e2e89b17424e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json
deleted file mode 100644
index 15dd620397..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n email,\n \"organizationId\" as \"organization_id?\",\n macro_user_id as \"macro_user_id?\"\n FROM \"User\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "email",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "organization_id?",
- "type_info": "Int4"
- },
- {
- "ordinal": 3,
- "name": "macro_user_id?",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false
- ]
- },
- "hash": "e17eb13c62a13ec9d5355a6f632b414792f6d87963138b7969b6a8f179e508a1"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json
deleted file mode 100644
index 5b3d78de3a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"macro_user\" (\"id\", \"username\", \"stripe_customer_id\", \"email\", \"has_trialed\")\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Text",
- "Bool"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "e1f9c3663588dbc2e59aa729190c477b8ae7e89dde630c125c1364ee211c454b"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json
deleted file mode 100644
index 5d79450654..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET \"hasOnboardingDocuments\" = $1\n WHERE id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "e263f6ef753e7f2c2debc7f63c8658670ee906d1814f037f1c20e3569ecfd270"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json
deleted file mode 100644
index 057a1963fc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Pin\" WHERE \"pinnedItemId\" = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "e33fa0c9cec501d3d4a9c98d1c80717756b395ffb54f82d50691520065eb6036"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json
deleted file mode 100644
index 99718ab20d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n u.id as user_profile_id, \n mui.first_name, \n mui.last_name\n FROM macro_user_info mui\n JOIN \"User\" u ON mui.macro_user_id = u.macro_user_id\n WHERE u.id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_profile_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "first_name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "last_name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- true,
- true
- ]
- },
- "hash": "e4bd72019eaf76d30d907a1fb8b3811f1d4c96c7049794890f30b1e831381010"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json
deleted file mode 100644
index 4c4e54cbd8..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"OrganizationInvitation\" (\"organization_id\", \"email\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "e52ca994b4107db7e434502dc1f370666bf2efa34290ee8f1a6c89330b29522e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json
deleted file mode 100644
index d8c8d36d0b..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n SELECT * FROM UNNEST($1::text[], $2::text[], $3::text[], $4::timestamptz[], $5::timestamptz[])\n ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n SET \"updatedAt\" = EXCLUDED.\"updatedAt\"\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray",
- "TextArray",
- "TimestamptzArray",
- "TimestamptzArray"
- ]
- },
- "nullable": []
- },
- "hash": "e54d13b2e6e397c0f1fbc83ea7dea28d255c30f360759bf57b7d0b31294c785f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json
deleted file mode 100644
index 5c9497b6af..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id\n FROM\n \"Document\" d\n WHERE\n d.id = ANY($1)\n AND d.\"owner\" = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "e694a7861bbcbc4102b2335afa8d201e0b71608319da53a9551cf3c83fbf1487"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
deleted file mode 100644
index c73a91ea4d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
+++ /dev/null
@@ -1,119 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH updated AS (\n UPDATE \"PdfHighlightAnchor\"\n SET \"threadId\" = $1\n WHERE uuid = $2\n RETURNING uuid, \"threadId\"\n )\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n updated.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM updated \n JOIN \"PdfHighlightAnchor\" ph ON updated.uuid = ph.uuid\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n GROUP BY ph.uuid, ph.owner, updated.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "thread_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "page",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "red",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "green",
- "type_info": "Int4"
- },
- {
- "ordinal": 7,
- "name": "blue",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "alpha",
- "type_info": "Float8"
- },
- {
- "ordinal": 9,
- "name": "highlight_type",
- "type_info": "Int4"
- },
- {
- "ordinal": 10,
- "name": "text",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "page_viewport_width",
- "type_info": "Float8"
- },
- {
- "ordinal": 12,
- "name": "page_viewport_height",
- "type_info": "Float8"
- },
- {
- "ordinal": 13,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 16,
- "name": "highlight_rects!: Vec<PdfHighlightRect>",
- "type_info": "RecordArray"
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null
- ]
- },
- "hash": "e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json
deleted file mode 100644
index 7b0116f0b2..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Project\" \n WHERE id = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "e8633dfaa07a4420442beb666625c7af4b6e8db0ea192d08aa971b20ebe69eb4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json
deleted file mode 100644
index 30b3a2d488..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n industry,\n title,\n \"firstName\" as first_name,\n \"lastName\" as last_name,\n \"profilePicture\" as profile_picture,\n \"profilePictureHash\" as profile_picture_hash\n FROM \"User\"\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "industry",
- "type_info": "Varchar"
- },
- {
- "ordinal": 1,
- "name": "title",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "first_name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "last_name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "profile_picture",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "profile_picture_hash",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true,
- true,
- true,
- true,
- true,
- true
- ]
- },
- "hash": "e89719852a1e6166dbcebe6190a79a830b0e0a98c92967f15c2a89b96871bbd4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json
deleted file mode 100644
index 9481eb3d97..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n di.id, \n d.uploaded\n FROM \"DocumentInstance\" di\n JOIN \"Document\" d ON di.\"documentId\" = d.id\n WHERE di.\"documentId\" = $1\n ORDER BY di.\"createdAt\" DESC\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "uploaded",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "ebb5fcd2dc97d8c2f1ea17927db39e0fd0419594e068b4d43eaaddca5e46f6b0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json
deleted file mode 100644
index 9c0571f3ec..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\"\n WHERE id IN (\n SELECT \"sharePermissionId\"\n FROM \"ProjectPermission\"\n WHERE \"projectId\" = ANY($1)\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "ecccdffab47c2a500f64baee0488afa6d87a4f32cb7c852318de504fa6d20b2f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json
deleted file mode 100644
index 19bb7c918a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"jobId\" as job_id, \"jobType\" as job_type FROM \"UploadJob\" WHERE \"documentId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "job_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "job_type",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "ed817d80e4f40fc10b32eb79e9fba0a0dd46cc9b31980dba5a76dfb4540d6cd3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json
deleted file mode 100644
index e5fa9a9e1a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfHighlightAnchor\" (\n \"documentId\", \"owner\", \"page\", \"red\", \"green\", \"blue\", \"alpha\", \n \"type\", \"text\", \"pageViewportWidth\", \"pageViewportHeight\", \n \"threadId\", \"createdAt\", \"updatedAt\"\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)\n RETURNING uuid\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "uuid",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Int4",
- "Int4",
- "Int4",
- "Int4",
- "Float8",
- "Int4",
- "Text",
- "Float8",
- "Float8",
- "Int8",
- "Timestamp",
- "Timestamp"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ed8fbc6860616548698e4134d1f4404c910188de8a57899dd6cadea50025b4bf"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json
deleted file mode 100644
index 27c368ad1f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Chat\" \n WHERE id = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "eec442b23af1030f7f161a304469b00fa7c2c474980361fbc5d98839dc40773f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json
deleted file mode 100644
index 7044065d55..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id FROM \"Project\" WHERE \"userId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ef427e34315b97ade2b38516eb477af19b53c578df995fbbcef546aaba55176d"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json b/rust/cloud-storage/macro_db_client/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json
deleted file mode 100644
index 848a23ff17..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"UserDocumentViewLocation\"\n WHERE user_id = $1 AND document_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "efc06b0244fc40aa8fbf3721d76886d7b8909f3150f779b64a56a456027c0d26"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json
deleted file mode 100644
index 2a382f9975..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM macro_user\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "f1346adcde7c4a86859ebc936ac4c8ae492febce05ce35df78bced81c1070f01"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json
deleted file mode 100644
index b9194ba12f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"macro_user_id\" as \"macro_user_id!\", \"id\"\n FROM \"User\"\n WHERE \"email\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_user_id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "f2c563a84ecf4b347e19eed2770c9593db5cf4bba24c234e9179f741a920d4d5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json
deleted file mode 100644
index 4142c2a694..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE \"User\"\n SET macro_user_id = $2\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "f3c74398e522602a72523704c37edbd92ada98d1c5b00dd4052db371fd191598"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json
deleted file mode 100644
index 317349cb37..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT team_role as \"team_role!: TeamRole\"\n FROM team_user\n WHERE team_id = $1 AND user_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "team_role!: TeamRole",
- "type_info": {
- "Custom": {
- "name": "team_role",
- "kind": {
- "Enum": [
- "member",
- "admin",
- "owner"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "f563f31f8ae4a8aa31c1753bcdb3e57e37cf0accc398cde5340483b03f749893"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json
deleted file mode 100644
index 54d8bc401c..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n c.\"id\" as \"item_id!\",\n c.\"owner\" as \"owner\",\n c.\"fileType\" as \"file_type\",\n c.\"name\" as \"file_name\",\n c.\"createdAt\" as \"created_at!\",\n c.\"updatedAt\" as \"updated_at!\",\n c.\"deletedAt\" as \"deleted_at?\",\n uh.\"updatedAt\" as \"viewed_at?\",\n c.\"projectId\" as \"project_id?\",\n dt.sub_type as \"sub_type?: DocumentSubType\"\n FROM\n \"Document\" c\n LEFT JOIN document_sub_type dt ON dt.document_id = c.id\n LEFT JOIN\n \"UserHistory\" uh ON uh.\"itemId\" = c.\"id\"\n AND uh.\"userId\" = $1\n AND uh.\"itemType\" = 'document'\n WHERE\n c.\"id\" = ANY($2)\n ORDER BY\n c.\"updatedAt\" DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "item_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "updated_at!",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "deleted_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 7,
- "name": "viewed_at?",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 8,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- false,
- false,
- true,
- false,
- true,
- false
- ]
- },
- "hash": "f61fae90a53682f217091f1ecbdaa60d2eb5b7b0ff90863b0d0dc288779a5f7f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json
deleted file mode 100644
index 0d013147f7..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n sp.id as id,\n sp.\"isPublic\" as is_public,\n sp.\"publicAccessLevel\" as \"public_access_level?\",\n p.\"userId\" as owner,\n COALESCE(\n json_agg(json_build_object(\n 'channel_id', csp.\"channel_id\",\n 'access_level', csp.\"access_level\"\n )) FILTER (WHERE csp.\"channel_id\" IS NOT NULL),\n '[]'\n ) as \"channel_share_permissions?\"\n FROM\n \"ProjectPermission\" pp\n JOIN \"SharePermission\" sp ON pp.\"sharePermissionId\" = sp.id\n JOIN \"Project\" p ON pp.\"projectId\" = p.id\n LEFT JOIN \"ChannelSharePermission\" csp ON csp.\"share_permission_id\" = sp.id\n WHERE\n pp.\"projectId\" = $1\n GROUP BY\n sp.id, p.\"userId\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "is_public",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "public_access_level?",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "channel_share_permissions?",
- "type_info": "Json"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- false,
- null
- ]
- },
- "hash": "f6c0addc618fb161405a1a989f2cacd0718c070eb2ee345d524abe7ba8b5b35e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json
deleted file mode 100644
index 6cdb842426..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"ChatPermission\"\n WHERE \"sharePermissionId\" = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "f77a2e12f69d9ca98e0ddf9bc9c10b9c54cb028c0f723b18c05231eafe5722af"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json
deleted file mode 100644
index 642afda53f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n ca.id,\n ca.\"chatId\" as \"chat_id\",\n ca.\"attachmentId\" as \"attachment_id\",\n ca.\"attachmentType\" as \"attachment_type: AttachmentType\",\n ca.\"messageId\" as \"message_id\"\n FROM\n \"ChatAttachment\" ca\n WHERE ca.\"chatId\" = $1\n ORDER BY ca.id ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "chat_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "attachment_type: AttachmentType",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "message_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- true
- ]
- },
- "hash": "f7d8f36ace58fb884736c3568cfb78ecce5d0bafb3be445dd141b2ca21865578"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json
deleted file mode 100644
index 31c8f80def..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"Thread\" (\"owner\", \"documentId\", \"createdAt\", \"updatedAt\", \"resolved\")\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Timestamp",
- "Timestamp",
- "Bool"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "f97467addd6684e98f641dabde769092e981121feea08d55de4cd41762f1fa1e"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json b/rust/cloud-storage/macro_db_client/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json
deleted file mode 100644
index 75e27686b5..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"messageId\" as \"message_id\",\n \"url\",\n \"title\",\n \"description\",\n \"favicon_url\",\n \"image_url\"\n FROM \"WebAnnotations\" wa\n INNER JOIN \"ChatMessage\" cm ON cm.id = wa.\"messageId\"\n WHERE cm.\"chatId\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "url",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "title",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "description",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "favicon_url",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "image_url",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true,
- false,
- false,
- true,
- true,
- true
- ]
- },
- "hash": "f9f7a7f7bf87cffd10d68d891874a0a270de769b42747942090f55ac86c78574"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json
deleted file mode 100644
index b22ba93a90..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"OrganizationEmailMatches\" (\"organizationId\", \"email\")\n VALUES ($1, $2)\n ON CONFLICT (\"email\") DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Int4",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "fa1bd94a6aca08ddbb856f2c42327e8397a42089600571a38981bfa11b7796d4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json
deleted file mode 100644
index afb3979b4f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM \"DocumentInstance\" WHERE id = $2 and \"documentId\" = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Int8"
- ]
- },
- "nullable": []
- },
- "hash": "fa24799c4889a98bfb62a1987d1fe93975169bfeb0cdbecb04dac3f31288570f"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json
deleted file mode 100644
index 1f209218c3..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT sub_type as \"sub_type: DocumentSubType\" FROM document_sub_type WHERE document_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "sub_type: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "fab6b92c5781874261b3c3ca673d0bf0ad8155e25cf77aa57dafdcb133f30509"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json
deleted file mode 100644
index fcef9aca61..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"SharePermission\" sp\n USING \"ProjectPermission\" pp \n WHERE pp.\"sharePermissionId\" = sp.id\n AND pp.\"projectId\" = ANY($1)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "fc0a71fe3ce6804e5f2b80e78c108aba496434dc78909951f7c1bd86f9c56ec0"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json
deleted file mode 100644
index decc4d20e9..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n (SELECT COUNT(*) FROM \"DocumentInstance\" WHERE \"documentId\" = $1) +\n (SELECT COUNT(*) FROM \"DocumentBom\" WHERE \"documentId\" = $1) AS total_count\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "total_count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "fc8a4a51536361c5b5c0a742ba268fff2908654b8bb53923320e7fabe244b467"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json
deleted file mode 100644
index fbcc874a9d..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \"id\", \"userId\" as user_id FROM \"Chat\" WHERE \"projectId\" = ANY($1) AND \"deletedAt\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "fc9cc90bb37368b293d46d43efd16c178a9865c5926e4195249eb22e2a4a91b3"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json
deleted file mode 100644
index cc4bb224fc..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"branchedFromId\" as \"branched_from_id\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n d.\"documentFamilyId\" as \"document_family_id\",\n d.\"fileType\" as \"file_type\",\n d.\"projectId\" as \"project_id\",\n d.\"deletedAt\"::timestamptz as \"deleted_at\"\n FROM\n \"Document\" d\n WHERE\n d.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "branched_from_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "branched_from_version_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 5,
- "name": "document_family_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- true,
- true,
- true,
- null
- ]
- },
- "hash": "fcb8fda242203a9ff6044c928c4edbcb50fd47035cee6880001fb874b67e9c73"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json
deleted file mode 100644
index 51893d429f..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5.json
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id as document_id,\n d.owner as owner,\n d.name as document_name,\n COALESCE(db.id, di.id) as \"document_version_id!\",\n d.\"branchedFromId\" as \"branched_from_id?\",\n d.\"branchedFromVersionId\" as \"branched_from_version_id?\",\n d.\"documentFamilyId\" as \"document_family_id?\",\n d.\"fileType\" as file_type,\n d.\"createdAt\"::timestamptz as created_at,\n d.\"updatedAt\"::timestamptz as updated_at,\n d.\"deletedAt\"::timestamptz as deleted_at,\n db.bom_parts as \"document_bom?\",\n di.modification_data as \"modification_data?\",\n d.\"projectId\" as \"project_id?\",\n p.name as \"project_name?\",\n di.sha as \"sha?\",\n dt.sub_type as \"sub_type?: DocumentSubType\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n LEFT JOIN LATERAL (\n SELECT\n b.id,\n (\n SELECT\n json_agg(\n json_build_object(\n 'id', bp.id,\n 'sha', bp.sha,\n 'path', bp.path\n )\n )\n FROM\n \"BomPart\" bp\n WHERE\n bp.\"documentBomId\" = b.id\n ) as bom_parts\n FROM\n \"DocumentBom\" b\n WHERE\n b.\"documentId\" = d.id\n ORDER BY\n b.\"createdAt\" DESC\n LIMIT 1\n ) db ON d.\"fileType\" = 'docx'\n LEFT JOIN LATERAL (\n SELECT\n i.id,\n i.\"documentId\",\n i.\"sha\",\n i.\"createdAt\",\n (\n SELECT\n imod.\"modificationData\"\n FROM\n \"DocumentInstanceModificationData\" imod\n WHERE\n imod.\"documentInstanceId\" = i.id\n ) as modification_data,\n i.\"updatedAt\"\n FROM\n \"DocumentInstance\" i\n WHERE\n i.\"documentId\" = d.id\n ORDER BY\n i.\"updatedAt\" DESC\n LIMIT 1\n ) di ON d.\"fileType\" IS DISTINCT FROM 'docx'\n LEFT JOIN \"Project\" p ON p.id = d.\"projectId\"\n WHERE\n d.\"deletedAt\" IS NULL\n ORDER BY d.\"createdAt\" DESC\n LIMIT $1 OFFSET $2\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "document_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "document_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "document_version_id!",
- "type_info": "Int8"
- },
- {
- "ordinal": 4,
- "name": "branched_from_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "branched_from_version_id?",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "document_family_id?",
- "type_info": "Int8"
- },
- {
- "ordinal": 7,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 11,
- "name": "document_bom?",
- "type_info": "Json"
- },
- {
- "ordinal": 12,
- "name": "modification_data?",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 13,
- "name": "project_id?",
- "type_info": "Text"
- },
- {
- "ordinal": 14,
- "name": "project_name?",
- "type_info": "Text"
- },
- {
- "ordinal": 15,
- "name": "sha?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "sub_type?: DocumentSubType",
- "type_info": {
- "Custom": {
- "name": "document_sub_type_value",
- "kind": {
- "Enum": [
- "task"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- null,
- true,
- true,
- true,
- true,
- null,
- null,
- null,
- null,
- null,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "fcd4b67db8a3a8de51b0bb55880c5934f900adbadcc5549165e709cb1cd345b5"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json
deleted file mode 100644
index 6819822606..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"entity_access\"\n WHERE (entity_id = ANY($1) AND entity_type = $2)\n OR granted_from_project_id = ANY($3)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Text",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "fd65e80e68a17871a3a3ef4bd1bab20faaf6ba24f55172486a74aaec3da480f4"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json
deleted file mode 100644
index caa1a7dfef..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"MacroPromptPermission\" (\"macro_prompt_id\", \"share_permission_id\")\n VALUES ($1, $2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "fe93b3b50a3a64b8b354903858cfef2cdff408625fa1a592977996a81e8b3f3c"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json
deleted file mode 100644
index 6c75d8252a..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n d.name \n FROM \"Document\" d\n WHERE d.\"id\" = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ff7d21bb92d1ed078738e8190acee79c3e0b64c8c4a507719aa78405325cad76"
-}
diff --git a/rust/cloud-storage/macro_db_client/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json b/rust/cloud-storage/macro_db_client/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json
deleted file mode 100644
index cc13e43e45..0000000000
--- a/rust/cloud-storage/macro_db_client/.sqlx/query-ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM \"Thread\" WHERE \"documentId\" = $1;\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "ffb324854a460dd540e7c0849f87741bc7947c8473dba0fb39c61ee8be80950c"
-}
diff --git a/rust/cloud-storage/macro_project_utils/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json b/rust/cloud-storage/macro_project_utils/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
deleted file mode 100644
index 98ceb2aeec..0000000000
--- a/rust/cloud-storage/macro_project_utils/.sqlx/query-28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "UPDATE \"Project\" SET \"updatedAt\" = NOW() WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "28c518d844cd4d843c097af1551f6f384a4763514d278b5444341390f58a8281"
-}
diff --git a/rust/cloud-storage/memory/.sqlx/query-2927c247896749abc3a07a94702655f1046994e3869605f098852ee2a2853c8c.json b/rust/cloud-storage/memory/.sqlx/query-2927c247896749abc3a07a94702655f1046994e3869605f098852ee2a2853c8c.json
deleted file mode 100644
index 588d28fa47..0000000000
--- a/rust/cloud-storage/memory/.sqlx/query-2927c247896749abc3a07a94702655f1046994e3869605f098852ee2a2853c8c.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE memory\n SET created_at = NOW() - INTERVAL '10 days',\n updated_at = NOW() - INTERVAL '10 days'\n WHERE user_id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "2927c247896749abc3a07a94702655f1046994e3869605f098852ee2a2853c8c"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json b/rust/cloud-storage/notification/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
deleted file mode 100644
index 4c5afc274a..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM notification_user_device_registration\n WHERE device_endpoint = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json b/rust/cloud-storage/notification/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
deleted file mode 100644
index 01cece9642..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM notification_user_device_registration\n WHERE device_token = $1 AND device_type = $2\n RETURNING device_endpoint\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "device_endpoint",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json b/rust/cloud-storage/notification/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
deleted file mode 100644
index b17b203167..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND n.event_item_id = ANY($2)\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($4::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($4, $5))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json b/rust/cloud-storage/notification/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
deleted file mode 100644
index e4a18ac5f0..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET done = $3\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json b/rust/cloud-storage/notification/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
deleted file mode 100644
index 6696253445..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS(\n SELECT 1 FROM notification_message_receipt\n WHERE user_id = $1\n AND notification_id = $2\n AND failed = false\n ) as \"exists!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "exists!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json b/rust/cloud-storage/notification/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
deleted file mode 100644
index c07ec0acbe..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification_type_preference (user_id, notification_event_type)\n VALUES ($1, $2)\n ON CONFLICT (user_id, notification_event_type) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json b/rust/cloud-storage/notification/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
deleted file mode 100644
index 3fdea7e232..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.notification_id = $2\n AND un.deleted_at IS NULL\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json b/rust/cloud-storage/notification/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
deleted file mode 100644
index 55fcda1121..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM user_notification\n WHERE user_id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json b/rust/cloud-storage/notification/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
deleted file mode 100644
index d0a749ebd2..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_mute_notification\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json b/rust/cloud-storage/notification/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
deleted file mode 100644
index d374c2f79f..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM user_notification_type_preference\n WHERE user_id = $1 AND notification_event_type = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json b/rust/cloud-storage/notification/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
deleted file mode 100644
index 65459bcefd..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM \"User\"\n WHERE email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json b/rust/cloud-storage/notification/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
deleted file mode 100644
index 34382e8725..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, apns_collapse_key as \"apns_collapse_key!: String\"\n FROM notification\n WHERE id = ANY($1) AND apns_collapse_key IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "apns_collapse_key!: String",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json b/rust/cloud-storage/notification/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
deleted file mode 100644
index a8e7326c35..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_notification_item_unsubscribe\n WHERE item_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json b/rust/cloud-storage/notification/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
deleted file mode 100644
index 9e6f7f8877..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT d.device_endpoint\n FROM notification_user_device_registration d\n WHERE d.device_token = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "device_endpoint",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json b/rust/cloud-storage/notification/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
deleted file mode 100644
index 721b0038f2..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, notification_event_type\n FROM user_notification_type_preference\n WHERE user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_event_type",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json b/rust/cloud-storage/notification/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
deleted file mode 100644
index a166680895..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification (id, notification_event_type, event_item_id, event_item_type, service_sender, metadata, sender_id, apns_collapse_key)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)\n ON CONFLICT (id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Text",
- "Text",
- "Jsonb",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json b/rust/cloud-storage/notification/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
deleted file mode 100644
index eab49b91f7..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET sent = true\n WHERE notification_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json b/rust/cloud-storage/notification/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
deleted file mode 100644
index a8520fdfd0..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification_message_receipt (message_id, user_id, notification_id)\n VALUES ($1, $2, $3)\n ON CONFLICT (message_id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json b/rust/cloud-storage/notification/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
deleted file mode 100644
index 4035617965..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET deleted_at = NOW()\n WHERE user_id = $1 AND notification_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json b/rust/cloud-storage/notification/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
deleted file mode 100644
index ad14cfedba..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, device_endpoint, device_type as \"device_type: DbDeviceType\"\n FROM notification_user_device_registration\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "device_endpoint",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "device_type: DbDeviceType",
- "type_info": {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json b/rust/cloud-storage/notification/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
deleted file mode 100644
index 7626c0a06b..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET seen_at = NOW()\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json b/rust/cloud-storage/notification/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
deleted file mode 100644
index e5d913399d..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification_user_device_registration (id, user_id, device_token, device_endpoint, device_type)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (device_endpoint) DO UPDATE SET user_id = $2, device_token = $3, device_type = $5, updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Text",
- {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json b/rust/cloud-storage/notification/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
deleted file mode 100644
index 1168d26a34..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE notification_message_receipt\n SET failed = true, failed_at = NOW()\n WHERE message_id = $1\n RETURNING user_id, notification_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json b/rust/cloud-storage/notification/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
deleted file mode 100644
index f3780614e0..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($3::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($3, $4))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json b/rust/cloud-storage/notification/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
deleted file mode 100644
index d197caf563..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_notification_type_preference\n WHERE notification_event_type = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json b/rust/cloud-storage/notification/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
deleted file mode 100644
index 1cbb49a96b..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification (notification_id, user_id)\n SELECT $1, user_id\n FROM UNNEST($2::text[]) as user_id\n RETURNING created_at::timestamptz as \"created_at!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "created_at!",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d"
-}
diff --git a/rust/cloud-storage/notification/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json b/rust/cloud-storage/notification/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
deleted file mode 100644
index 39180b3b0f..0000000000
--- a/rust/cloud-storage/notification/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET deleted_at = NOW()\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-218e37e12eb0d7f56bc9ba5627782e71f4fe01e3b5bb2d563b34901979995c23.json b/rust/cloud-storage/notification_db_client/.sqlx/query-218e37e12eb0d7f56bc9ba5627782e71f4fe01e3b5bb2d563b34901979995c23.json
deleted file mode 100644
index 2135b731ab..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-218e37e12eb0d7f56bc9ba5627782e71f4fe01e3b5bb2d563b34901979995c23.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT un.user_id, COUNT(*) as count\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = ANY($1)\n AND n.notification_event_type = $2\n AND n.event_item_id = $3\n AND n.event_item_type = $4\n GROUP BY un.user_id\n ORDER BY un.user_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "count",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Text",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- null
- ]
- },
- "hash": "218e37e12eb0d7f56bc9ba5627782e71f4fe01e3b5bb2d563b34901979995c23"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json b/rust/cloud-storage/notification_db_client/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
deleted file mode 100644
index e4a18ac5f0..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET done = $3\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-351653537c0ddfcbb030e0e1ef6514ae6006b5a4fdbe2d6803cb5aa94723ff82.json b/rust/cloud-storage/notification_db_client/.sqlx/query-351653537c0ddfcbb030e0e1ef6514ae6006b5a4fdbe2d6803cb5aa94723ff82.json
deleted file mode 100644
index 02b672ba8c..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-351653537c0ddfcbb030e0e1ef6514ae6006b5a4fdbe2d6803cb5aa94723ff82.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz,\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as updated_at,\n un.deleted_at::timestamptz,\n n.metadata as notification_metadata,\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND n.event_item_id = ANY($2)\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($4::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($4, $5))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "351653537c0ddfcbb030e0e1ef6514ae6006b5a4fdbe2d6803cb5aa94723ff82"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-3b9abfc8d69176441d4c08d812c474d988adbd0ea2ba750b7536c069d6296884.json b/rust/cloud-storage/notification_db_client/.sqlx/query-3b9abfc8d69176441d4c08d812c474d988adbd0ea2ba750b7536c069d6296884.json
deleted file mode 100644
index c60700a18d..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-3b9abfc8d69176441d4c08d812c474d988adbd0ea2ba750b7536c069d6296884.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz,\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as updated_at,\n un.deleted_at::timestamptz,\n n.metadata as notification_metadata,\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.notification_id = $2\n AND un.deleted_at IS NULL\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "3b9abfc8d69176441d4c08d812c474d988adbd0ea2ba750b7536c069d6296884"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-4949502ccbbb7db60f4d9872491d5c5d0feb6e76428e12407c7a3ec5ed0f1743.json b/rust/cloud-storage/notification_db_client/.sqlx/query-4949502ccbbb7db60f4d9872491d5c5d0feb6e76428e12407c7a3ec5ed0f1743.json
deleted file mode 100644
index be9734c451..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-4949502ccbbb7db60f4d9872491d5c5d0feb6e76428e12407c7a3ec5ed0f1743.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification (\"notification_id\", \"user_id\") \n SELECT $1, user_id\n FROM UNNEST($2::text[]) as user_id\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "4949502ccbbb7db60f4d9872491d5c5d0feb6e76428e12407c7a3ec5ed0f1743"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json b/rust/cloud-storage/notification_db_client/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
deleted file mode 100644
index d0a749ebd2..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_mute_notification\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json b/rust/cloud-storage/notification_db_client/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
deleted file mode 100644
index 34382e8725..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, apns_collapse_key as \"apns_collapse_key!: String\"\n FROM notification\n WHERE id = ANY($1) AND apns_collapse_key IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "apns_collapse_key!: String",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json b/rust/cloud-storage/notification_db_client/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
deleted file mode 100644
index a8e7326c35..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_notification_item_unsubscribe\n WHERE item_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json b/rust/cloud-storage/notification_db_client/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
deleted file mode 100644
index a166680895..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification (id, notification_event_type, event_item_id, event_item_type, service_sender, metadata, sender_id, apns_collapse_key)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)\n ON CONFLICT (id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Text",
- "Text",
- "Jsonb",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-7cd8368263b84e0dd25d0e7d1ae40b68d3cf69baaf036d2a17bf7d06176f8a53.json b/rust/cloud-storage/notification_db_client/.sqlx/query-7cd8368263b84e0dd25d0e7d1ae40b68d3cf69baaf036d2a17bf7d06176f8a53.json
deleted file mode 100644
index 215280eac8..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-7cd8368263b84e0dd25d0e7d1ae40b68d3cf69baaf036d2a17bf7d06176f8a53.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz,\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as updated_at,\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($3::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($3, $4))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "7cd8368263b84e0dd25d0e7d1ae40b68d3cf69baaf036d2a17bf7d06176f8a53"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-81f96534cd4a7b52d4ec2948dce8052076a25eea0af92eae1908e0e068af2116.json b/rust/cloud-storage/notification_db_client/.sqlx/query-81f96534cd4a7b52d4ec2948dce8052076a25eea0af92eae1908e0e068af2116.json
deleted file mode 100644
index 4cb16ae2df..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-81f96534cd4a7b52d4ec2948dce8052076a25eea0af92eae1908e0e068af2116.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification (notification_id, user_id)\n SELECT $1, user_id\n FROM UNNEST($2::text[]) as user_id\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "81f96534cd4a7b52d4ec2948dce8052076a25eea0af92eae1908e0e068af2116"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json b/rust/cloud-storage/notification_db_client/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
deleted file mode 100644
index eab49b91f7..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET sent = true\n WHERE notification_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8c8fe5c685fa49b163a0e58eadb037d24df27426f94e35b15c84841aae2c661e.json b/rust/cloud-storage/notification_db_client/.sqlx/query-8c8fe5c685fa49b163a0e58eadb037d24df27426f94e35b15c84841aae2c661e.json
deleted file mode 100644
index f7b49ac3b3..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-8c8fe5c685fa49b163a0e58eadb037d24df27426f94e35b15c84841aae2c661e.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n DISTINCT ON (un.user_id, n.event_item_id) un.user_id, n.event_item_id,\n n.created_at,\n n.event_item_type,\n n.id\n FROM user_notification un\n JOIN notification n ON un.notification_id = n.id\n WHERE un.sent = false AND un.done = false AND un.seen_at IS NULL AND n.notification_event_type = ANY($1)\n AND un.created_at > NOW() - ($4 * interval '1 hour')\n ORDER BY un.user_id, n.event_item_id, n.created_at DESC\n LIMIT $2\n OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "created_at",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Int8",
- "Int8",
- "Float8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "8c8fe5c685fa49b163a0e58eadb037d24df27426f94e35b15c84841aae2c661e"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-8ee1ed46995a46966f90c8fb0051e3f70826d1b3203603802d8bc24b97144290.json b/rust/cloud-storage/notification_db_client/.sqlx/query-8ee1ed46995a46966f90c8fb0051e3f70826d1b3203603802d8bc24b97144290.json
deleted file mode 100644
index e995710bfa..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-8ee1ed46995a46966f90c8fb0051e3f70826d1b3203603802d8bc24b97144290.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz,\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as updated_at,\n un.deleted_at::timestamptz,\n n.metadata as notification_metadata,\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($3::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($3, $4))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "8ee1ed46995a46966f90c8fb0051e3f70826d1b3203603802d8bc24b97144290"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json b/rust/cloud-storage/notification_db_client/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
deleted file mode 100644
index ad14cfedba..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, device_endpoint, device_type as \"device_type: DbDeviceType\"\n FROM notification_user_device_registration\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "device_endpoint",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "device_type: DbDeviceType",
- "type_info": {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json b/rust/cloud-storage/notification_db_client/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
deleted file mode 100644
index 7626c0a06b..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET seen_at = NOW()\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139"
-}
diff --git a/rust/cloud-storage/notification_db_client/.sqlx/query-eed2516873751635539d5054d2f0b97c9f465b4df144881a1557f72449afcc88.json b/rust/cloud-storage/notification_db_client/.sqlx/query-eed2516873751635539d5054d2f0b97c9f465b4df144881a1557f72449afcc88.json
deleted file mode 100644
index d6af5efde7..0000000000
--- a/rust/cloud-storage/notification_db_client/.sqlx/query-eed2516873751635539d5054d2f0b97c9f465b4df144881a1557f72449afcc88.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification (id, notification_event_type, event_item_id, event_item_type, service_sender, metadata, sender_id)\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING created_at::timestamptz\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Text",
- "Text",
- "Jsonb",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "eed2516873751635539d5054d2f0b97c9f465b4df144881a1557f72449afcc88"
-}
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json b/rust/cloud-storage/properties_db_client/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
deleted file mode 100644
index ea49b9c1cd..0000000000
--- a/rust/cloud-storage/properties_db_client/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n organization_id,\n user_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at,\n is_system\n FROM property_definitions\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89"
-}
diff --git a/rust/cloud-storage/properties_db_client/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json b/rust/cloud-storage/properties_db_client/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
deleted file mode 100644
index a33e79f60e..0000000000
--- a/rust/cloud-storage/properties_db_client/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_properties (id, entity_id, entity_type, property_definition_id, values)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (entity_id, entity_type, property_definition_id) \n DO UPDATE SET \n values = EXCLUDED.values,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- },
- "Uuid",
- "Jsonb"
- ]
- },
- "nullable": []
- },
- "hash": "7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json b/rust/cloud-storage/soup/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json
deleted file mode 100644
index d852429fbd..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n (\n SELECT EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m_imp.thread_id = t.id\n AND l.name = 'IMPORTANT'\n AND l.link_id = t.link_id\n )\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Find the latest starred timestamp for each thread, calculate the\n -- effective sort key, then sort and limit the results.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n lspt.latest_starred_ts AS created_at,\n lspt.latest_starred_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, lspt.latest_starred_ts)\n ELSE lspt.latest_starred_ts\n END AS effective_ts\n FROM (\n -- This sub-subquery efficiently finds the latest starred timestamp for every thread.\n SELECT m.thread_id, MAX(m.internal_date_ts) as latest_starred_ts\n FROM email_messages m\n WHERE m.link_id = $1 AND m.is_starred = TRUE\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.name = 'TRASH' AND l.link_id = $1\n )\n GROUP BY m.thread_id\n ) lspt\n JOIN email_threads t ON lspt.thread_id = t.id\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n (($3::timestamptz IS NULL) OR (\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, lspt.latest_starred_ts)\n ELSE lspt.latest_starred_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find the full details of its latest starred message.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name,\n m.is_draft\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND m.is_starred = TRUE\n AND m.is_draft = FALSE\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.name = 'TRASH' AND l.link_id = t.link_id\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- null,
- null,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "03313f689cbc216503f0372eca83b82f58a55d5c030892b6889eb77e76dbae2e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-03a323aefdba22727c6789b28d90d7200e795a4591812dab4c4e7718c5512055.json b/rust/cloud-storage/soup/.sqlx/query-03a323aefdba22727c6789b28d90d7200e795a4591812dab4c4e7718c5512055.json
deleted file mode 100644
index 83caec4173..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-03a323aefdba22727c6789b28d90d7200e795a4591812dab4c4e7718c5512055.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM email_threads t\n JOIN \"Project\" p ON t.project_id = p.id AND p.\"deletedAt\" IS NULL\n WHERE t.id = $1\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT DISTINCT user_id FROM \"UserItemAccess\"\n WHERE item_id IN (\n SELECT $2\n UNION\n SELECT project_id FROM project_hierarchy\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "03a323aefdba22727c6789b28d90d7200e795a4591812dab4c4e7718c5512055"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json b/rust/cloud-storage/soup/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
deleted file mode 100644
index 4c5afc274a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM notification_user_device_registration\n WHERE device_endpoint = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "06a72bfcfbcc5f5bbed6cd093436309607f9375d2ba7b151e9dc1a8493f88e44"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json b/rust/cloud-storage/soup/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json
deleted file mode 100644
index 34779cb42e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n d.id,\n d.name,\n d.owner,\n d.\"fileType\" as \"file_type\",\n d.\"projectId\" as \"project_id\",\n d.\"createdAt\"::timestamptz as \"created_at!\",\n d.\"updatedAt\"::timestamptz as \"updated_at!\"\n FROM\n \"Document\" d\n WHERE\n d.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "file_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- null,
- null
- ]
- },
- "hash": "0893292d05dc339bc516ddc4e2e27ee0f730dd38e1d82bd2a049d38cb7abb275"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json b/rust/cloud-storage/soup/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
deleted file mode 100644
index 99a3b6f452..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM (\n -- Direct user grants\n SELECT source_id as user_id FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'user'\n\n UNION ALL\n\n -- Channel Members\n SELECT cp.user_id FROM comms_channel_participants cp\n WHERE cp.left_at IS NULL AND cp.channel_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'channel'\n )\n\n UNION ALL\n\n -- Team Members\n SELECT tu.user_id FROM team_user tu\n WHERE tu.team_id IN (\n SELECT source_id::uuid FROM entity_access\n WHERE entity_id = $1 AND entity_type = $2 AND source_type = 'team'\n )\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "0c0d2d2d944ff26d1b60d890ffb5becd7ce6250a3becf484a65ecfa99a0c0d2d"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json b/rust/cloud-storage/soup/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json
deleted file mode 100644
index 625a77c4c3..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_threads\n SET project_id = $2, updated_at = NOW()\n WHERE id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "0e0422c73b3bdb5c60680cec7581ac905f34c70bd295694a120e8dd7891e3853"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json b/rust/cloud-storage/soup/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json
deleted file mode 100644
index cbf66c3866..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n u.id as user_profile_id,\n mui.first_name,\n mui.last_name\n FROM macro_user_info mui\n JOIN \"User\" u ON mui.macro_user_id = u.macro_user_id\n WHERE u.id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_profile_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "first_name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "last_name",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- true,
- true
- ]
- },
- "hash": "137986b2287f8a7e8d9023d6f9bfee888a6e18170f84df631df81e3e84158348"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json b/rust/cloud-storage/soup/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
deleted file mode 100644
index 08f519fb97..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_message_labels (message_id, label_id)\n SELECT\n unnested_message_id,\n l.id\n FROM\n UNNEST($1::uuid[]) AS t(unnested_message_id)\n CROSS JOIN\n email_labels l\n WHERE\n l.link_id = $2 AND l.provider_label_id = $3\n ON CONFLICT (message_id, label_id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "16fe6d8422135f9b01d5acb48576c9ebeea62fe8b80747ddcf9c5fdeee1a6c7e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json b/rust/cloud-storage/soup/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json
deleted file mode 100644
index 3a8125cf5d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n ea.message_id,\n ea.id,\n ea.provider_attachment_id,\n ea.filename,\n ea.mime_type,\n ea.size_bytes,\n eas.sfs_id as \"sfs_id?\",\n ea.content_id\n FROM email_attachments ea\n LEFT JOIN email_attachments_sfs eas ON ea.id = eas.attachment_id\n WHERE ea.message_id = ANY($1)\n ORDER BY ea.message_id, ea.filename NULLS LAST\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "filename",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "mime_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "size_bytes",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "sfs_id?",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "content_id",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- true,
- true,
- false,
- true
- ]
- },
- "hash": "183fbda8d590393f7f3faa763c2cb6344b42556f949b59a0f8f77a01ec8572c4"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json b/rust/cloud-storage/soup/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json
deleted file mode 100644
index 8257f56f38..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c.json
+++ /dev/null
@@ -1,184 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\nSELECT\n ep.id as entity_property_id,\n ep.entity_id,\n ep.entity_type as \"entity_type: EntityType\",\n ep.property_definition_id,\n ep.values as \"values: sqlx::types::JsonValue\",\n ep.created_at as entity_property_created_at,\n ep.updated_at as entity_property_updated_at,\n pd.organization_id as definition_organization_id,\n pd.user_id as definition_user_id,\n pd.display_name,\n pd.data_type as \"data_type: DataType\",\n pd.is_multi_select,\n pd.specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n pd.created_at as definition_created_at,\n pd.updated_at as definition_updated_at,\n pd.is_system as definition_is_system\nFROM entity_properties ep\nINNER JOIN property_definitions pd ON ep.property_definition_id = pd.id\nWHERE (ep.entity_id, ep.entity_type) IN (\n SELECT * FROM UNNEST($1::TEXT[], $2::property_entity_type[])\n)\n",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_property_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "entity_type: EntityType",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "property_definition_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "values: sqlx::types::JsonValue",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 5,
- "name": "entity_property_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "entity_property_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "definition_organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "definition_user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 11,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 13,
- "name": "definition_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "definition_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "definition_is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- {
- "Custom": {
- "name": "property_entity_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- }
- }
- }
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "1b324f7419bf6620c5eae611b237ee202fb2b3b011422dc27f351a2c3d10813c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json b/rust/cloud-storage/soup/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
deleted file mode 100644
index f97907a55c..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "1b7983a9a8a54322fd63d2bf169f27b45f853652a757123e3508017861b5c7c6"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json b/rust/cloud-storage/soup/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json
deleted file mode 100644
index cf7c2c61a1..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n link_id,\n provider_label_id,\n name,\n created_at,\n message_list_visibility as \"message_list_visibility: _\",\n label_list_visibility as \"label_list_visibility: _\",\n type as \"type_: _\"\n FROM email_labels\n WHERE link_id = $1\n ORDER BY name\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_label_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "message_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_message_list_visibility_enum",
- "kind": {
- "Enum": [
- "Show",
- "Hide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 6,
- "name": "label_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_label_list_visibility_enum",
- "kind": {
- "Enum": [
- "LabelShow",
- "LabelShowIfUnread",
- "LabelHide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "type_: _",
- "type_info": {
- "Custom": {
- "name": "email_label_type_enum",
- "kind": {
- "Enum": [
- "System",
- "User"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "21ac8784f90a5e311b658fe88195bdf9c83dfc84f0b5a8e8075a7153d7f41818"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json b/rust/cloud-storage/soup/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
deleted file mode 100644
index 01cece9642..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM notification_user_device_registration\n WHERE device_token = $1 AND device_type = $2\n RETURNING device_endpoint\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "device_endpoint",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "270cd8ae6b47508cb7e4e920bd76cb0f6177d685bddedb06f1892d0014af6f01"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json b/rust/cloud-storage/soup/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json
deleted file mode 100644
index 918f0d6d3d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT message_id, send_time\n FROM email_scheduled_messages\n WHERE message_id = ANY($1) AND sent = false\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "send_time",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "29496c090bdffe2b771ad704687525136fcd17a1d3e680142e5d0f9e253af578"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json b/rust/cloud-storage/soup/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json
deleted file mode 100644
index 54b0e1cd14..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n a.id,\n a.message_id,\n a.provider_attachment_id,\n a.filename,\n a.mime_type,\n a.size_bytes,\n a.content_id,\n a.created_at,\n m.thread_id\n FROM\n email_attachments a\n JOIN\n email_messages m ON a.message_id = m.id\n WHERE\n m.thread_id = ANY($1)\n ORDER BY\n a.created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "filename",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "mime_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "size_bytes",
- "type_info": "Int8"
- },
- {
- "ordinal": 6,
- "name": "content_id",
- "type_info": "Varchar"
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "thread_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- true,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "2c1ca56683bc4ff97f5b9768e6da72ee6558c2ea8bb9b58237370e3cb80d309c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json b/rust/cloud-storage/soup/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json
deleted file mode 100644
index 7c3172354d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_scheduled_messages\n WHERE link_id = $1 AND message_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "2e5e76597cf6fe734978fef0762c7c86aeba3b076e8684a85696045ed3a4636e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json b/rust/cloud-storage/soup/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
deleted file mode 100644
index b17b203167..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND n.event_item_id = ANY($2)\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($4::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($4, $5))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "317f05707fdc73269f3017a3bb96d55b7327338bf5e52dfaad106b4b492cbb8e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json b/rust/cloud-storage/soup/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
deleted file mode 100644
index e4a18ac5f0..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET done = $3\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "3293eab63193f1b3822a59e9a6a9621520f26e6ec8248abed103985281ef7ff1"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json b/rust/cloud-storage/soup/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
deleted file mode 100644
index 6696253445..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS(\n SELECT 1 FROM notification_message_receipt\n WHERE user_id = $1\n AND notification_id = $2\n AND failed = false\n ) as \"exists!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "exists!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "3357165799ff1f7bf1de3891174668e0ab16c64bd9dfc905213681e6021474fa"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json b/rust/cloud-storage/soup/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json
deleted file mode 100644
index f99ce906c2..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_contacts (id, link_id, email_address, name)\n SELECT * FROM unnest($1::uuid[], $2::uuid[], $3::text[], $4::text[])\n ON CONFLICT (link_id, email_address) DO NOTHING\n RETURNING id, email_address\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray",
- "UuidArray",
- "TextArray",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "359a16ea19cd02675cf7f6ffb815f76ad39c5aca7b6503ae8e43ebd1cc5d733f"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json b/rust/cloud-storage/soup/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json
deleted file mode 100644
index 0bc29e54eb..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525.json
+++ /dev/null
@@ -1,177 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\nSELECT\n ep.id as entity_property_id,\n ep.entity_id,\n ep.entity_type as \"entity_type: EntityType\",\n ep.property_definition_id,\n ep.values as \"values: sqlx::types::JsonValue\",\n ep.created_at as entity_property_created_at,\n ep.updated_at as entity_property_updated_at,\n pd.organization_id as definition_organization_id,\n pd.user_id as definition_user_id,\n pd.display_name,\n pd.data_type as \"data_type: DataType\",\n pd.is_multi_select,\n pd.specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n pd.created_at as definition_created_at,\n pd.updated_at as definition_updated_at,\n pd.is_system as definition_is_system\nFROM entity_properties ep\nINNER JOIN property_definitions pd ON ep.property_definition_id = pd.id\nWHERE ep.entity_id = $1 AND ep.entity_type = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_property_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "entity_type: EntityType",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "property_definition_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "values: sqlx::types::JsonValue",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 5,
- "name": "entity_property_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "entity_property_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "definition_organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "definition_user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 11,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 13,
- "name": "definition_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "definition_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "definition_is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "35aa1ada3371fd09902d19b1218c2034a348d30889a11f28b98a9e4a0daf4525"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json b/rust/cloud-storage/soup/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
deleted file mode 100644
index c07ec0acbe..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification_type_preference (user_id, notification_event_type)\n VALUES ($1, $2)\n ON CONFLICT (user_id, notification_event_type) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Varchar"
- ]
- },
- "nullable": []
- },
- "hash": "36dfcf982834f117d97d1ba332be6784c946f05120c7c228ff258389ceba97a1"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json b/rust/cloud-storage/soup/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
deleted file mode 100644
index 9348d25315..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $1\n )\n \n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "377f7c130cc3d834870fa692f5ba36d070bce17512b9ab348d0cb40ebe4d1b08"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json b/rust/cloud-storage/soup/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
deleted file mode 100644
index 44d3a67e72..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT EXISTS (\n SELECT 1\n FROM public.email_threads t\n JOIN public.email_links l ON l.id = t.link_id\n WHERE t.id = $1::uuid\n AND l.macro_id = $2\n ) AS \"exists!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "exists!",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "37b5168f739c490a3373c65eab35f247a34af0a8e659cbad61cb99e3094e5a60"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json b/rust/cloud-storage/soup/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json
deleted file mode 100644
index cf6201e995..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.id,\n m.thread_id,\n m.provider_thread_id,\n m.headers_jsonb,\n m.is_sent,\n m.is_draft\n FROM email_messages m\n WHERE m.id = $1 AND m.link_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_thread_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "headers_jsonb",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 4,
- "name": "is_sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "is_draft",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "37c7a9fd9f1156ce7de8a691fab1d33b9b50bd1e3525338b49991091df258321"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3a7be99469ed150e0506efa786b672198a6d3419c6bd5548418520cd3e6a8e95.json b/rust/cloud-storage/soup/.sqlx/query-3a7be99469ed150e0506efa786b672198a6d3419c6bd5548418520cd3e6a8e95.json
deleted file mode 100644
index 60bfee0647..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3a7be99469ed150e0506efa786b672198a6d3419c6bd5548418520cd3e6a8e95.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Document\" d\n JOIN \"Project\" p ON d.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE d.id = $1 AND d.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT access_level FROM (\n -- Source 1: Cast the AccessLevel enum to text.\n SELECT access_level::text FROM \"UserItemAccess\"\n WHERE user_id = $2 AND item_id IN (\n SELECT $1\n UNION\n SELECT project_id FROM project_hierarchy\n )\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $1\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "3a7be99469ed150e0506efa786b672198a6d3419c6bd5548418520cd3e6a8e95"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json b/rust/cloud-storage/soup/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json
deleted file mode 100644
index 3de2090f48..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_messages (\n id, provider_id, link_id, thread_id, provider_thread_id,\n replying_to_id, subject, from_contact_id, sent_at,\n has_attachments, is_read, is_starred, is_sent, is_draft,\n body_text, body_html_sanitized, body_macro, headers_jsonb,\n created_at, updated_at\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20)\n ON CONFLICT (id) DO UPDATE SET\n provider_id = EXCLUDED.provider_id,\n thread_id = EXCLUDED.thread_id,\n provider_thread_id = EXCLUDED.provider_thread_id,\n replying_to_id = EXCLUDED.replying_to_id,\n subject = EXCLUDED.subject,\n from_contact_id = EXCLUDED.from_contact_id,\n sent_at = EXCLUDED.sent_at,\n has_attachments = EXCLUDED.has_attachments,\n is_read = EXCLUDED.is_read,\n is_starred = EXCLUDED.is_starred,\n is_sent = EXCLUDED.is_sent,\n is_draft = EXCLUDED.is_draft,\n body_text = EXCLUDED.body_text,\n body_html_sanitized = EXCLUDED.body_html_sanitized,\n body_macro = EXCLUDED.body_macro,\n headers_jsonb = EXCLUDED.headers_jsonb,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Uuid",
- "Uuid",
- "Text",
- "Uuid",
- "Text",
- "Uuid",
- "Timestamptz",
- "Bool",
- "Bool",
- "Bool",
- "Bool",
- "Bool",
- "Text",
- "Text",
- "Text",
- "Jsonb",
- "Timestamptz",
- "Timestamptz"
- ]
- },
- "nullable": []
- },
- "hash": "3b147b8bcb7d08a87729fc68c562ea545e65d41bd61891ed3aad8eda3c4d90dd"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json b/rust/cloud-storage/soup/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json
deleted file mode 100644
index 15557826d9..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_scheduled_messages\n WHERE message_id = ANY($1) AND link_id = $2 AND sent = false\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "3b570b222c479d824a07d83d5af9bb51833195bf60052e04a1c754df22f57220"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json b/rust/cloud-storage/soup/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json
deleted file mode 100644
index 8ee9d7919b..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n p.id,\n p.name,\n p.\"userId\" as \"owner\",\n p.\"parentId\" as \"parent_id\",\n p.\"createdAt\"::timestamptz as \"created_at!\",\n p.\"updatedAt\"::timestamptz as \"updated_at!\"\n FROM\n \"Project\" p\n WHERE\n p.id = $1 AND p.\"deletedAt\" IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "owner",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "parent_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- null,
- null
- ]
- },
- "hash": "3e259ea5cbdcfae4334cb0125de6423fa95a0c127fbeba0a59d7096b0177c072"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json b/rust/cloud-storage/soup/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json
deleted file mode 100644
index 5c152ecd5e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\nSELECT\n ep.entity_id,\n ep.entity_type as \"entity_type: EntityType\",\n ep.property_definition_id\nFROM entity_properties ep\nWHERE ep.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "entity_type: EntityType",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 2,
- "name": "property_definition_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "3f3b5a5d8734e3748d4e29d64cfa89baff99dae621e7cbd7a10017beec9485c8"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json b/rust/cloud-storage/soup/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json
deleted file mode 100644
index 7eab7370d7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO property_options (\n id,\n property_definition_id,\n display_order,\n number_value,\n string_value\n )\n VALUES ($1, $2, $3, $4, $5)\n RETURNING id, created_at, updated_at\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Int4",
- "Float8",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "41682a8f6e1e2fb8836f76ca3ceab5fe676b45c9942ec0c99486c03e52733a47"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json b/rust/cloud-storage/soup/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json
deleted file mode 100644
index 2bb459c23a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT ml.message_id, el.provider_label_id\n FROM email_message_labels ml\n JOIN email_labels el ON el.id = ml.label_id\n WHERE ml.message_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_label_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "44682e65711eb45a1dbec725646b7b0e02ced66e66f2d985f3da2d3eb7ad8c60"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json b/rust/cloud-storage/soup/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json
deleted file mode 100644
index ddaefc32ef..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH user_channels AS (\n SELECT DISTINCT c.*\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n ),\n channel_participants_json AS (\n SELECT \n uc.id as channel_id,\n ARRAY_AGG(\n json_build_object(\n 'channel_id', cp.channel_id,\n 'user_id', cp.user_id,\n 'role', cp.role,\n 'joined_at', cp.joined_at,\n 'left_at', cp.left_at\n )\n ) as participants\n FROM user_channels uc\n JOIN comms_channel_participants cp ON cp.channel_id = uc.id\n WHERE cp.left_at IS NULL\n GROUP BY uc.id\n )\n SELECT \n uc.id as \"id!\",\n uc.name as \"name\",\n uc.channel_type as \"channel_type!: ChannelType\",\n uc.team_id,\n uc.org_id,\n uc.created_at as \"created_at!\",\n uc.updated_at as \"updated_at!\",\n uc.owner_id as \"owner_id!\",\n cpj.participants as \"participants_json?\"\n FROM user_channels uc\n LEFT JOIN channel_participants_json cpj ON cpj.channel_id = uc.id\n ORDER BY uc.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "channel_type!: ChannelType",
- "type_info": {
- "Custom": {
- "name": "comms_channel_type",
- "kind": {
- "Enum": [
- "public",
- "organization",
- "private",
- "direct_message",
- "team"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "team_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "org_id",
- "type_info": "Int8"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "owner_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "participants_json?",
- "type_info": "JsonArray"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- true,
- false,
- false,
- false,
- null
- ]
- },
- "hash": "45064c055927af781bc06e3a602a9efbefbd111110b9f0fab5cf029e70208c1e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json b/rust/cloud-storage/soup/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json
deleted file mode 100644
index 58bc367329..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.thread_id,\n c.id, c.link_id, c.email_address, COALESCE(m.from_name, c.name) as \"name\", c.sfs_photo_url\n FROM email_messages m\n JOIN email_contacts c ON m.from_contact_id = c.id\n WHERE m.thread_id = ANY($1) AND m.from_contact_id IS NOT NULL\n ORDER BY m.created_at ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "sfs_photo_url",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- null,
- true
- ]
- },
- "hash": "45a55e0ea2f0cc2d7583ede119ffd4059933d25cca50775c74f1ef5a0224493c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json b/rust/cloud-storage/soup/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
deleted file mode 100644
index 3fdea7e232..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.notification_id = $2\n AND un.deleted_at IS NULL\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "48697f17a7121986cc770d6698fbca7bf107ae20dbadbf64a7799ab162b2feb4"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json b/rust/cloud-storage/soup/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json
deleted file mode 100644
index b38dcf84f8..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "SELECT id, link_id, email_address, email_domain, is_important, created_at\n FROM email_filters\n WHERE link_id = $1\n ORDER BY created_at DESC",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "email_domain",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "is_important",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "48df79c41ba4ec7fa2454ac962aee9ff97875c9e2335b46fe13b2bbdee721186"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-4afa79ca95bdbcebe9d3de7ebb204636419e6cf89e650a8716c40ab2e588aa5b.json b/rust/cloud-storage/soup/.sqlx/query-4afa79ca95bdbcebe9d3de7ebb204636419e6cf89e650a8716c40ab2e588aa5b.json
deleted file mode 100644
index 58618b2697..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-4afa79ca95bdbcebe9d3de7ebb204636419e6cf89e650a8716c40ab2e588aa5b.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n -- CTE to recursively find all parent projects, starting from the given project.\n WITH RECURSIVE project_hierarchy AS (\n -- Base case: Start with the project ID provided.\n SELECT id as project_id\n FROM \"Project\"\n WHERE id = $1 AND \"deletedAt\" IS NULL\n UNION ALL\n -- Recursive case: Find the parent of the project from the previous step.\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n -- The subquery now gathers all levels as plain text.\n SELECT access_level FROM (\n -- Source 1: Cast the AccessLevel enum to text.\n SELECT access_level::text FROM \"UserItemAccess\"\n WHERE user_id = $2 AND item_id IN (\n -- The hierarchy CTE includes the starting project, so this is all we need.\n SELECT project_id FROM project_hierarchy\n )\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n -- We only need to check ProjectPermission for the items in the hierarchy.\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\"\n WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "4afa79ca95bdbcebe9d3de7ebb204636419e6cf89e650a8716c40ab2e588aa5b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json b/rust/cloud-storage/soup/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json
deleted file mode 100644
index a8c8857eae..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_contacts\n SET name = data.name, updated_at = now()\n FROM (SELECT unnest($1::uuid[]) as id, unnest($2::text[]) as name) as data\n WHERE email_contacts.id = data.id\n AND email_contacts.name IS NULL\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "4b75a017d1bfeb600d0b75c58220b27c51a57253d0d82c55793eb5b0852d476f"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-4c695b011d49ba7d5fce4b309875ed952dc386ac760444d7883c5a76718f15be.json b/rust/cloud-storage/soup/.sqlx/query-4c695b011d49ba7d5fce4b309875ed952dc386ac760444d7883c5a76718f15be.json
deleted file mode 100644
index 524cc25ec7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-4c695b011d49ba7d5fce4b309875ed952dc386ac760444d7883c5a76718f15be.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Chat\" c\n JOIN \"Project\" p ON c.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE c.id = $1 AND c.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT access_level FROM (\n -- Source 1: Cast the AccessLevel enum to text.\n SELECT access_level::text FROM \"UserItemAccess\"\n WHERE user_id = $2 AND item_id IN (\n SELECT $1 -- The chat itself\n UNION\n SELECT project_id FROM project_hierarchy -- All parent projects\n )\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $1\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "4c695b011d49ba7d5fce4b309875ed952dc386ac760444d7883c5a76718f15be"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json b/rust/cloud-storage/soup/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json
deleted file mode 100644
index e243f96402..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n mr.message_id,\n c.email_address,\n COALESCE(mr.name, c.name) as \"name\",\n c.sfs_photo_url,\n mr.recipient_type as \"recipient_type!: DbRecipientType\"\n FROM email_messages m\n JOIN email_message_recipients mr ON m.id = mr.message_id\n JOIN email_contacts c ON mr.contact_id = c.id\n WHERE m.id = ANY($1)\n ORDER BY mr.message_id, mr.recipient_type\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "sfs_photo_url",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "recipient_type!: DbRecipientType",
- "type_info": {
- "Custom": {
- "name": "email_recipient_type",
- "kind": {
- "Enum": [
- "TO",
- "CC",
- "BCC"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "4cc88f2a38cb0722282ef262adefd9fcb0d4778c5dc308720710e8f5e9995911"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json b/rust/cloud-storage/soup/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
deleted file mode 100644
index 55fcda1121..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM user_notification\n WHERE user_id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "4e096eb7d3c507e3647685073fba7b3f36ef0e70c887db31f5cc5a8eb8ee1844"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json b/rust/cloud-storage/soup/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json
deleted file mode 100644
index 7a4d0490be..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, macro_id, fusionauth_user_id, email_address, provider as \"provider: _\",\n is_sync_active, created_at, updated_at\n FROM email_links\n WHERE macro_id = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "macro_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "fusionauth_user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "provider: _",
- "type_info": {
- "Custom": {
- "name": "email_user_provider_enum",
- "kind": {
- "Enum": [
- "GMAIL"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_sync_active",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "50318d6d13fb931307f2115b33d277b5298c45ed798719e792e722bd30615a95"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-54e3755d63a676a7fa70da77321e618032f0130c73eb6b0ae985f07c5c6c448b.json b/rust/cloud-storage/soup/.sqlx/query-54e3755d63a676a7fa70da77321e618032f0130c73eb6b0ae985f07c5c6c448b.json
deleted file mode 100644
index 03a8dbf6bb..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-54e3755d63a676a7fa70da77321e618032f0130c73eb6b0ae985f07c5c6c448b.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Chat\" c\n JOIN \"Project\" p ON c.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE c.id = $1 AND c.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT DISTINCT user_id FROM \"UserItemAccess\"\n WHERE item_id IN (\n SELECT $1\n UNION\n SELECT project_id FROM project_hierarchy\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "54e3755d63a676a7fa70da77321e618032f0130c73eb6b0ae985f07c5c6c448b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json b/rust/cloud-storage/soup/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json
deleted file mode 100644
index 2a84c80297..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_scheduled_messages (\n link_id, message_id, send_time, sent,\n created_at, updated_at\n )\n VALUES ($1, $2, $3, $4, NOW(), NOW())\n ON CONFLICT (link_id, message_id) DO UPDATE SET\n send_time = EXCLUDED.send_time,\n sent = EXCLUDED.sent,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Timestamptz",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "58b8b566779518776b13cabdb3498ac55b426b0493e769ea607618db7e246a71"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json b/rust/cloud-storage/soup/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
deleted file mode 100644
index 514e8d9770..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "5915728325fe5163ae5f18a99350e0cb5153d368eceb75d03b4cf1adfd1f58bf"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json b/rust/cloud-storage/soup/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json
deleted file mode 100644
index bf8b77e46c..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_messages m\n SET\n is_starred = $1,\n updated_at = NOW()\n WHERE\n m.id = ANY($2)\n AND m.link_id = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "UuidArray",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "59eb39577b1b566ef0a95f74f75904a62689388c0b28b77a02946952e6aa8b36"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json b/rust/cloud-storage/soup/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
deleted file mode 100644
index cf67130e20..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_user_history (link_id, thread_id, created_at, updated_at)\n VALUES ($1, $2, NOW(), NOW())\n ON CONFLICT (link_id, thread_id)\n DO UPDATE SET\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "5df7eb0451abdb0810c1329807dab9213313858eceaea2015c5e6d584d2f168d"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json b/rust/cloud-storage/soup/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json
deleted file mode 100644
index c853ae04b7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b.json
+++ /dev/null
@@ -1,110 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n organization_id,\n user_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at,\n is_system\n FROM property_definitions\n WHERE id = $1\n AND is_system = FALSE\n AND (\n user_id = $2\n OR ($3::int IS NOT NULL AND organization_id = $3)\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Int4"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "5fabf029c6dd06505963dab2b60eccb8ea77088f535970dbcf5f80d57a9a4c5b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json b/rust/cloud-storage/soup/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json
deleted file mode 100644
index 68fd6aefaa..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n (\n SELECT EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m_imp.thread_id = t.id\n AND l.name = 'IMPORTANT'\n AND l.link_id = t.link_id\n )\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Find the latest draft timestamp for each thread, calculate the\n -- effective sort key, then sort and limit the results. This is the core optimization.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n ldpt.latest_draft_ts AS created_at,\n ldpt.latest_draft_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, ldpt.latest_draft_ts)\n ELSE ldpt.latest_draft_ts\n END AS effective_ts\n FROM (\n -- This sub-subquery efficiently finds the latest draft timestamp for every thread.\n SELECT m.thread_id, MAX(m.updated_at) as latest_draft_ts\n FROM email_messages m\n -- we only display macro drafts, not drafts created in gmail\n WHERE m.link_id = $1 AND m.is_draft = TRUE AND m.internal_date_ts IS NULL\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.name = 'TRASH' AND l.link_id = $1\n )\n GROUP BY m.thread_id\n ) ldpt\n JOIN email_threads t ON ldpt.thread_id = t.id\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n (($3::timestamptz IS NULL) OR (\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, ldpt.latest_draft_ts)\n ELSE ldpt.latest_draft_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find the full details of its latest draft.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name,\n m.is_draft\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND m.is_draft = TRUE\n -- we only display macro drafts, not drafts created in gmail\n AND m.internal_date_ts IS NULL\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.name = 'TRASH' AND l.link_id = t.link_id\n )\n ORDER BY m.updated_at DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- null,
- null,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "60fe557b143af00c5ddce77735e8b629dcce80126672a6c1d6bb9d2677976c75"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json b/rust/cloud-storage/soup/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
deleted file mode 100644
index d0a749ebd2..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_mute_notification\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "621186dcec072b603a5f3d7b9e987a1638589d539c60d9dc5c2ab0865ff062d6"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json b/rust/cloud-storage/soup/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
deleted file mode 100644
index d374c2f79f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM user_notification_type_preference\n WHERE user_id = $1 AND notification_event_type = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "625ee33d48768e369ee1fe3abe27811ad04313b1aa31f4b51abe5fd3bf569674"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json b/rust/cloud-storage/soup/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
deleted file mode 100644
index a110bb67c6..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT cp.user_id\n FROM comms_channel_participants cp\n WHERE cp.channel_id = $1 AND cp.left_at IS NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "63ca13cc79c27b5267ebbf53491b657ca7671e1ab9d1a4691372693a9f9a4ff8"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json b/rust/cloud-storage/soup/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json
deleted file mode 100644
index 1bc2f8db8f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "INSERT INTO email_filters (link_id, email_address, is_important)\n VALUES ($1, $2, $3)\n ON CONFLICT (link_id, lower(email_address)) WHERE email_address IS NOT NULL\n DO UPDATE SET is_important = EXCLUDED.is_important\n RETURNING id, link_id, email_address, email_domain, is_important, created_at",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "email_domain",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "is_important",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Bool"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "679d0dd86957b91b759135cf9fc7314630cfd377b004a8c1dfedbf5764137ebd"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json b/rust/cloud-storage/soup/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
deleted file mode 100644
index 2f59f37298..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_threads\n SET\n inbox_visible = $1,\n is_read = $2,\n latest_inbound_message_ts = $3,\n latest_outbound_message_ts = $4,\n latest_non_spam_message_ts = $5,\n updated_at = NOW()\n WHERE\n id = $6 AND\n link_id = $7\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "Bool",
- "Timestamptz",
- "Timestamptz",
- "Timestamptz",
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "6c022c7b1e5e5faf6f388528436453738aa66c36c46313ca18c7570b406553f6"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json b/rust/cloud-storage/soup/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json
deleted file mode 100644
index ed19453502..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH ApplicableLabelIDs AS (\n SELECT id\n FROM email_labels\n WHERE link_id = $1\n AND (name = 'INBOX')\n ),\n QualifyingMessages AS (\n SELECT m.thread_id,\n m.internal_date_ts,\n m.created_at AS fallback_ts,\n m.is_draft,\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name\n FROM email_messages m\n WHERE m.link_id = $1\n AND NOT EXISTS (\n SELECT 1\n FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id\n AND l.name = 'TRASH'\n AND l.link_id = $1\n )\n AND EXISTS (\n SELECT 1\n FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id\n AND l.name = 'IMPORTANT'\n )\n AND EXISTS (\n SELECT 1\n FROM email_message_labels ml\n JOIN ApplicableLabelIDs ali ON ml.label_id = ali.id\n WHERE ml.message_id = m.id\n )\n\n UNION ALL\n\n SELECT m.thread_id,\n m.internal_date_ts,\n m.created_at AS fallback_ts,\n m.is_draft,\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name\n FROM email_messages m\n WHERE m.link_id = $1\n AND m.is_draft = TRUE\n AND NOT EXISTS (\n SELECT 1\n FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id\n AND l.name = 'TRASH'\n AND l.link_id = $1\n )\n ),\n AllImportantThreads AS (\n -- From all qualifying messages, get the single most recent one per thread.\n SELECT DISTINCT ON (thread_id)\n thread_id,\n internal_date_ts,\n fallback_ts,\n is_draft,\n subject,\n snippet,\n from_contact_id,\n from_name\n FROM QualifyingMessages\n ORDER BY thread_id, COALESCE(internal_date_ts, fallback_ts) DESC\n ),\n ImportantWithSortKey AS (\n -- Join with user_history to calculate the final effective sort key.\n SELECT\n ait.thread_id,\n ait.internal_date_ts,\n ait.fallback_ts,\n ait.is_draft,\n ait.subject,\n ait.snippet,\n ait.from_contact_id,\n ait.from_name,\n COALESCE(ait.internal_date_ts, ait.fallback_ts) as created_at,\n COALESCE(ait.internal_date_ts, ait.fallback_ts) as updated_at,\n uh.updated_at as viewed_at,\n -- This CASE statement dynamically selects the correct timestamp for sorting.\n -- For 'updated_at' and 'created_at', we use the important message timestamp\n -- For 'viewed_at', we use the history timestamp.\n -- For 'viewed_updated', we use the history timestamp if it exists, otherwise the important message timestamp.\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, COALESCE(ait.internal_date_ts, ait.fallback_ts))\n ELSE COALESCE(ait.internal_date_ts, ait.fallback_ts)\n END AS effective_ts\n FROM AllImportantThreads ait\n -- This has to be a left join to support all sort methods.\n LEFT JOIN email_user_history uh ON uh.thread_id = ait.thread_id AND uh.link_id = $1\n )\n SELECT\n isk.thread_id as \"id!\",\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n isk.effective_ts as \"sort_ts!\",\n isk.created_at as \"created_at!\",\n isk.updated_at as \"updated_at!\",\n t.project_id,\n isk.viewed_at as \"viewed_at?\",\n isk.is_draft as \"is_draft!\",\n -- It's the important view - all threads here are important\n true as \"is_important!\",\n isk.subject as \"name?\",\n isk.snippet as \"snippet?\",\n c.email_address AS \"sender_email?\",\n COALESCE(isk.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM ImportantWithSortKey isk\n JOIN email_threads t ON isk.thread_id = t.id\n LEFT JOIN email_contacts c ON isk.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n WHERE\n ($3::timestamptz IS NULL) OR (isk.effective_ts, isk.thread_id) < ($3::timestamptz, $4::uuid)\n ORDER BY isk.effective_ts DESC, isk.thread_id DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_draft!",
- "type_info": "Bool"
- },
- {
- "ordinal": 10,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 11,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 12,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- null,
- true,
- false,
- false,
- null,
- null,
- null,
- true,
- false,
- null,
- null,
- null,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "714f90b277b3e53e84688fbe6b573cd622f5c320c33ab43c3c952aa9c12199b3"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json b/rust/cloud-storage/soup/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
deleted file mode 100644
index ea49b9c1cd..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n organization_id,\n user_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at,\n is_system\n FROM property_definitions\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "732141210551d42218ce027266c6dfa3dd1f0ddb2c37493ed1235fe488073d89"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json b/rust/cloud-storage/soup/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
deleted file mode 100644
index 65459bcefd..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id\n FROM \"User\"\n WHERE email = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "73c67fbf678e1479d528adcc5bea7da3261d0a04e24cc16f96ec9f2dea3b2e98"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json b/rust/cloud-storage/soup/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json
deleted file mode 100644
index eddca4f0fd..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, email_address\n FROM email_contacts\n WHERE link_id = $1 AND email_address = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "74132c6b056f693ac364bd5d70a40d81ccd384ffc21881d7c162895cb7d11647"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json b/rust/cloud-storage/soup/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
deleted file mode 100644
index 34382e8725..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, apns_collapse_key as \"apns_collapse_key!: String\"\n FROM notification\n WHERE id = ANY($1) AND apns_collapse_key IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "apns_collapse_key!: String",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "74d33764e454fb9ab4f2775974462d6fdb092bffc720d929de5e7b50ecef5139"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json b/rust/cloud-storage/soup/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
deleted file mode 100644
index 655495fb29..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT c.id\n FROM comms_channels c\n INNER JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n AND c.id = ANY($2::uuid[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "7617f808df94ffe77c8195a911ee6b230a21fe9935e099d1310d244248ca253a"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json b/rust/cloud-storage/soup/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
deleted file mode 100644
index a8e7326c35..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_notification_item_unsubscribe\n WHERE item_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "765650cab2b1a1d1abe6ca406438bf48968cebebc7316b87b192d649e096cd67"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json b/rust/cloud-storage/soup/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
deleted file mode 100644
index 9e6f7f8877..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT d.device_endpoint\n FROM notification_user_device_registration d\n WHERE d.device_token = $1\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "device_endpoint",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "78f1cf9da464937604c1a2d5115c014cab9de72bd88605ff47a316baa2c7acc2"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-79d3bc72e6f424765706f7deea426379ae49cbd70dd122daedd95343618b9ac6.json b/rust/cloud-storage/soup/.sqlx/query-79d3bc72e6f424765706f7deea426379ae49cbd70dd122daedd95343618b9ac6.json
deleted file mode 100644
index 2bde15938f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-79d3bc72e6f424765706f7deea426379ae49cbd70dd122daedd95343618b9ac6.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT id as project_id\n FROM \"Project\"\n WHERE id = $1 AND \"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT DISTINCT user_id FROM \"UserItemAccess\"\n WHERE item_id IN (\n SELECT project_id FROM project_hierarchy\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "79d3bc72e6f424765706f7deea426379ae49cbd70dd122daedd95343618b9ac6"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json b/rust/cloud-storage/soup/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
deleted file mode 100644
index a33e79f60e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_properties (id, entity_id, entity_type, property_definition_id, values)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (entity_id, entity_type, property_definition_id) \n DO UPDATE SET \n values = EXCLUDED.values,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- },
- "Uuid",
- "Jsonb"
- ]
- },
- "nullable": []
- },
- "hash": "7ae5368ee01e670dcc9804096f3d3e9dcab6dcebcb601bfb1ed190dbda0ff37f"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json b/rust/cloud-storage/soup/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
deleted file mode 100644
index 721b0038f2..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, notification_event_type\n FROM user_notification_type_preference\n WHERE user_id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_event_type",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "7c0b9d645a85e30577377e4d8c8a8f976e86c6251e12517a2b1e14d525e09198"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json b/rust/cloud-storage/soup/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
deleted file mode 100644
index a166680895..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification (id, notification_event_type, event_item_id, event_item_type, service_sender, metadata, sender_id, apns_collapse_key)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)\n ON CONFLICT (id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Text",
- "Text",
- "Text",
- "Jsonb",
- "Text",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "7ccdaab5873129437c98581ac37eb4148255b83e18fad15349d06c54040fd6cc"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json b/rust/cloud-storage/soup/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json
deleted file mode 100644
index fbdbdf128a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH input_ids AS (\n SELECT UNNEST($1::uuid[]) AS channel_id\n )\n SELECT\n i.channel_id AS \"channel_id!\",\n l.message_id AS \"l_message_id?: uuid::Uuid\",\n l.thread_id AS \"l_thread_id?: uuid::Uuid\",\n l.sender_id AS \"l_sender_id?: String\",\n l.content AS \"l_content?: String\",\n l.created_at AS \"l_created_at?: chrono::DateTime<chrono::Utc>\",\n l.updated_at AS \"l_updated_at?: chrono::DateTime<chrono::Utc>\",\n l.deleted_at AS \"l_deleted_at?: chrono::DateTime<chrono::Utc>\",\n l.mentions AS \"l_mentions?: Vec<String>\",\n n.message_id AS \"n_message_id?: uuid::Uuid\",\n n.thread_id AS \"n_thread_id?: uuid::Uuid\",\n n.sender_id AS \"n_sender_id?: String\",\n n.content AS \"n_content?: String\",\n n.created_at AS \"n_created_at?: chrono::DateTime<chrono::Utc>\",\n n.updated_at AS \"n_updated_at?: chrono::DateTime<chrono::Utc>\",\n n.deleted_at AS \"n_deleted_at?: chrono::DateTime<chrono::Utc>\",\n n.mentions AS \"n_mentions?: Vec<String>\"\n FROM input_ids i\n LEFT JOIN LATERAL (\n SELECT\n m.id AS message_id,\n m.thread_id,\n m.sender_id,\n m.content,\n m.created_at,\n m.updated_at,\n m.deleted_at::timestamptz AS deleted_at,\n COALESCE(\n ARRAY(\n SELECT entity_type || ':' || entity_id\n FROM comms_entity_mentions em\n WHERE em.source_entity_type = 'message'\n AND em.source_entity_id = m.id::text\n ),\n '{}'::text[]\n ) AS mentions\n FROM comms_messages m\n WHERE m.channel_id = i.channel_id\n AND m.deleted_at IS NULL\n ORDER BY m.created_at DESC\n LIMIT 1\n ) l ON TRUE\n LEFT JOIN LATERAL (\n SELECT\n m.id AS message_id,\n m.thread_id,\n m.sender_id,\n m.content,\n m.created_at,\n m.updated_at,\n m.deleted_at::timestamptz AS deleted_at,\n COALESCE(\n ARRAY(\n SELECT entity_type || ':' || entity_id\n FROM comms_entity_mentions em\n WHERE em.source_entity_type = 'message'\n AND em.source_entity_id = m.id::text\n ),\n '{}'::text[]\n ) AS mentions\n FROM comms_messages m\n WHERE m.channel_id = i.channel_id\n AND m.deleted_at IS NULL\n AND m.thread_id IS NULL\n ORDER BY m.created_at DESC\n LIMIT 1\n ) n ON TRUE\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "l_message_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "l_thread_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "l_sender_id?: String",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "l_content?: String",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "l_created_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "l_updated_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "l_deleted_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "l_mentions?: Vec<String>",
- "type_info": "TextArray"
- },
- {
- "ordinal": 9,
- "name": "n_message_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 10,
- "name": "n_thread_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 11,
- "name": "n_sender_id?: String",
- "type_info": "Text"
- },
- {
- "ordinal": 12,
- "name": "n_content?: String",
- "type_info": "Text"
- },
- {
- "ordinal": 13,
- "name": "n_created_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "n_updated_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "n_deleted_at?: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 16,
- "name": "n_mentions?: Vec<String>",
- "type_info": "TextArray"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- null,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true
- ]
- },
- "hash": "7ee9ba5adfac304c7ac930943538ecca7428b1054d451fb2f8973cf9c11caf45"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json b/rust/cloud-storage/soup/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json
deleted file mode 100644
index 37446ebe78..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n (\n SELECT EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m_imp.thread_id = t.id\n AND l.name = 'IMPORTANT'\n AND l.link_id = t.link_id\n )\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Efficiently find and sort ONLY the top N+1 candidate threads.\n -- This subquery only touches `threads` and `user_history`.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n t.latest_outbound_message_ts AS created_at,\n t.latest_outbound_message_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_outbound_message_ts)\n ELSE t.latest_outbound_message_ts\n END AS effective_ts\n FROM email_threads t\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n t.link_id = $1\n AND t.latest_outbound_message_ts IS NOT NULL\n \n -- Cursor logic moved inside for maximum efficiency\n AND (($3::timestamptz IS NULL) OR (\n -- This CASE must exactly match the one that defines `effective_ts`\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_outbound_message_ts)\n ELSE t.latest_outbound_message_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find its latest SENT, non-trashed message.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name,\n m.is_draft\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND m.is_sent = TRUE -- This condition is specific to the \"Sent\" view\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.name = 'TRASH' AND l.link_id = t.link_id\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details for the final result set.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n -- Final ordering is preserved because the input `t` is already sorted.\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- true,
- true,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "82301526394304e59946caa3c724c377fa46ad214834bc1a876d39ad29ad92ac"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json b/rust/cloud-storage/soup/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json
deleted file mode 100644
index d172804854..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5.json
+++ /dev/null
@@ -1,110 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n id,\n organization_id,\n user_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at,\n is_system\n FROM property_definitions\n WHERE \n ($3 AND is_system)\n OR (\n ($1::int IS NOT NULL AND organization_id = $1) \n OR ($2::text IS NOT NULL AND user_id = $2)\n )\n ORDER BY LOWER(display_name) ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int4",
- "Text",
- "Bool"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "827b998f442f5f6cb6ff85dc35f01c5782128a4cb9a020e22ab83a24a6c2b4f5"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json b/rust/cloud-storage/soup/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json
deleted file mode 100644
index 1290218ff1..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT project_id\n FROM email_threads\n WHERE id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "project_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "83dea9ffef9207e919ec708a6570c6f4090dbdbbb9f5f609edbad91becbc1bb4"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json b/rust/cloud-storage/soup/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json
deleted file mode 100644
index 14e048261e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH trash_label AS (\n SELECT id FROM email_labels WHERE link_id = $1 AND name = 'TRASH'\n ),\n important_label AS (\n SELECT id FROM email_labels WHERE link_id = $1 AND name = 'IMPORTANT'\n )\n SELECT\n t.id,\n t.provider_id,\n TRUE AS \"inbox_visible!\",\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n WHERE m_imp.thread_id = t.id\n AND ml.label_id = (SELECT id FROM important_label)\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Efficiently find and sort ONLY the top N+1 candidate threads.\n -- This subquery is fast as it only touches `threads` and `user_history`.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.is_read,\n t.project_id,\n t.latest_inbound_message_ts AS created_at,\n t.latest_inbound_message_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_inbound_message_ts)\n ELSE t.latest_inbound_message_ts\n END AS effective_ts\n FROM email_threads t\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n t.link_id = $1\n AND t.inbox_visible = TRUE\n AND t.latest_inbound_message_ts IS NOT NULL\n \n -- The cursor logic is moved inside this subquery for maximum efficiency.\n AND (($3::timestamptz IS NULL) OR (\n -- This CASE must exactly match the one that defines `effective_ts`\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_inbound_message_ts)\n ELSE t.latest_inbound_message_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC -- fall back to updated_at if effective_ts is the same\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find its latest non-trashed message.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name,\n m.is_draft\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n WHERE ml.message_id = m.id\n AND ml.label_id = (SELECT id FROM trash_label)\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details for the final result set.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n -- Final ordering is preserved because the input `t` is already sorted.\n ORDER BY t.effective_ts DESC, t.updated_at DESC -- fall back to updated_at if effective_ts is the same\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible!",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- null,
- false,
- null,
- true,
- true,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "8519d142dcd5c9c6b60b9c61c24eca0b0c860eee7227124be31b2fcbff39e2bd"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json b/rust/cloud-storage/soup/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
deleted file mode 100644
index eab49b91f7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET sent = true\n WHERE notification_id = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": []
- },
- "hash": "86eee52e30e4168f4a7f319d1dcaa59144a5b3269120df892f161c74b5fe7436"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json b/rust/cloud-storage/soup/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json
deleted file mode 100644
index e8401c2e59..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.id as message_id,\n c.email_address,\n COALESCE(m.from_name, c.name) as \"name\",\n c.sfs_photo_url\n FROM email_messages m\n INNER JOIN email_contacts c ON c.id = m.from_contact_id\n WHERE m.id = ANY($1)\n AND m.from_contact_id IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "sfs_photo_url",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- null,
- true
- ]
- },
- "hash": "87e0c17146266f40e2f76a27c0e60bd057a7efe02fe027f9514cc8fbdba2159b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json b/rust/cloud-storage/soup/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
deleted file mode 100644
index 566b687721..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_message_recipients (message_id, contact_id, name, recipient_type)\n SELECT * FROM unnest($1::uuid[], $2::uuid[], $3::text[], $4::email_recipient_type[])\n ON CONFLICT (message_id, contact_id, recipient_type) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "UuidArray",
- "TextArray",
- {
- "Custom": {
- "name": "email_recipient_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "email_recipient_type",
- "kind": {
- "Enum": [
- "TO",
- "CC",
- "BCC"
- ]
- }
- }
- }
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "88cb2c1126909dabe0cc1846ca2733ab98724d4b89d409fa770209d4d7627654"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json b/rust/cloud-storage/soup/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json
deleted file mode 100644
index a989abc850..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT pg_try_advisory_xact_lock($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "pg_try_advisory_xact_lock",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "89004da6bcdd66bccd56ed64402d82dc4fb489cccaf5ca647c5a9403fa760ce9"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json b/rust/cloud-storage/soup/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json
deleted file mode 100644
index 83e2f46e9a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO frecency_aggregates (\n entity_id,\n entity_type,\n user_id,\n event_count,\n frecency_score,\n first_event,\n recent_events\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n ON CONFLICT (user_id, entity_type, entity_id)\n DO UPDATE SET\n event_count = EXCLUDED.event_count,\n frecency_score = EXCLUDED.frecency_score,\n recent_events = EXCLUDED.recent_events\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Int4",
- "Float8",
- "Timestamptz",
- "Jsonb"
- ]
- },
- "nullable": []
- },
- "hash": "8a219d75e22ca3b14ed3bfc1fbf218e2e69f540f69d0ab223170a52ac92af43c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json b/rust/cloud-storage/soup/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json
deleted file mode 100644
index 1e10ec0e6e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b.json
+++ /dev/null
@@ -1,123 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n (\n SELECT EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m_imp.thread_id = t.id\n AND l.link_id = t.link_id\n AND l.name = 'IMPORTANT'\n )\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Find the latest labeled message timestamp for each thread,\n -- calculate the effective sort key, then sort and limit the results.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n llpt.latest_labeled_ts AS created_at,\n llpt.latest_labeled_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $6 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, llpt.latest_labeled_ts)\n ELSE llpt.latest_labeled_ts\n END AS effective_ts\n FROM (\n -- This sub-subquery efficiently finds the latest timestamp for every thread\n -- that has at least one message with the specified label.\n SELECT\n m.thread_id,\n MAX(m.internal_date_ts) as latest_labeled_ts\n FROM email_messages m\n JOIN email_message_labels ml ON m.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m.link_id = $1 AND l.name = $5\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml2\n JOIN email_labels l2 ON ml2.label_id = l2.id\n WHERE ml2.message_id = m.id AND l2.name = 'TRASH' AND l2.link_id = $1\n )\n GROUP BY m.thread_id\n ) llpt\n JOIN email_threads t ON llpt.thread_id = t.id\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = $1\n WHERE\n (($3::timestamptz IS NULL) OR (\n CASE $6 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, llpt.latest_labeled_ts)\n ELSE llpt.latest_labeled_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find the full details of its latest message with that specific label.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.from_name,\n m.is_draft\n FROM email_messages m\n JOIN email_message_labels ml ON m.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m.thread_id = t.id AND m.is_draft = FALSE AND l.link_id = t.link_id AND l.name = $5\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml2\n JOIN email_labels l2 ON ml2.label_id = l2.id\n WHERE ml2.message_id = m.id AND l2.name = 'TRASH' AND l2.link_id = t.link_id\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- null,
- null,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "8b647d9753ba2b63ba9cc0057e0b71c87592c3e3983205d6969e0b3f1dbdb74b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json b/rust/cloud-storage/soup/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json
deleted file mode 100644
index 0fd14fd3e9..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n eaf.message_id as draft_id,\n eaf.attachment_id,\n ea.provider_attachment_id,\n orig_msg.provider_id as \"message_provider_id!\",\n ea.filename,\n ea.mime_type,\n ea.size_bytes\n FROM email_attachments_fwd eaf\n JOIN email_attachments ea ON eaf.attachment_id = ea.id\n JOIN email_messages orig_msg ON ea.message_id = orig_msg.id\n WHERE eaf.message_id = ANY($1)\n ORDER BY eaf.message_id, ea.filename ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "draft_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "attachment_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_attachment_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "message_provider_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "filename",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "mime_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 6,
- "name": "size_bytes",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- true,
- true,
- true
- ]
- },
- "hash": "922f058d237b9ffe46e13677ce2e6c4f4b39b7ae7b8b4dd248f54714d842a08e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json b/rust/cloud-storage/soup/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
deleted file mode 100644
index a8520fdfd0..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification_message_receipt (message_id, user_id, notification_id)\n VALUES ($1, $2, $3)\n ON CONFLICT (message_id) DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "92edc80110af7b96f7f908989461a4abb11652671a95454969369a0484ed9239"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json b/rust/cloud-storage/soup/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
deleted file mode 100644
index 4035617965..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET deleted_at = NOW()\n WHERE user_id = $1 AND notification_id = $2\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "94c019227741f6c4fe8411454cb7c0a3a97e5594c29f11fa893238656e161ff1"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-96d853b887f2e6d7aac6b15ddd2b71a8d8900d2ef30047da7ca1a5940503b6d0.json b/rust/cloud-storage/soup/.sqlx/query-96d853b887f2e6d7aac6b15ddd2b71a8d8900d2ef30047da7ca1a5940503b6d0.json
deleted file mode 100644
index e42c9f2009..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-96d853b887f2e6d7aac6b15ddd2b71a8d8900d2ef30047da7ca1a5940503b6d0.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM \"Document\" d\n JOIN \"Project\" p ON d.\"projectId\" = p.id AND p.\"deletedAt\" IS NULL\n WHERE d.id = $1 AND d.\"deletedAt\" IS NULL\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT DISTINCT user_id FROM \"UserItemAccess\"\n WHERE item_id IN (\n SELECT $1\n UNION\n SELECT project_id FROM project_hierarchy\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "96d853b887f2e6d7aac6b15ddd2b71a8d8900d2ef30047da7ca1a5940503b6d0"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json b/rust/cloud-storage/soup/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json
deleted file mode 100644
index 154f82bfc7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n a.id as \"id!: Uuid\",\n a.user_id as \"user_id!: String\",\n a.channel_id as \"channel_id!: Uuid\",\n a.viewed_at as \"viewed_at?: DateTime<Utc>\",\n a.interacted_at as \"interacted_at?: DateTime<Utc>\",\n a.created_at as \"created_at!: DateTime<Utc>\",\n a.updated_at as \"updated_at!: DateTime<Utc>\"\n FROM comms_activity a\n WHERE a.user_id = $1\n ORDER BY \n GREATEST(\n COALESCE(a.viewed_at, '1970-01-01'::timestamp),\n COALESCE(a.interacted_at, '1970-01-01'::timestamp)\n ) DESC,\n a.created_at DESC\n LIMIT 100\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "user_id!: String",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "channel_id!: Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "viewed_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 4,
- "name": "interacted_at?: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 5,
- "name": "created_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- },
- {
- "ordinal": 6,
- "name": "updated_at!: DateTime<Utc>",
- "type_info": "Timestamp"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "9afc6f436aedd226ed0d6bf85de64c5ff57853c93ff00f768b49bf79f198590b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json b/rust/cloud-storage/soup/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json
deleted file mode 100644
index 357e50473e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO property_options (\n id,\n property_definition_id,\n display_order,\n number_value,\n string_value\n )\n VALUES ($1, $2, $3, $4, $5)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid",
- "Int4",
- "Float8",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "9e45ba072fbc5266f7edba0fecb99d19192e10139d6ea089be4a3a4a7923361c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json b/rust/cloud-storage/soup/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json
deleted file mode 100644
index e8b14cc25a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n ml.message_id,\n l.id,\n l.link_id,\n l.provider_label_id,\n l.name,\n l.created_at,\n l.message_list_visibility as \"message_list_visibility: _\",\n l.label_list_visibility as \"label_list_visibility: _\",\n l.type as \"type_: _\"\n FROM email_message_labels ml\n JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = ANY($1)\n ORDER BY ml.message_id, l.name\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "provider_label_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "message_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_message_list_visibility_enum",
- "kind": {
- "Enum": [
- "Show",
- "Hide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "label_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_label_list_visibility_enum",
- "kind": {
- "Enum": [
- "LabelShow",
- "LabelShowIfUnread",
- "LabelHide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 8,
- "name": "type_: _",
- "type_info": {
- "Custom": {
- "name": "email_label_type_enum",
- "kind": {
- "Enum": [
- "System",
- "User"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "9f5c0108230743e209902d457637931a2cbc77192ce513473a4f5e3498b8533c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json b/rust/cloud-storage/soup/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
deleted file mode 100644
index ad14cfedba..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id, device_endpoint, device_type as \"device_type: DbDeviceType\"\n FROM notification_user_device_registration\n WHERE user_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "device_endpoint",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "device_type: DbDeviceType",
- "type_info": {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false,
- false
- ]
- },
- "hash": "a0046a263c572915a8e14a8ac70479f1ba89549f1930f571bf278fcfe259cfd1"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json b/rust/cloud-storage/soup/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json
deleted file mode 100644
index df027cb4f4..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH spam_label AS (\n SELECT id FROM email_labels WHERE link_id = $1 AND name = 'SPAM'\n ),\n trash_label AS (\n SELECT id FROM email_labels WHERE link_id = $1 AND name = 'TRASH'\n ),\n important_label AS (\n SELECT id FROM email_labels WHERE link_id = $1 AND name = 'IMPORTANT'\n )\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n WHERE m_imp.thread_id = t.id\n AND ml.label_id = (SELECT id FROM important_label)\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Efficiently find, sort, and limit the top N+1 threads.\n -- This subquery only touches `threads` and `user_history`, making it very fast.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n t.latest_non_spam_message_ts AS created_at,\n t.latest_non_spam_message_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_non_spam_message_ts)\n ELSE t.latest_non_spam_message_ts\n END AS effective_ts\n FROM email_threads t\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n t.link_id = $1\n AND t.latest_non_spam_message_ts IS NOT NULL\n \n -- Cursor logic is moved inside for maximum efficiency\n AND (($3::timestamptz IS NULL) OR (\n -- This CASE must exactly match the one that defines `effective_ts`\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_non_spam_message_ts)\n ELSE t.latest_non_spam_message_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find its latest non-SPAM/TRASH message.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.is_draft,\n m.from_contact_id,\n m.from_name\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n WHERE ml.message_id = m.id\n AND ml.label_id = (SELECT id FROM spam_label)\n )\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml\n WHERE ml.message_id = m.id\n AND ml.label_id = (SELECT id FROM trash_label)\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details for the final result set.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- true,
- true,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "a2c42d1ef0b78555844e0feddc14956117973fadd5565af9a2c48c7d2230e05f"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json b/rust/cloud-storage/soup/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
deleted file mode 100644
index 7626c0a06b..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET seen_at = NOW()\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "a5d9f358b5382c0eaed918f903bc6aa328f527e6e47d649c37dfcf1c9f3a7139"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json b/rust/cloud-storage/soup/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json
deleted file mode 100644
index ca7b895e22..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.provider_id,\n t.inbox_visible,\n t.is_read,\n t.effective_ts AS \"sort_ts!\",\n t.created_at AS \"created_at!\",\n t.updated_at AS \"updated_at!\",\n t.project_id,\n t.viewed_at AS \"viewed_at?\",\n lmp.subject AS \"name?\",\n lmp.snippet AS \"snippet?\",\n lmp.is_draft,\n -- A thread in \"Other\" can still be \"Important\", so we must perform the check.\n (\n SELECT EXISTS (\n SELECT 1\n FROM email_messages m_imp\n JOIN email_message_labels ml ON m_imp.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m_imp.thread_id = t.id\n AND l.link_id = t.link_id\n AND l.name = 'IMPORTANT'\n )\n ) AS \"is_important!\",\n c.email_address AS \"sender_email?\",\n COALESCE(lmp.from_name, c.name) AS \"sender_name?\",\n c.sfs_photo_url as \"sender_photo_url?\",\n el.macro_id AS \"owner_id!\"\n FROM (\n -- Step 1: Efficiently find, sort, and limit the top N+1 threads that qualify for the \"Other\" inbox.\n SELECT\n t.id,\n t.provider_id,\n t.link_id,\n t.inbox_visible,\n t.is_read,\n t.project_id,\n t.latest_non_spam_message_ts AS created_at,\n t.latest_non_spam_message_ts AS updated_at,\n uh.updated_at AS viewed_at,\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_non_spam_message_ts)\n ELSE t.latest_non_spam_message_ts\n END AS effective_ts\n FROM email_threads t\n LEFT JOIN email_user_history uh ON uh.thread_id = t.id AND uh.link_id = t.link_id\n WHERE\n t.link_id = $1\n AND t.latest_non_spam_message_ts IS NOT NULL\n -- Inclusion Criteria: Must have a category label.\n AND EXISTS (\n SELECT 1 FROM email_messages m JOIN email_message_labels ml ON m.id = ml.message_id JOIN email_labels l ON ml.label_id = l.id\n WHERE m.thread_id = t.id AND l.link_id = t.link_id AND l.name IN ('CATEGORY_PROMOTIONS', 'CATEGORY_SOCIAL', 'CATEGORY_FORUMS')\n )\n -- ****** CORRECTED EXCLUSION CRITERIA ******\n -- This now matches the logic of your original query, which did NOT filter out 'INBOX' or 'IMPORTANT'.\n AND NOT EXISTS (\n SELECT 1 FROM email_messages m JOIN email_message_labels ml ON m.id = ml.message_id JOIN email_labels l ON ml.label_id = l.id\n WHERE m.thread_id = t.id AND l.link_id = t.link_id AND l.name IN ('SPAM', 'TRASH', 'DRAFT')\n )\n \n AND (($3::timestamptz IS NULL) OR (\n CASE $5 -- sort_method_str\n WHEN 'viewed_at' THEN COALESCE(uh.\"updated_at\", '1970-01-01 00:00:00+00')\n WHEN 'viewed_updated' THEN COALESCE(uh.updated_at, t.latest_non_spam_message_ts)\n ELSE t.latest_non_spam_message_ts\n END, t.id\n ) < ($3::timestamptz, $4::uuid))\n ORDER BY effective_ts DESC, t.updated_at DESC\n LIMIT $2\n ) AS t\n -- Step 2: For EACH of the limited threads from above, find its latest non-spam/trash message for the preview.\n CROSS JOIN LATERAL (\n SELECT\n m.subject,\n m.snippet,\n m.is_draft,\n m.from_contact_id,\n m.from_name\n FROM email_messages m\n WHERE m.thread_id = t.id\n AND m.is_draft = FALSE\n AND NOT EXISTS (\n SELECT 1 FROM email_message_labels ml JOIN email_labels l ON ml.label_id = l.id\n WHERE ml.message_id = m.id AND l.link_id = t.link_id AND l.name IN ('SPAM', 'TRASH')\n )\n ORDER BY m.internal_date_ts DESC\n LIMIT 1\n ) AS lmp\n -- Step 3: Join to get the sender's details.\n LEFT JOIN email_contacts c ON lmp.from_contact_id = c.id\n JOIN email_links el ON t.link_id = el.id\n ORDER BY t.effective_ts DESC, t.updated_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "sort_ts!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "project_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "viewed_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "name?",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "snippet?",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "is_important!",
- "type_info": "Bool"
- },
- {
- "ordinal": 13,
- "name": "sender_email?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 14,
- "name": "sender_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 15,
- "name": "sender_photo_url?",
- "type_info": "Text"
- },
- {
- "ordinal": 16,
- "name": "owner_id!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Timestamptz",
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- null,
- true,
- true,
- true,
- false,
- true,
- true,
- false,
- null,
- false,
- null,
- true,
- false
- ]
- },
- "hash": "a774adbda891d81dd017de5b0b50f41a5a1da6e4c5a81e51eb3cb267f10ef1fc"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json b/rust/cloud-storage/soup/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
deleted file mode 100644
index f214362a1f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'call'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (\n SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1\n )\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "a94e5ac730ba6bdb11e9b27b11babb1552e787c0920e1102882acc4381245f24"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json b/rust/cloud-storage/soup/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
deleted file mode 100644
index b0fb258d2d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT l.macro_id\n FROM email_threads et\n JOIN email_links l ON et.link_id = l.id\n WHERE et.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "macro_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "ac30668bed9f5d19db9e0a0cacda6ee156a13fae34c5ccb129794c9d16e95e10"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json b/rust/cloud-storage/soup/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
deleted file mode 100644
index f91da73bfc..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, email_address\n FROM email_contacts\n WHERE link_id = $1 AND email_address = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "email_address",
- "type_info": "Varchar"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "b0c4750b13bbd3de768ac09f971094ac7f53c161f7054083964f472fa01dd83d"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json b/rust/cloud-storage/soup/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json
deleted file mode 100644
index e2f94b21f4..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_message_labels\n WHERE\n message_id = ANY($1)\n AND label_id = (\n SELECT id FROM email_labels\n WHERE link_id = $2 AND provider_label_id = $3\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "Uuid",
- "Text"
- ]
- },
- "nullable": []
- },
- "hash": "b0e8935f157a7ae307fb050b39d0dde4e9e2e39f7cb20c716fbbcc1ffe320cd1"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json b/rust/cloud-storage/soup/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json
deleted file mode 100644
index 9d7bd134c0..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE email_messages m\n SET\n is_read = $1,\n updated_at = NOW()\n WHERE\n m.id = ANY($2)\n AND m.link_id = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Bool",
- "UuidArray",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "b1c4d610f2fe772e88b8e78bc872f01c886031d866616effed3c6a61a99d2413"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json b/rust/cloud-storage/soup/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
deleted file mode 100644
index aa74e2b98b..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'email_thread'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b1ca353c3b2a80e3dadf3415cc79d4a08684a7a76ecaf47edfc5bedf5a0e1815"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json b/rust/cloud-storage/soup/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json
deleted file mode 100644
index 4ab9cd0461..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM entity_properties WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "b370ac2ac7ace6911ff13454d24ff42b906dcc72b2fb4bcd783b8cb7c06ceab4"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json b/rust/cloud-storage/soup/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
deleted file mode 100644
index e5d913399d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO notification_user_device_registration (id, user_id, device_token, device_endpoint, device_type)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (device_endpoint) DO UPDATE SET user_id = $2, device_token = $3, device_type = $5, updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text",
- "Text",
- {
- "Custom": {
- "name": "notification_device_type_option",
- "kind": {
- "Enum": [
- "ios",
- "android"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "b3f9f3696438bd2ad8754650d87d7bbf32e70d3d173a748a07eacdb4e42841eb"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json b/rust/cloud-storage/soup/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json
deleted file mode 100644
index 765e4bd327..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT emr.message_id\n FROM email_message_recipients emr\n JOIN email_messages m ON m.id = emr.message_id\n WHERE emr.message_id = ANY($1)\n AND m.from_contact_id IS NOT NULL\n AND emr.contact_id = m.from_contact_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "message_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "b4d3994adddd1a4b1c769cf01690bedbf26640fdfad218b4dca813bdcee08a5a"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json b/rust/cloud-storage/soup/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
deleted file mode 100644
index be13d76b25..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'document'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"DocumentPermission\" WHERE \"documentId\" = $3\n ) \n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b56786cafd46e138a172ca008f6586c551794b50c95616b56b7c94ac7c2d4524"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json b/rust/cloud-storage/soup/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
deleted file mode 100644
index 1168d26a34..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE notification_message_receipt\n SET failed = true, failed_at = NOW()\n WHERE message_id = $1\n RETURNING user_id, notification_id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- false
- ]
- },
- "hash": "b6705d3675950d0bbbd4a0ba10f7716a24694cfd98741fc0508d607684b1c8a9"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json b/rust/cloud-storage/soup/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json
deleted file mode 100644
index 9c01b8fe22..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf.json
+++ /dev/null
@@ -1,96 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id,\n link_id,\n provider_label_id,\n name,\n created_at,\n message_list_visibility as \"message_list_visibility: _\",\n label_list_visibility as \"label_list_visibility: _\",\n type as \"type_: _\"\n FROM email_labels\n WHERE id = $1 AND link_id = $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_label_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "message_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_message_list_visibility_enum",
- "kind": {
- "Enum": [
- "Show",
- "Hide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 6,
- "name": "label_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_label_list_visibility_enum",
- "kind": {
- "Enum": [
- "LabelShow",
- "LabelShowIfUnread",
- "LabelHide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "type_: _",
- "type_info": {
- "Custom": {
- "name": "email_label_type_enum",
- "kind": {
- "Enum": [
- "System",
- "User"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "b79ca4a7b148d78ddf48b5c57dea59763b17693c09564a0190ed377dd09342cf"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json b/rust/cloud-storage/soup/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
deleted file mode 100644
index 331e15bd4e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_message_recipients\n WHERE message_id = $1\n AND (contact_id, recipient_type) NOT IN (\n SELECT contact_id, recipient_type\n FROM unnest($2::uuid[], $3::email_recipient_type[])\n AS t(contact_id, recipient_type)\n )\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "UuidArray",
- {
- "Custom": {
- "name": "email_recipient_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "email_recipient_type",
- "kind": {
- "Enum": [
- "TO",
- "CC",
- "BCC"
- ]
- }
- }
- }
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "b8eb30360d1232b36214b17758d8c7d897251a93c7d56b310a2fc6f026fdbea9"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json b/rust/cloud-storage/soup/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json
deleted file mode 100644
index 4063a3122f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b.json
+++ /dev/null
@@ -1,146 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT \n pd.id,\n pd.organization_id,\n pd.user_id,\n pd.display_name,\n pd.data_type as \"data_type: DataType\",\n pd.is_multi_select,\n pd.specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n pd.created_at,\n pd.updated_at,\n pd.is_system,\n po.id as \"option_id?\",\n po.display_order as \"option_display_order?\",\n po.number_value as option_number_value,\n po.string_value as option_string_value,\n po.created_at as \"option_created_at?\",\n po.updated_at as \"option_updated_at?\"\n FROM property_definitions pd\n LEFT JOIN property_options po ON pd.id = po.property_definition_id\n WHERE \n ($3 AND pd.is_system)\n OR (\n ($1::int IS NOT NULL AND pd.organization_id = $1) \n OR ($2::text IS NOT NULL AND pd.user_id = $2)\n )\n ORDER BY LOWER(pd.display_name), po.display_order, po.number_value, LOWER(po.string_value)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "is_system",
- "type_info": "Bool"
- },
- {
- "ordinal": 10,
- "name": "option_id?",
- "type_info": "Uuid"
- },
- {
- "ordinal": 11,
- "name": "option_display_order?",
- "type_info": "Int4"
- },
- {
- "ordinal": 12,
- "name": "option_number_value",
- "type_info": "Float8"
- },
- {
- "ordinal": 13,
- "name": "option_string_value",
- "type_info": "Text"
- },
- {
- "ordinal": 14,
- "name": "option_created_at?",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "option_updated_at?",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Int4",
- "Text",
- "Bool"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "b9570b07121de0df914dd0579cc92a5e92973cf114526f80dbe7ab714493090b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json b/rust/cloud-storage/soup/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
deleted file mode 100644
index d560cb7eb3..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'chat'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ChatPermission\" WHERE \"chatId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "b9fc3c761760c8e3d0013e064f23a9ad1f17396c8f5f91e9cc27e2ba9ba02157"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json b/rust/cloud-storage/soup/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
deleted file mode 100644
index 3ed3f3db5e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE id in (SELECT share_permission_id\n FROM calls\n WHERE id = $1\n UNION ALL\n SELECT share_permission_id\n FROM call_records\n WHERE id = $1\n LIMIT 1)\n AND \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "bdb882d426cf81329dd6d824a5d945cfd0ea2fffa26b5324ef641dfe3e304682"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json b/rust/cloud-storage/soup/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json
deleted file mode 100644
index e2aa061544..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM entity_properties WHERE entity_id = $1 AND entity_type = $2",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- ]
- },
- "nullable": []
- },
- "hash": "c12b511f8fbe853ce8e5489db2468ee8a07030cb234bc0a10bc014c493b8e9c2"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json b/rust/cloud-storage/soup/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json
deleted file mode 100644
index 9da8336f8e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n DELETE FROM email_message_recipients\n WHERE message_id = $1\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "c33f85b35573916eb380c8b6069939087fbd3b34b296b546a34cdfc3e7c9eee0"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json b/rust/cloud-storage/soup/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json
deleted file mode 100644
index d93442c86c..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.id,\n m.thread_id,\n m.provider_thread_id,\n m.headers_jsonb,\n m.is_sent,\n m.is_draft\n FROM email_messages m\n WHERE m.link_id = $1\n AND m.is_draft = true\n AND jsonb_path_exists(\n m.headers_jsonb,\n '$[*] ? (@.\"Macro-In-Reply-To\" == $macro_uuid)'::jsonpath,\n jsonb_build_object('macro_uuid', $2::text)\n )\n ORDER BY m.created_at DESC\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "provider_thread_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "headers_jsonb",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 4,
- "name": "is_sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "is_draft",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "c3f8291d5ce84fb1eb463eaa0f0aed0c3ac2ed1297f345941cc8c2bfdcadedd5"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json b/rust/cloud-storage/soup/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json
deleted file mode 100644
index 93c23384d7..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "INSERT INTO email_filters (link_id, email_domain, is_important)\n VALUES ($1, $2, $3)\n ON CONFLICT (link_id, lower(email_domain)) WHERE email_domain IS NOT NULL\n DO UPDATE SET is_important = EXCLUDED.is_important\n RETURNING id, link_id, email_address, email_domain, is_important, created_at",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 3,
- "name": "email_domain",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "is_important",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Varchar",
- "Bool"
- ]
- },
- "nullable": [
- false,
- false,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "c4d2fed1a0fb95c20ef9b4049cc5cacfb7f0a441c630528d2cde076211ff63f9"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json b/rust/cloud-storage/soup/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json
deleted file mode 100644
index c6b12842de..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM property_options WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "c6f8bb6a2a9cda820cf54efb5e4ff8b048d735cfcc23716612f2ee66a8c7151c"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json b/rust/cloud-storage/soup/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json
deleted file mode 100644
index dec05aa8a8..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, macro_id, fusionauth_user_id, email_address, provider as \"provider: _\",\n is_sync_active, created_at, updated_at\n FROM email_links\n WHERE fusionauth_user_id = $1 AND macro_id = $2 AND provider = $3\n LIMIT 1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "macro_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "fusionauth_user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "email_address",
- "type_info": "Varchar"
- },
- {
- "ordinal": 4,
- "name": "provider: _",
- "type_info": {
- "Custom": {
- "name": "email_user_provider_enum",
- "kind": {
- "Enum": [
- "GMAIL"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_sync_active",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- {
- "Custom": {
- "name": "email_user_provider_enum",
- "kind": {
- "Enum": [
- "GMAIL"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "c8569a737734eab039a3ca9759478b203596330442305a6f3925edf67a8b52a3"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json b/rust/cloud-storage/soup/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json
deleted file mode 100644
index c15673d65f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT id, draft_id, file_name, content_type, sha, size, s3_key\n FROM email_attachments_drafts\n WHERE draft_id = ANY($1)\n ORDER BY draft_id, file_name ASC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "draft_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "file_name",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "content_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sha",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "size",
- "type_info": "Int4"
- },
- {
- "ordinal": 6,
- "name": "s3_key",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "c8e8b950c4f8645562fb36042b549b0c1f6ec3da1b9beb4d212ddd5bc640948e"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json b/rust/cloud-storage/soup/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
deleted file mode 100644
index 1216b39a3c..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'project'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: items share permission\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" = $3\n )\n )\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "c8f152fcf66d2a28cb74bd5e5bd00494b195ba6fa890f7ed840a04dc49088476"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json b/rust/cloud-storage/soup/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
deleted file mode 100644
index ddcaf87146..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT cp.channel_id::text FROM comms_channel_participants cp\n WHERE cp.user_id = $1 AND cp.left_at IS NULL\n UNION ALL\n SELECT t.team_id::text FROM team_user t\n WHERE t.user_id = $1\n UNION ALL\n SELECT $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "cac5e246875c3539f7a03cee8271708be47a56582c2f0323716f206ab905a580"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json b/rust/cloud-storage/soup/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
deleted file mode 100644
index f3780614e0..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac.json
+++ /dev/null
@@ -1,97 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n un.user_id as owner_id,\n un.notification_id,\n n.event_item_id,\n n.event_item_type,\n un.sent,\n un.done,\n un.created_at::timestamptz as \"created_at!\",\n un.seen_at::timestamptz as viewed_at,\n un.created_at::timestamptz as \"updated_at!\",\n un.deleted_at::timestamptz,\n n.metadata as \"notification_metadata: serde_json::Value\",\n n.notification_event_type as notification_event_type,\n n.sender_id as sender_id\n FROM user_notification un\n JOIN notification n ON n.id = un.notification_id\n WHERE un.user_id = $1\n AND un.deleted_at IS NULL\n AND un.done = false\n AND (($3::timestamptz IS NULL)\n OR (un.created_at, un.notification_id) < ($3, $4))\n ORDER BY un.created_at DESC, un.notification_id DESC\n LIMIT $2\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "owner_id",
- "type_info": "Text"
- },
- {
- "ordinal": 1,
- "name": "notification_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "event_item_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_item_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "done",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "created_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "viewed_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at!",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "deleted_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "notification_metadata: serde_json::Value",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 11,
- "name": "notification_event_type",
- "type_info": "Varchar"
- },
- {
- "ordinal": 12,
- "name": "sender_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Int8",
- "Timestamptz",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- null,
- null,
- null,
- null,
- false,
- false,
- true
- ]
- },
- "hash": "d20bc5b5dfecf0a2ef4b7d77b9090ad28584cd0a1fd24460096b6a5097a870ac"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json b/rust/cloud-storage/soup/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json
deleted file mode 100644
index 563aad9bf4..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT *\n FROM\n frecency_events\n WHERE was_processed = false\n LIMIT $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "entity_type",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "event_type",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "timestamp",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 5,
- "name": "connection_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 7,
- "name": "was_processed",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "d42e3270642ca0b9eff6b5807f600c24fd26d50d612a66edf0738c62d15680ba"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json b/rust/cloud-storage/soup/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json
deleted file mode 100644
index 07bca28bb4..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT DISTINCT ON (l.id, m.thread_id)\n l.id,\n m.thread_id as \"thread_id!\",\n l.link_id,\n l.provider_label_id,\n l.name,\n l.created_at,\n l.message_list_visibility as \"message_list_visibility: _\",\n l.label_list_visibility as \"label_list_visibility: _\",\n l.type as \"type_: _\"\n FROM\n email_messages m\n JOIN email_message_labels ml ON m.id = ml.message_id\n JOIN email_labels l ON ml.label_id = l.id\n WHERE m.thread_id = ANY($1)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "thread_id!",
- "type_info": "Uuid"
- },
- {
- "ordinal": 2,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "provider_label_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "name",
- "type_info": "Varchar"
- },
- {
- "ordinal": 5,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "message_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_message_list_visibility_enum",
- "kind": {
- "Enum": [
- "Show",
- "Hide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "label_list_visibility: _",
- "type_info": {
- "Custom": {
- "name": "email_label_list_visibility_enum",
- "kind": {
- "Enum": [
- "LabelShow",
- "LabelShowIfUnread",
- "LabelHide"
- ]
- }
- }
- }
- },
- {
- "ordinal": 8,
- "name": "type_: _",
- "type_info": {
- "Custom": {
- "name": "email_label_type_enum",
- "kind": {
- "Enum": [
- "System",
- "User"
- ]
- }
- }
- }
- }
- ],
- "parameters": {
- "Left": [
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "d501983b009e4418f1753f03db0ea12db11f18e4a89a76c87b4c8ddda431cbdb"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-d536db3ccfb32aee9a48227e2b15d2404023ea24b62c159466c95899d76e29ed.json b/rust/cloud-storage/soup/.sqlx/query-d536db3ccfb32aee9a48227e2b15d2404023ea24b62c159466c95899d76e29ed.json
deleted file mode 100644
index 6ef8856744..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-d536db3ccfb32aee9a48227e2b15d2404023ea24b62c159466c95899d76e29ed.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n WITH RECURSIVE project_hierarchy AS (\n SELECT p.id as project_id\n FROM email_threads t\n JOIN \"Project\" p ON t.project_id = p.id AND p.\"deletedAt\" IS NULL\n WHERE t.id = $1\n UNION ALL\n SELECT parent.id as project_id\n FROM project_hierarchy ph\n JOIN \"Project\" parent ON parent.id = (\n SELECT \"parentId\" FROM \"Project\" WHERE id = ph.project_id AND \"parentId\" IS NOT NULL AND \"deletedAt\" IS NULL\n )\n )\n SELECT access_level FROM (\n -- Source 1: Cast the AccessLevel enum to text.\n SELECT access_level::text FROM \"UserItemAccess\"\n WHERE user_id = $3 AND item_id IN (\n SELECT $2 -- The thread ID as text\n UNION\n SELECT project_id FROM project_hierarchy -- All parent projects\n )\n UNION ALL\n -- Source 2: Select the publicAccessLevel (which is already text).\n SELECT \"publicAccessLevel\" as access_level\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true AND \"publicAccessLevel\" IS NOT NULL AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $2\n UNION\n SELECT \"sharePermissionId\" FROM \"ProjectPermission\" WHERE \"projectId\" IN (SELECT project_id FROM project_hierarchy)\n )\n ) as all_levels\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "d536db3ccfb32aee9a48227e2b15d2404023ea24b62c159466c95899d76e29ed"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json b/rust/cloud-storage/soup/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json
deleted file mode 100644
index 6790b93ff8..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT t.id, t.provider_id, t.link_id, t.inbox_visible, t.is_read,\n t.latest_inbound_message_ts, t.latest_outbound_message_ts,\n t.latest_non_spam_message_ts, t.created_at, t.updated_at,\n t.project_id\n FROM email_threads t\n WHERE t.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "inbox_visible",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 5,
- "name": "latest_inbound_message_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "latest_outbound_message_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "latest_non_spam_message_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 10,
- "name": "project_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- false,
- false,
- true,
- true,
- true,
- false,
- false,
- true
- ]
- },
- "hash": "d9956cd2e52cda4f0e7c080058d33f2bbf35c99b29e7482f198d592ff435cf28"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json b/rust/cloud-storage/soup/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
deleted file mode 100644
index d197caf563..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT user_id FROM user_notification_type_preference\n WHERE notification_event_type = $1 AND user_id = ANY($2)\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "user_id",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "TextArray"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "db297e24e3ed1e94c27121977d81813bbe4cde5e5b7bec42e424c72db0e27e73"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json b/rust/cloud-storage/soup/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json
deleted file mode 100644
index 2ce75f867a..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n t.id,\n t.latest_inbound_message_ts as last_received,\n t.latest_outbound_message_ts as last_sent,\n first_msg.internal_date_ts as thread_started,\n first_msg.subject,\n (SELECT COUNT(*)::bigint FROM email_messages WHERE thread_id = t.id) as \"message_count!\"\n FROM\n email_threads t\n -- LATERAL join to get subject and timestamp from the first message\n LEFT JOIN LATERAL (\n SELECT internal_date_ts, subject\n FROM email_messages\n WHERE thread_id = t.id\n ORDER BY internal_date_ts ASC NULLS LAST\n LIMIT 1\n ) first_msg ON true\n WHERE\n t.id = $1\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "last_received",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 2,
- "name": "last_sent",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 3,
- "name": "thread_started",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 4,
- "name": "subject",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "message_count!",
- "type_info": "Int8"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- true,
- true,
- true,
- null
- ]
- },
- "hash": "dc836e7dd12a3df4a05ba072af32cb1aca7d6b8c20e636adff6fb3977577e62a"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json b/rust/cloud-storage/soup/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json
deleted file mode 100644
index f8ffb29abe..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5.json
+++ /dev/null
@@ -1,149 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n m.id,\n m.provider_id,\n m.thread_id,\n m.provider_thread_id,\n m.replying_to_id,\n m.global_id,\n m.link_id,\n m.subject,\n m.snippet,\n m.from_contact_id,\n m.provider_history_id,\n m.internal_date_ts,\n m.sent_at,\n m.size_estimate,\n m.is_read,\n m.is_starred,\n m.is_sent,\n m.is_draft,\n m.has_attachments,\n m.headers_jsonb,\n m.created_at,\n m.updated_at\n FROM email_messages m\n WHERE m.thread_id = $1 AND m.link_id = $2\n ORDER BY m.internal_date_ts DESC NULLS LAST\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "provider_thread_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "replying_to_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 5,
- "name": "global_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "subject",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "snippet",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "from_contact_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 10,
- "name": "provider_history_id",
- "type_info": "Text"
- },
- {
- "ordinal": 11,
- "name": "internal_date_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 12,
- "name": "sent_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 13,
- "name": "size_estimate",
- "type_info": "Int8"
- },
- {
- "ordinal": 14,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 15,
- "name": "is_starred",
- "type_info": "Bool"
- },
- {
- "ordinal": 16,
- "name": "is_sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 17,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 18,
- "name": "has_attachments",
- "type_info": "Bool"
- },
- {
- "ordinal": 19,
- "name": "headers_jsonb",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 20,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 21,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- true,
- true,
- false,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- false,
- false
- ]
- },
- "hash": "dfc54abc6dd32c35bf3d3c65288ead04d9990d5f6613bd7668dd7cba38ebe3a5"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json b/rust/cloud-storage/soup/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json
deleted file mode 100644
index a6d8c54236..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92.json
+++ /dev/null
@@ -1,140 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO property_definitions (\n id,\n organization_id, \n user_id, \n display_name, \n data_type, \n is_multi_select,\n specific_entity_type\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING \n id,\n organization_id,\n user_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 2,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 5,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 6,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 7,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 8,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int4",
- "Text",
- "Text",
- {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- },
- "Bool",
- {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- ]
- },
- "nullable": [
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false
- ]
- },
- "hash": "e0b90388e3a9f7dbd1e6586cb0633b0d2d39d64dcc88a0f0c5cd310303e7dc92"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json b/rust/cloud-storage/soup/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json
deleted file mode 100644
index 1bb390dc5d..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM property_definitions WHERE id = $1",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "e3502d4611d734fa9d27c17c3adb0785d06317da255894345de287a654f24fc3"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json b/rust/cloud-storage/soup/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
deleted file mode 100644
index 3ac1b029f6..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n \"publicAccessLevel\" as \"access_level!\"\n FROM \"SharePermission\"\n WHERE \"isPublic\" = true\n AND \"publicAccessLevel\" IS NOT NULL\n AND id IN (\n SELECT \"sharePermissionId\" FROM \"EmailThreadPermission\" WHERE \"threadId\" = $1\n )\n\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "access_level!",
- "type_info": "Text"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- true
- ]
- },
- "hash": "e35594f0b886c9eaba037a0b13ccb3baf21cd37b638190889fb5383180a8e437"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json b/rust/cloud-storage/soup/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json
deleted file mode 100644
index f0ae8ed700..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT *\n FROM frecency_aggregates\n WHERE user_id = $1 AND ($2::float8 IS NULL OR frecency_score < $2)\n ORDER BY frecency_score DESC\n LIMIT $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Int8"
- },
- {
- "ordinal": 1,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "entity_type",
- "type_info": "Text"
- },
- {
- "ordinal": 3,
- "name": "user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "event_count",
- "type_info": "Int4"
- },
- {
- "ordinal": 5,
- "name": "frecency_score",
- "type_info": "Float8"
- },
- {
- "ordinal": 6,
- "name": "first_event",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "recent_events",
- "type_info": "Jsonb"
- }
- ],
- "parameters": {
- "Left": [
- "Text",
- "Float8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "e4e4c79727e7a83f2dfbb1d82a00a771eb3bd08aab63d2be4a1338fbde315f62"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json b/rust/cloud-storage/soup/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json
deleted file mode 100644
index 3ace0da282..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "DELETE FROM email_filters WHERE id = $1 AND link_id = $2",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Uuid",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "e70d5acce88125ae894d9d57356559c6e59e236c9650211a52fdc90602318cc3"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json b/rust/cloud-storage/soup/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json
deleted file mode 100644
index 5d51a7025e..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO email_threads (id, provider_id, link_id, inbox_visible, is_read,\n latest_inbound_message_ts, latest_outbound_message_ts,\n latest_non_spam_message_ts)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)\n ON CONFLICT (link_id, provider_id) WHERE provider_id IS NOT NULL DO UPDATE\n SET\n latest_inbound_message_ts = EXCLUDED.latest_inbound_message_ts,\n updated_at = NOW()\n RETURNING id\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Text",
- "Uuid",
- "Bool",
- "Bool",
- "Timestamptz",
- "Timestamptz",
- "Timestamptz"
- ]
- },
- "nullable": [
- false
- ]
- },
- "hash": "e7e9e2db72c9bf45273b0cfe11057a5dbce790572f2420457e24b0fd498c2024"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json b/rust/cloud-storage/soup/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json
deleted file mode 100644
index 65e2bc75d4..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO frecency_events (\n user_id,\n entity_type,\n event_type,\n timestamp,\n connection_id,\n entity_id,\n was_processed\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Text",
- "Text",
- "Timestamptz",
- "Text",
- "Text",
- "Bool"
- ]
- },
- "nullable": []
- },
- "hash": "ec772d88365b803914f51dbe270f14ab6cdd2fe57c9d76e430cfef7234e92168"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json b/rust/cloud-storage/soup/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json
deleted file mode 100644
index 13653d45bf..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0.json
+++ /dev/null
@@ -1,185 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\nSELECT\n ep.id as entity_property_id,\n ep.entity_id,\n ep.entity_type as \"entity_type: EntityType\",\n ep.property_definition_id,\n ep.values as \"values: sqlx::types::JsonValue\",\n ep.created_at as entity_property_created_at,\n ep.updated_at as entity_property_updated_at,\n pd.organization_id as definition_organization_id,\n pd.user_id as definition_user_id,\n pd.display_name,\n pd.data_type as \"data_type: DataType\",\n pd.is_multi_select,\n pd.specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n pd.created_at as definition_created_at,\n pd.updated_at as definition_updated_at,\n pd.is_system as definition_is_system\nFROM entity_properties ep\nINNER JOIN property_definitions pd ON ep.property_definition_id = pd.id\nWHERE (ep.entity_id, ep.entity_type) IN (\n SELECT * FROM UNNEST($1::TEXT[], $2::property_entity_type[])\n)\nAND pd.id = ANY($3::UUID[])\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "entity_property_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "entity_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "entity_type: EntityType",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 3,
- "name": "property_definition_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "values: sqlx::types::JsonValue",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 5,
- "name": "entity_property_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "entity_property_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "definition_organization_id",
- "type_info": "Int4"
- },
- {
- "ordinal": 8,
- "name": "definition_user_id",
- "type_info": "Text"
- },
- {
- "ordinal": 9,
- "name": "display_name",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "data_type: DataType",
- "type_info": {
- "Custom": {
- "name": "property_data_type",
- "kind": {
- "Enum": [
- "BOOLEAN",
- "DATE",
- "NUMBER",
- "STRING",
- "SELECT_NUMBER",
- "SELECT_STRING",
- "ENTITY",
- "LINK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 11,
- "name": "is_multi_select",
- "type_info": "Bool"
- },
- {
- "ordinal": 12,
- "name": "specific_entity_type: Option<EntityType>",
- "type_info": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- },
- {
- "ordinal": 13,
- "name": "definition_created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 14,
- "name": "definition_updated_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 15,
- "name": "definition_is_system",
- "type_info": "Bool"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- {
- "Custom": {
- "name": "property_entity_type[]",
- "kind": {
- "Array": {
- "Custom": {
- "name": "property_entity_type",
- "kind": {
- "Enum": [
- "CHANNEL",
- "CHAT",
- "DOCUMENT",
- "PROJECT",
- "THREAD",
- "USER",
- "COMPANY",
- "TASK"
- ]
- }
- }
- }
- }
- }
- },
- "UuidArray"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- false,
- false,
- true,
- true,
- false,
- false,
- false,
- true,
- false,
- false,
- false
- ]
- },
- "hash": "edce1ca1979c9bd7c42f7e89d80a8d25037d25951b1f406dddb8d62cc13f74f0"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json b/rust/cloud-storage/soup/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
deleted file mode 100644
index 1cbb49a96b..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO user_notification (notification_id, user_id)\n SELECT $1, user_id\n FROM UNNEST($2::text[]) as user_id\n RETURNING created_at::timestamptz as \"created_at!\"\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "created_at!",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "TextArray"
- ]
- },
- "nullable": [
- null
- ]
- },
- "hash": "efc740cd935fb67ef5c2a75b3c37cf16bf09d6e52e5f6e5c5b107ef8244a141d"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json b/rust/cloud-storage/soup/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
deleted file mode 100644
index 39180b3b0f..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE user_notification\n SET deleted_at = NOW()\n WHERE user_id = $1 AND notification_id = ANY($2)\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "f3e53dd531be738b881df199783a2beded3bd378038cbd6f012080ac77c5291b"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json b/rust/cloud-storage/soup/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json
deleted file mode 100644
index 8f396b9fba..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748.json
+++ /dev/null
@@ -1,162 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id, provider_id, thread_id, provider_thread_id, replying_to_id,\n global_id, link_id, provider_history_id, internal_date_ts, snippet,\n size_estimate, subject, sent_at, has_attachments, is_read, is_starred,\n is_sent, is_draft, body_text, body_html_sanitized, body_macro,\n headers_jsonb, created_at, updated_at\n FROM email_messages\n WHERE thread_id = $1\n ORDER BY internal_date_ts DESC\n LIMIT $2 OFFSET $3\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 2,
- "name": "thread_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "provider_thread_id",
- "type_info": "Text"
- },
- {
- "ordinal": 4,
- "name": "replying_to_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 5,
- "name": "global_id",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "link_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 7,
- "name": "provider_history_id",
- "type_info": "Text"
- },
- {
- "ordinal": 8,
- "name": "internal_date_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 9,
- "name": "snippet",
- "type_info": "Text"
- },
- {
- "ordinal": 10,
- "name": "size_estimate",
- "type_info": "Int8"
- },
- {
- "ordinal": 11,
- "name": "subject",
- "type_info": "Text"
- },
- {
- "ordinal": 12,
- "name": "sent_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 13,
- "name": "has_attachments",
- "type_info": "Bool"
- },
- {
- "ordinal": 14,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 15,
- "name": "is_starred",
- "type_info": "Bool"
- },
- {
- "ordinal": 16,
- "name": "is_sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 17,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 18,
- "name": "body_text",
- "type_info": "Text"
- },
- {
- "ordinal": 19,
- "name": "body_html_sanitized",
- "type_info": "Text"
- },
- {
- "ordinal": 20,
- "name": "body_macro",
- "type_info": "Text"
- },
- {
- "ordinal": 21,
- "name": "headers_jsonb",
- "type_info": "Jsonb"
- },
- {
- "ordinal": 22,
- "name": "created_at",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 23,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid",
- "Int8",
- "Int8"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- true,
- true,
- false,
- true,
- true,
- true,
- true,
- true,
- true,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- true,
- true,
- false,
- false
- ]
- },
- "hash": "f95b295c9ffa7b96a7907c43c0557d60af3f02fc72c3f541bc94c903034a6748"
-}
diff --git a/rust/cloud-storage/soup/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json b/rust/cloud-storage/soup/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json
deleted file mode 100644
index ca1b2f5d86..0000000000
--- a/rust/cloud-storage/soup/.sqlx/query-fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n id, is_draft, is_sent, is_read, provider_id,\n internal_date_ts, updated_at\n FROM email_messages\n WHERE thread_id = $1\n ORDER BY internal_date_ts DESC NULLS LAST\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "is_draft",
- "type_info": "Bool"
- },
- {
- "ordinal": 2,
- "name": "is_sent",
- "type_info": "Bool"
- },
- {
- "ordinal": 3,
- "name": "is_read",
- "type_info": "Bool"
- },
- {
- "ordinal": 4,
- "name": "provider_id",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "internal_date_ts",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 6,
- "name": "updated_at",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "Uuid"
- ]
- },
- "nullable": [
- false,
- false,
- false,
- false,
- true,
- true,
- false
- ]
- },
- "hash": "fc6df4dc3c0f82de02b70975338d7455df93799b12af38d50bb85d81391861c3"
-}
diff --git a/rust/cloud-storage/sqlx.just b/rust/cloud-storage/sqlx.just
index 1b38d10f8e..74b52d6bee 100644
--- a/rust/cloud-storage/sqlx.just
+++ b/rust/cloud-storage/sqlx.just
@@ -12,7 +12,7 @@ migrate_db $DATABASE_URL:
[no-cd]
prepare_db $DATABASE_URL *FLAGS:
- cargo sqlx prepare -- {{ FLAGS }} --all-features
+ cargo sqlx prepare --workspace -- {{ FLAGS }} --all-features
[no-cd]
drop_db $DATABASE_URL *FLAGS:
diff --git a/rust/cloud-storage/system_properties/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json b/rust/cloud-storage/system_properties/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json
deleted file mode 100644
index d2b084cf10..0000000000
--- a/rust/cloud-storage/system_properties/.sqlx/query-1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_properties (id, entity_id, entity_type, property_definition_id, values)\n SELECT \n u.id,\n u.entity_id,\n 'TASK'::property_entity_type,\n u.property_definition_id,\n u.values\n FROM UNNEST(\n $1::UUID[],\n $2::TEXT[],\n $3::UUID[],\n $4::JSONB[]\n ) AS u(id, entity_id, property_definition_id, values)\n ON CONFLICT (entity_id, entity_type, property_definition_id)\n DO UPDATE SET \n values = EXCLUDED.values,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "TextArray",
- "UuidArray",
- "JsonbArray"
- ]
- },
- "nullable": []
- },
- "hash": "1435acbba365796ddcb6ddbef86f4ebf664cffc44082996f6b60a60373c28f75"
-}
diff --git a/rust/cloud-storage/system_properties/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json b/rust/cloud-storage/system_properties/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json
deleted file mode 100644
index 6d97183829..0000000000
--- a/rust/cloud-storage/system_properties/.sqlx/query-63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_properties (id, entity_id, entity_type, property_definition_id, values)\n SELECT \n u.id,\n u.entity_id,\n 'TASK'::property_entity_type,\n u.property_definition_id,\n NULL\n FROM UNNEST(\n $1::UUID[],\n $2::TEXT[],\n $3::UUID[]\n ) AS u(id, entity_id, property_definition_id)\n ON CONFLICT (entity_id, entity_type, property_definition_id)\n DO NOTHING\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "TextArray",
- "UuidArray"
- ]
- },
- "nullable": []
- },
- "hash": "63492b018803ce26db5891964a0f52f37d2f54bd8243265c6561f4423af8617c"
-}
diff --git a/rust/cloud-storage/system_properties/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json b/rust/cloud-storage/system_properties/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json
deleted file mode 100644
index 505a2bd912..0000000000
--- a/rust/cloud-storage/system_properties/.sqlx/query-8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n UPDATE entity_properties\n SET values = $2\n WHERE entity_id = $1\n AND property_definition_id = $3\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "Text",
- "Jsonb",
- "Uuid"
- ]
- },
- "nullable": []
- },
- "hash": "8d21bf0aa4c20589a55cf5777aa9c658fdacea4d0d0c7070aded12cccd373911"
-}
diff --git a/rust/cloud-storage/system_properties/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json b/rust/cloud-storage/system_properties/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json
deleted file mode 100644
index 9d717fa5f9..0000000000
--- a/rust/cloud-storage/system_properties/.sqlx/query-9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT property_definition_id, values\n FROM entity_properties\n WHERE entity_id = $1\n AND entity_type = 'TASK'\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "property_definition_id",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "values",
- "type_info": "Jsonb"
- }
- ],
- "parameters": {
- "Left": [
- "Text"
- ]
- },
- "nullable": [
- false,
- true
- ]
- },
- "hash": "9cd40fbb1ade51e9e0d49792839d1a363cada017252a6f653c2272608189bcc4"
-}
diff --git a/rust/cloud-storage/system_properties/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json b/rust/cloud-storage/system_properties/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json
deleted file mode 100644
index 182e0858ba..0000000000
--- a/rust/cloud-storage/system_properties/.sqlx/query-f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n INSERT INTO entity_properties (id, entity_id, entity_type, property_definition_id, values)\n SELECT \n u.id,\n u.entity_id,\n u.entity_type::property_entity_type,\n u.property_definition_id,\n u.values\n FROM UNNEST(\n $1::UUID[],\n $2::TEXT[],\n $3::TEXT[],\n $4::UUID[],\n $5::JSONB[]\n ) AS u(id, entity_id, entity_type, property_definition_id, values)\n ON CONFLICT (entity_id, entity_type, property_definition_id)\n DO UPDATE SET \n values = EXCLUDED.values,\n updated_at = NOW()\n ",
- "describe": {
- "columns": [],
- "parameters": {
- "Left": [
- "UuidArray",
- "TextArray",
- "TextArray",
- "UuidArray",
- "JsonbArray"
- ]
- },
- "nullable": []
- },
- "hash": "f2d5d7aea9918978cd69c14f8afe24156c2fa387e001ee8eaf57e4a70a106069"
-}