Typo in initial state, remove anniversaries table.

This commit is contained in:
Benjamin A. Shelton 2026-10-27 09:20:23 -06:00
commit 73719a5d8a
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 10 additions and 3 deletions

View file

@ -7,7 +7,7 @@ create table anniversaries (
month integer not null,
day integer not null,
year integer default 0 not null,
title text defalt '' not null
title text default '' not null
);
create index anniversaries_month_day_idx on anniversaries (month, day);

View file

@ -192,7 +192,7 @@ create table anniversaries (
month integer not null,
day integer not null,
year integer default 0 not null,
title text defalt '' not null
title text default '' not null
);
create index anniversaries_month_day_idx on anniversaries (month, day);

View file

@ -1,3 +1,10 @@
-- @up
alter table birthdays add column announce boolean default true not null;
alter table birthdays add column announce boolean default true not null;
-- Anniversaries will be re-added in the future, either as a base table for
-- wedding anniversaries + birthdays or as a single purpose table. If the
-- former, anniversary types will be implemented as views, and the INSTEAD OF
-- trigger will be used for inserts and updates:
-- www.sqlite.org/lang_createtrigger.html#instead_of_trigger
drop table anniversaries;