1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-29 07:18:54 +09:00
YuruToot/db/migrate/20210324171613_create_follow_recommendation_suppressions.rb

10 lines
291 B
Ruby
Raw Normal View History

class CreateFollowRecommendationSuppressions < ActiveRecord::Migration[6.1]
def change
create_table :follow_recommendation_suppressions do |t|
t.references :account, null: false, foreign_key: { on_delete: :cascade }, index: { unique: true }
t.timestamps
end
end
end