justusbot/migrations/base/sqlite/0003_table_updates.sql

10 lines
No EOL
445 B
SQL

-- @up
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;