Sha256: a68eb2016f26fe5cc6e39c16f3ed21eedaf15d7d161c239510e161b1cef815e7

Contents?: true

Size: 474 Bytes

Versions: 40

Compression:

Stored size: 474 Bytes

Contents

class CreateEasyMLPredictions < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    create_table :easy_ml_predictions do |t|
      t.bigint :model_id, null: false
      t.bigint :model_history_id
      t.string :prediction_type
      t.jsonb :prediction_value
      t.jsonb :raw_input
      t.jsonb :normalized_input
      t.timestamps

      t.index :model_id
      t.index :model_history_id
      t.index :created_at
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc40 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc39 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc38 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc37 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc36 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc35 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc34 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc33 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc32 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc31 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc30 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc29 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc28 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc27 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc26 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc25 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc24 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc23 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc22 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt
easy_ml-0.2.0.pre.rc21 lib/easy_ml/railtie/templates/migration/create_easy_ml_predictions.rb.tt