Switch to migrator's new "base" versioning.
This commit is contained in:
parent
1da61079d5
commit
e53f21e814
3 changed files with 26 additions and 6 deletions
10
migrations/base/sqlite/0003_table_updates.sql
Normal file
10
migrations/base/sqlite/0003_table_updates.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- @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;
|
||||
Loading…
Reference in a new issue