-- Migration 013: Likes and reposts (v2.5.0, ADR-068) -- A note with like_of is a like; with repost_of, a repost. Content is the -- optional comment and may be empty. ALTER TABLE notes ADD COLUMN like_of TEXT; ALTER TABLE notes ADD COLUMN repost_of TEXT; CREATE INDEX IF NOT EXISTS idx_notes_like_of ON notes(like_of);