multica/server/migrations/012_inbox_actor.up.sql
Naiyuan Qing 8366e91b95 fix(auth): restore email verification login flow from main
The frontend ApiClient had a non-existent `/auth/login` endpoint.
Restored the two-step `sendCode` + `verifyCode` flow matching the
backend, including OTP input UI and CLI browser login callback support.
Also restored `IF NOT EXISTS` in migration 012 to prevent failures on
databases where the column already exists.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 17:40:54 +08:00

2 lines
128 B
SQL

ALTER TABLE inbox_item ADD COLUMN IF NOT EXISTS actor_type TEXT;
ALTER TABLE inbox_item ADD COLUMN IF NOT EXISTS actor_id UUID;