Added announcements and anniversaries.

This commit is contained in:
Benjamin A. Shelton 2026-10-12 20:46:55 -06:00
commit 15e4619de0
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -196,6 +196,27 @@ create table birthdays (
primary key (userid, chatid)
);
create table anniversaries (
id integer primary key autoincrement,
month integer not null,
day integer not null,
year integer default 0 not null,
title text defalt '' not null,
primmary key (id)
);
create index anniversaries_month_day_idx on anniversaries (month, day);
create table announcements (
id integer primary key autoincrement,
scheduled_for datetime not null,
reminders boolean default true not null,
title text default '' not null,
content text default '' not null,
primary key (id)
);
-- Enable with PRAGMA foreign_keys = ON;
create table books (