mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Merge commit '64629eadb71afab79a741b016dc56a8bdf1d46f2' into glitch-soc/merge-upstream
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user