feat: added postgres to ffi (#1117)

* feat: added postgres to ffi
This commit is contained in:
asmo
2025-09-30 15:14:28 +02:00
committed by GitHub
parent ddec3bb212
commit cb2e534f81
9 changed files with 853 additions and 389 deletions

View File

@@ -0,0 +1,11 @@
-- Add u32 representation column to key table with unique constraint
ALTER TABLE key ADD COLUMN keyset_u32 INTEGER;
-- Add unique constraint on the new column
CREATE UNIQUE INDEX IF NOT EXISTS keyset_u32_unique ON key(keyset_u32);
-- Add u32 representation column to keyset table with unique constraint
ALTER TABLE keyset ADD COLUMN keyset_u32 INTEGER;
-- Add unique constraint on the new column
CREATE UNIQUE INDEX IF NOT EXISTS keyset_u32_unique_keyset ON keyset(keyset_u32);