Sha256: 38e52e6966f87ebbd322a457253d9b8db8edf87c5fcb205da02363ae3e94b1a2
Contents?: true
Size: 596 Bytes
Versions: 11
Compression:
Stored size: 596 Bytes
Contents
class CreateEasyMLEvents < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change unless table_exists?(:easy_ml_events) 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 end
Version data entries
11 entries across 11 versions & 1 rubygems