Sha256: 99998b06ee04b0881af23edf724f5cf79108b4287b80957b1023544680f26bbb

Contents?: true

Size: 447 Bytes

Versions: 113

Compression:

Stored size: 447 Bytes

Contents

class CreateTriggerings < ActiveRecord::Migration[4.2]
  def up
    create_table :foreman_tasks_triggerings do |t|
      t.string :mode, null: false
      t.datetime :start_at
      t.datetime :start_before
    end

    change_table :foreman_tasks_recurring_logics do |t|
      t.integer :triggering_id
    end
  end

  def down
    drop_table :foreman_tasks_triggerings
    remove_column :foreman_tasks_recurring_logics, :triggering_id
  end
end

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-10.0.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-10.0.0 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.2.3 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.2.2 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.2.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.2.0 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.1.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.0.4 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.1.0 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.0.2 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.0.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.3.3 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-9.0.0 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.2.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.1.4 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.3.2 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.3.1 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.1.3 db/migrate/20151112152108_create_triggerings.rb
foreman-tasks-8.3.0 db/migrate/20151112152108_create_triggerings.rb