1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-15 06:38:51 +00:00
mastodon/db/migrate/20211115032527_add_trendable_to_preview_cards.rb
2024-12-11 14:25:48 +00:00

8 lines
218 B
Ruby

# frozen_string_literal: true
class AddTrendableToPreviewCards < ActiveRecord::Migration[6.1]
def change
add_column :preview_cards, :trendable, :boolean # rubocop:disable Rails/ThreeStateBooleanColumn
end
end