blob: efd8f15c8b714edb3af84d96f5a7b823697a5180 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
class CreateStatusMutes < ActiveRecord::Migration[5.2]
def change
create_table :status_mutes do |t|
t.integer :account_id, null: false, index: true
t.bigint :status_id, null: false, index: true
end
add_index :status_mutes, [:account_id, :status_id], unique: true
end
end
|