blob: ee690e799a82a8d00ea8b23ce798def92b60058f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
class CreateKeywordMutes < ActiveRecord::Migration[5.1]
def change
create_table :keyword_mutes do |t|
t.references :account, null: false
t.string :keyword, null: false
t.timestamps
end
add_foreign_key :keyword_mutes, :accounts, on_delete: :cascade
end
end
|