mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 02:51:13 +01:00
9 lines
235 B
Ruby
9 lines
235 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateJoinTablePreviewCardsStatuses < ActiveRecord::Migration[5.1]
|
|
def change
|
|
create_join_table :preview_cards, :statuses do |t|
|
|
t.index [:status_id, :preview_card_id]
|
|
end
|
|
end
|
|
end
|