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