all repos

onasty @ c24198a

a one-time notes service

onasty/migrations/20250811132505_note_nullable_read_at.down.sql (view raw)

Olexandr Smirnov Olexandr Smirnov
ss2316544@gmail.com
refactor: make the `read_at` field nullable (#187)..., 9 months ago
1
ALTER TABLE notes
2
  ALTER COLUMN "read_at" SET NOT NULL,
3
  ALTER COLUMN "read_at" SET DEFAULT '0001-01-01 00:00:00'::timestamptz;