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