feat: implement change timestamp for subscriptions set

This commit is contained in:
Jef Roosens 2025-02-24 22:04:47 +01:00
parent 2f0fe08f4c
commit 6d439783b5
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
7 changed files with 243 additions and 7 deletions

View file

@ -0,0 +1,6 @@
-- This file should undo anything in `up.sql`
alter table subscriptions
drop column time_changed;
alter table subscriptions
drop column deleted;

View file

@ -0,0 +1,6 @@
-- Your SQL goes here
alter table subscriptions
add column time_changed bigint not null default 0;
alter table subscriptions
add column deleted boolean not null default false;