Skip to content

Commit 8b15ac5

Browse files
authored
bug: address reserve and custom collections (mozilla-services#1950)
address reserve and custom collections
1 parent daec191 commit 8b15ac5

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

Cargo.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

syncstorage-postgres/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,15 @@ license.workspace = true
88

99
[dependencies]
1010
async-trait.workspace = true
11-
backtrace.workspace = true
12-
base64.workspace = true
1311
chrono.workspace = true
1412
deadpool.workspace = true
1513
diesel = { workspace = true, features = ["chrono", "postgres", "uuid"] }
1614
diesel-async = { workspace = true, features = ["postgres"] }
1715
diesel_migrations.workspace = true
1816
futures.workspace = true
19-
http.workspace = true
2017
slog-scope.workspace = true
21-
thiserror.workspace = true
2218
uuid.workspace = true
2319

24-
url = "2.1"
2520
syncserver-common = { path = "../syncserver-common" }
2621
syncserver-db-common = { path = "../syncserver-db-common" }
2722
syncstorage-db-common = { path = "../syncstorage-db-common", features = ["postgres"] }

syncstorage-postgres/migrations/2025-10-20-155711_create_schema/up.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ INSERT INTO collections (collection_id, name) VALUES
6262
(12, 'addresses'),
6363
(13, 'creditcards');
6464

65-
65+
-- Set subsequent values to insert after 100.
66+
ALTER TABLE collections
67+
ALTER COLUMN collection_id RESTART WITH 101;
6668

6769
-- batches table
6870
CREATE TABLE batches (

tokenserver-mysql/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ syncserver-db-common = { path = "../syncserver-db-common" }
1818
tokenserver-common = { path = "../tokenserver-common" }
1919
tokenserver-db-common = { path = "../tokenserver-db-common" }
2020
tokenserver-settings = { path = "../tokenserver-settings" }
21-
tokio = { workspace = true, features = ["macros", "sync"] }

0 commit comments

Comments
 (0)