diff --git a/migrations/sqlite/0001_initial_state.sql b/migrations/sqlite/0001_initial_state.sql index f70cab2..50da710 100644 --- a/migrations/sqlite/0001_initial_state.sql +++ b/migrations/sqlite/0001_initial_state.sql @@ -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 (