UPDATE "posts"
SET
    "published_at" = COALESCE("published_at", "created_at"),
    "is_pinned" = false;
