2023-07-12 16:47:08 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-03-27 23:09:10 +09:00
|
|
|
class AddUriToCustomEmojis < ActiveRecord::Migration[5.2]
|
2017-10-08 00:43:42 +09:00
|
|
|
def change
|
2023-11-07 01:15:48 +09:00
|
|
|
safety_assured do
|
|
|
|
change_table(:custom_emojis, bulk: true) do |t|
|
|
|
|
t.column :uri, :string
|
|
|
|
t.column :image_remote_url, :string
|
|
|
|
end
|
|
|
|
end
|
2017-10-08 00:43:42 +09:00
|
|
|
end
|
|
|
|
end
|