diff options
Diffstat (limited to 'db/migrate/20211112011713_add_language_to_preview_cards.rb')
-rw-r--r-- | db/migrate/20211112011713_add_language_to_preview_cards.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20211112011713_add_language_to_preview_cards.rb b/db/migrate/20211112011713_add_language_to_preview_cards.rb new file mode 100644 index 000000000..995934de4 --- /dev/null +++ b/db/migrate/20211112011713_add_language_to_preview_cards.rb @@ -0,0 +1,7 @@ +class AddLanguageToPreviewCards < ActiveRecord::Migration[6.1] + def change + add_column :preview_cards, :language, :string + add_column :preview_cards, :max_score, :float + add_column :preview_cards, :max_score_at, :datetime + end +end |