Switch to migrator's new "base" versioning.

This commit is contained in:
Benjamin A. Shelton 2026-10-28 22:50:01 -06:00
commit e53f21e814
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 26 additions and 6 deletions

View 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;

View file

@ -1,4 +1,5 @@
-- @up
-- @version=0002
-- Members and member metadata.
@ -193,7 +194,7 @@ create table verse_rotation (
verseid integer primary key,
foreign key (verseid) references verses(id)
);
create unique index verse_rotation_verseid_chatid_idx on verse_rotation (verseid, chatid);
create unique index verse_rotation_verseid_chatid_idx on verse_rotation (verseid);
create table verses_submitter (
verseid integer not null,