2023-07-12 07:47:08 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-11-25 12:07:38 +00:00
|
|
|
class AddLanguageToPreviewCards < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
2023-11-06 16:15:48 +00: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 12:07:38 +00:00
|
|
|
end
|
|
|
|
end
|