SamTV12345-PodFetch/migrations/postgres/2023-11-05-155720_episode_c.../up.sql

3 lines
134 B
SQL

-- Your SQL goes here
ALTER TABLE episodes ADD COLUMN cleaned_url TEXT NOT NULL DEFAULT '';
UPDATE episodes SET cleaned_url = episode;