Typo in initial state, remove anniversaries table.
This commit is contained in:
parent
76faca232f
commit
73719a5d8a
3 changed files with 10 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
Loading…
Reference in a new issue