fix: split SQLite migration 008 into ALTER TABLE + CREATE UNIQUE INDEX
SQLite does not support ADD COLUMN with inline UNIQUE constraint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1a2f0e7951
commit
cd8ef7dbf6
@ -1 +1,2 @@
|
||||
ALTER TABLE users ADD COLUMN nostr_pubkey TEXT UNIQUE;
|
||||
ALTER TABLE users ADD COLUMN nostr_pubkey TEXT;
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_users_nostr_pubkey ON users(nostr_pubkey);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user