diff --git a/.env.example b/.env.example index 3ec2a9c..a8efb79 100644 --- a/.env.example +++ b/.env.example @@ -28,9 +28,6 @@ SMTP_PASS= SMTP_FROM= SMTP_SECURE=false -# Rate limits -EMAILS_PER_DAY=3 - # Admin settings default value only - frontend settings (stored in settings.json) take precedence REMINDER_DAYS_BEFORE=7 diff --git a/backend/src/db/migrate.ts b/backend/src/db/migrate.ts index 6a91391..1406112 100644 --- a/backend/src/db/migrate.ts +++ b/backend/src/db/migrate.ts @@ -58,7 +58,6 @@ async function main() { smtp_pass_encrypted text, smtp_from text, smtp_secure integer NOT NULL DEFAULT 0, - emails_per_day integer NOT NULL DEFAULT 3, email_enabled integer NOT NULL DEFAULT 0, notification_email text, reminder_days_before integer NOT NULL DEFAULT 7, diff --git a/backend/src/db/schema.ts b/backend/src/db/schema.ts index e43339d..578ee98 100644 --- a/backend/src/db/schema.ts +++ b/backend/src/db/schema.ts @@ -51,7 +51,6 @@ export const settings = sqliteTable("settings", { smtpPassEncrypted: text("smtp_pass_encrypted"), smtpFrom: text("smtp_from"), smtpSecure: integer("smtp_secure", { mode: "boolean" }).notNull().default(false), - emailsPerDay: integer("emails_per_day").notNull().default(3), // Email notification settings emailEnabled: integer("email_enabled", { mode: "boolean" }).notNull().default(false), notificationEmail: text("notification_email"),