2023-07-12 16:47:08 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-11-25 21:07:38 +09:00
|
|
|
class AddLanguageToPreviewCards < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
2023-11-07 01:15:48 +09:00
|
|
|
safety_assured do
|
|
|
|
change_table(:preview_cards, bulk: true) do |t|
|
|
|
|
t.column :language, :string
|
|
|
|
t.column :max_score, :float
|
|
|
|
t.column :max_score_at, :datetime
|
|
|
|
end
|
|
|
|
end
|
2021-11-25 21:07:38 +09:00
|
|
|
end
|
|
|
|
end
|