Sha256: 8a8b198201b087410ab14da2c3a1e81cd99c1b6705d27141c1754a5f1ea24d4d

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

class CreateJobTemplateEffectiveUsers < ActiveRecord::Migration
  def change
    create_table :job_template_effective_users do |t|
      t.integer :job_template_id
      t.string :value
      t.boolean :overridable
      t.boolean :current_user
    end

    add_index :job_template_effective_users, :job_template_id, :name => 'effective_users_job_template_id'
    add_foreign_key :job_template_effective_users, :templates, :column => :job_template_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-0.3.1 db/migrate/20151124162300_create_job_template_effective_users.rb
foreman_remote_execution-0.3.0 db/migrate/20151124162300_create_job_template_effective_users.rb
foreman_remote_execution-0.2.3 db/migrate/20151124162300_create_job_template_effective_users.rb
foreman_remote_execution-0.2.2 db/migrate/20151124162300_create_job_template_effective_users.rb
foreman_remote_execution-0.2.1 db/migrate/20151124162300_create_job_template_effective_users.rb
foreman_remote_execution-0.1.2 db/migrate/20151124162300_create_job_template_effective_users.rb