mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-26 01:43:00 -05:00
14 lines
386 B
Ruby
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
|