mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-18 13:14:59 +01:00
@@ -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);
|
||||
Reference in New Issue
Block a user