mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 22:18:06 +01:00
13 lines
325 B
Ruby
13 lines
325 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddLanguageToPreviewCards < ActiveRecord::Migration[6.1]
|
|
def change
|
|
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
|
|
end
|
|
end
|