From 0f4288d91de7b48f7bbed832ca80246b0055cc64 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 9 Aug 2026 16:03:40 +0200 Subject: Drop nodes.external_url The column moved to page.rb and was now written only by publish_draft! and by the chapter seed, and read by nothing. lib/tasks/pages.rake goes with it. backfill_external_url reads the dropped column. backfill_address is spent and no longer safe to re-run. --- app/models/node.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/models/node.rb') diff --git a/app/models/node.rb b/app/models/node.rb index a401ed69..6fc6c3dc 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -257,8 +257,6 @@ class Node < ApplicationRecord self.slug = self.head.slug end - self.external_url = self.head.external_url - if self.head.parent_node_id && self.head.parent_node_id != parent_id new_parent = Node.find_by(:id => self.head.parent_node_id) -- cgit v1.3