mirror of https://github.com/tootsuite/mastodon
8 lines
205 B
Ruby
8 lines
205 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ValidateTargetAccountForeignKeyOnPreviewCards < ActiveRecord::Migration[7.1]
|
||
|
def change
|
||
|
validate_foreign_key :preview_cards, column: :target_account_id
|
||
|
end
|
||
|
end
|