Sha256: 5b17cf1deec9fcd8f374f5aaeb5ae1a7cfd780bff642093b4e1999adb97cfb6c

Contents?: true

Size: 519 Bytes

Versions: 40

Compression:

Stored size: 519 Bytes

Contents

class CreateEasyMLEvents < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    create_table :easy_ml_events do |t|
      t.string :name, null: false
      t.string :status, null: false
      t.string :eventable_type
      t.bigint :eventable_id
      t.text :stacktrace

      t.timestamps

      t.index :name
      t.index :status
      t.index :eventable_type
      t.index :eventable_id
      t.index :created_at
      t.index [:eventable_type, :eventable_id]
    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_events.rb.tt
easy_ml-0.2.0.pre.rc39 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc38 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc37 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc36 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc35 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc34 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc33 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc32 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc31 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc30 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc29 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc28 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc27 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc26 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc25 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc24 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc23 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc22 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt
easy_ml-0.2.0.pre.rc21 lib/easy_ml/railtie/templates/migration/create_easy_ml_events.rb.tt