mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02: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
|