🔧 chore(mana-notify): disable email notifications by default

Email alerts were causing too many notifications. Changed default
from true to false so new users won't receive email notifications
unless explicitly enabled. Push notifications remain enabled.
This commit is contained in:
Till-JS 2026-01-30 16:06:24 +01:00
parent aae5ef63a3
commit b8ecdb8eb7
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ export const preferences = notifySchema.table(
userId: text('user_id').notNull(),
// Global settings
emailEnabled: boolean('email_enabled').notNull().default(true),
emailEnabled: boolean('email_enabled').notNull().default(false),
pushEnabled: boolean('push_enabled').notNull().default(true),
// Quiet hours

View file

@ -40,7 +40,7 @@ export class PreferencesService {
.insert(preferences)
.values({
userId,
emailEnabled: true,
emailEnabled: false,
pushEnabled: true,
quietHoursEnabled: false,
timezone: 'Europe/Berlin',