20210324171613_create_follow_recommendation_suppressions.rb 322 B

1234567891011
  1. # frozen_string_literal: true
  2. class CreateFollowRecommendationSuppressions < ActiveRecord::Migration[6.1]
  3. def change
  4. create_table :follow_recommendation_suppressions do |t|
  5. t.references :account, null: false, foreign_key: { on_delete: :cascade }, index: { unique: true }
  6. t.timestamps
  7. end
  8. end
  9. end