Files
web-app-launcher/prisma/migrations/20260324212043_add_user_preferences/migration.sql
T
alexei.dolgolyov c6a7de895d feat(phase3): import/export, sparklines, user theme overrides
- JSON import/export with conflict resolution (skip/overwrite) + admin UI
- Ping history sparklines on AppWidget and AppCard (24h, 288 points)
- Hourly cleanup job for old AppStatus records
- User theme preferences (hue, saturation, mode, background, locale)
- Settings page with ThemeCustomizer (sliders, toggles, live preview)
- Prisma migration for user preference fields
- i18n translations for all new strings (EN/RU)
2026-03-25 00:51:01 +03:00

7 lines
271 B
SQL

-- AlterTable
ALTER TABLE "User" ADD COLUMN "backgroundType" TEXT;
ALTER TABLE "User" ADD COLUMN "locale" TEXT;
ALTER TABLE "User" ADD COLUMN "primaryHue" INTEGER;
ALTER TABLE "User" ADD COLUMN "primarySaturation" INTEGER;
ALTER TABLE "User" ADD COLUMN "themeMode" TEXT;