blob: b4466ee30ce3fbfef6fedfc4faedc21436e2fe3e (
plain) (
blame)
1
2
3
4
5
6
7
|
class AddAccountToCustomEmoji < ActiveRecord::Migration[5.2]
def change
safety_assured do
add_reference :custom_emojis, :account, foreign_key: { on_delete: :nullify }, index: true
end
end
end
|