From 526903e0d517939ba1faccdc9c758f7e2851a203 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Sun, 2 Aug 2026 22:59:11 +0200 Subject: [PATCH] fix(db-migration): keep timestamp order --- ...926000000_auth_opaque.sql => 20260930000002_auth_opaque.sql} | 0 src/application/ports/opaque_ports.rs | 2 +- src/infrastructure/repositories/pg/opaque_pg_repository.rs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename migrations/{20260926000000_auth_opaque.sql => 20260930000002_auth_opaque.sql} (100%) diff --git a/migrations/20260926000000_auth_opaque.sql b/migrations/20260930000002_auth_opaque.sql similarity index 100% rename from migrations/20260926000000_auth_opaque.sql rename to migrations/20260930000002_auth_opaque.sql diff --git a/src/application/ports/opaque_ports.rs b/src/application/ports/opaque_ports.rs index ae506f9a..0dd95da6 100644 --- a/src/application/ports/opaque_ports.rs +++ b/src/application/ports/opaque_ports.rs @@ -2,7 +2,7 @@ //! //! The registration record (encrypted "envelope" blob) and its //! metadata live in three columns on `auth.users` — introduced by the -//! Phase 0 migration (`20260926000000_auth_opaque.sql`). This trait +//! Phase 0 migration (`20260930000002_auth_opaque.sql`). This trait //! wraps the row-level access so: //! //! * the OPAQUE handlers (Phase 1+) depend on a small, mockable diff --git a/src/infrastructure/repositories/pg/opaque_pg_repository.rs b/src/infrastructure/repositories/pg/opaque_pg_repository.rs index 03847ca1..41e55874 100644 --- a/src/infrastructure/repositories/pg/opaque_pg_repository.rs +++ b/src/infrastructure/repositories/pg/opaque_pg_repository.rs @@ -1,7 +1,7 @@ //! PostgreSQL repository for OPAQUE aPAKE envelopes. //! //! Backs [`OpaqueRepositoryPort`] against the three OPAQUE columns on -//! `auth.users` introduced by migration `20260926000000_auth_opaque.sql`: +//! `auth.users` introduced by migration `20260930000002_auth_opaque.sql`: //! //! * `opaque_envelope BYTEA` — the serialised registration blob, //! * `opaque_ciphersuite_version SMALLINT` — the bound suite version,