Fix primary keys.

This commit is contained in:
Benjamin A. Shelton 2026-10-13 15:19:21 -06:00
commit d650a613a8
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -201,9 +201,7 @@ create table anniversaries (
month integer not null,
day integer not null,
year integer default 0 not null,
title text defalt '' not null,
primmary key (id)
title text defalt '' not null
);
create index anniversaries_month_day_idx on anniversaries (month, day);
@ -212,9 +210,7 @@ create table announcements (
scheduled_for datetime not null,
reminders boolean default true not null,
title text default '' not null,
content text default '' not null,
primary key (id)
content text default '' not null
);
-- Enable with PRAGMA foreign_keys = ON;