Sha256: 92874556b176088ece43a4a3b20ff6b85ceb5ba26d9733180bd33c14a6784bfb

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

class AddActiveRecallItemEasinessFactor < ActiveRecord::Migration[5.2]
  def self.up
    add_column :active_recall_items, :easiness_factor, :float, default: 2.5
  end

  def self.down
    remove_column :active_recall_items, :easiness_factor
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_recall-2.1.0 lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb
active_recall-2.0.2 lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb
active_recall-2.0.1 lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb
active_recall-2.0.0 lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb