-- Run this in Supabase SQL Editor if you get "column decks.copied_from_deck_id does not exist"
-- Uses schema omotomo (match your app's db.schema).

ALTER TABLE omotomo.decks
  ADD COLUMN IF NOT EXISTS copied_from_deck_id uuid NULL;
