Sha256: 7461995b89c7619791fe97958e4f3f97921ea4070e14c2379f340c79c46dc956

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require_relative 'base'

class Tables::Actions < Tables::Base

  def self.table(migration)
    create_table migration do |t|
      t.string   :action_type
      t.json     :action_params
      t.boolean  :active?
      t.bigint   :rule_id
      t.index    :rule_id, name: 'index_rule_action_id'
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forcast-0.0.110 lib/forcast/migrations/rule_engine/actions.rb