Files
upstream-ourboard/backend/migrations/008_allow_crdt_only_bundle.sql
upstream-mirror d57328655f
Some checks failed
build / test (18.x) (push) Failing after 10s
build / lint (18.x) (push) Failing after 0s
build / docker-image (push) Has been skipped
snapshot of https://github.com/raimohanska/ourboard.git (master, 2026-09-23; blobs > 131072B omitted)
2026-09-23 16:16:17 +05:00

2 lines
185 B
SQL

alter table board_event alter column first_serial drop not null;
alter table board_event add constraint first_serial_or_crdt check (crdt_update is not null OR first_serial is not null);