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