summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-09 16:03:40 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-09 16:03:40 +0200
commit0f4288d91de7b48f7bbed832ca80246b0055cc64 (patch)
tree7be060513b02a5abaa48f135de090b8688ef1433 /db/migrate
parent9d32458491d79f8e06a706375030c78282f4427b (diff)
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.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20260809135746_remove_external_url_from_nodes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20260809135746_remove_external_url_from_nodes.rb b/db/migrate/20260809135746_remove_external_url_from_nodes.rb
new file mode 100644
index 00000000..0510d053
--- /dev/null
+++ b/db/migrate/20260809135746_remove_external_url_from_nodes.rb
@@ -0,0 +1,5 @@
1class RemoveExternalUrlFromNodes < ActiveRecord::Migration[8.1]
2 def change
3 remove_column :nodes, :external_url, :string
4 end
5end