-- A task's plan as the structured document it was written as (JSON), which -- the approval card lays out; plan holds the text rendered from it. Replaces -- the generated view, which could say something other than the plan. -- +goose Up ALTER TABLE tasks DROP COLUMN plan_view; ALTER TABLE tasks ADD COLUMN plan_document text NOT NULL DEFAULT ''; -- +goose Down ALTER TABLE tasks DROP COLUMN plan_document; ALTER TABLE tasks ADD COLUMN plan_view text NOT NULL DEFAULT '';