From d650a613a83e72115dc192f8dda378448cdb83ea Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Tue, 13 Oct 2026 15:19:21 -0600 Subject: [PATCH] Fix primary keys. --- migrations/sqlite/0001_initial_state.sql | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/migrations/sqlite/0001_initial_state.sql b/migrations/sqlite/0001_initial_state.sql index 50da710..2c0acf9 100644 --- a/migrations/sqlite/0001_initial_state.sql +++ b/migrations/sqlite/0001_initial_state.sql @@ -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;