-- OAuth 社交登录：provider 与平台唯一 ID
ALTER TABLE "users" ADD COLUMN "provider" TEXT NOT NULL DEFAULT 'local';
ALTER TABLE "users" ADD COLUMN "provider_id" TEXT;
CREATE UNIQUE INDEX "users_provider_id_key" ON "users"("provider_id");
