Sha256: a6d2d44652e9e05ee19bfa13f8c30da5e07c23e01c15040e51de542539745797

Contents?: true

Size: 908 Bytes

Versions: 40

Compression:

Stored size: 908 Bytes

Contents

# lib/railtie/generators/templates/migration/create_easy_ml_models.rb.tt
class CreateEasyMLModels < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    create_table :easy_ml_models do |t|
      t.string :name, null: false
      t.string :model_type
      t.string :status
      t.bigint :dataset_id
      t.bigint :model_file_id
      t.json :configuration
      t.string :version, null: false
      t.string :root_dir
      t.json :file
      t.string :sha
      t.datetime :last_trained_at
      t.boolean :is_training

      t.timestamps

      t.index :created_at
      t.index :last_trained_at
      t.index :name
      t.index :version
      t.index :status
      t.index [:name, :status]
      t.index [:name, :version]
      t.index :dataset_id
      t.index :model_type
      t.index :model_file_id
      t.index :sha
      t.index :is_training
    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_models.rb.tt
easy_ml-0.2.0.pre.rc39 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc38 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc37 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc36 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc35 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc34 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc33 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc32 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc31 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc30 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc29 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc28 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc27 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc26 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc25 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc24 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc23 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc22 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt
easy_ml-0.2.0.pre.rc21 lib/easy_ml/railtie/templates/migration/create_easy_ml_models.rb.tt