Files
mastodon/db/migrate/20260310095021_add_description_html_to_collections.rb
2026-03-10 14:54:38 +00:00

14 lines
386 B
Ruby

# frozen_string_literal: true
class AddDescriptionHtmlToCollections < ActiveRecord::Migration[8.1]
def change
add_column :collections, :description_html, :text
reversible do |direction|
direction.up { change_column :collections, :description, :text, null: true }
direction.down { change_column :collections, :description, :text, null: false }
end
end
end