chinwagsocial/db/migrate/20240713171909_validate_add_application_to_reports.rb

8 lines
178 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class ValidateAddApplicationToReports < ActiveRecord::Migration[7.1]
def change
validate_foreign_key :reports, :oauth_applications
end
end