Sha256: 9a0d37c64da0d208c4e54e42153792e1e457fbd0a7feba23801d855ce1bf9979

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

class CreateRemoteExecutionFeatures < ActiveRecord::Migration
  def change
    create_table :remote_execution_features do |t|
      t.string :label, :index => true, :null => false
      t.string :name, :null => false
      t.string :description
      t.text :provided_inputs
      t.integer :job_template_id
    end
    add_index :remote_execution_features, :label
    add_index :remote_execution_features, :job_template_id
    add_foreign_key :remote_execution_features, :templates, :column => :job_template_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_remote_execution-0.3.1 db/migrate/20160118124600_create_remote_execution_features.rb
foreman_remote_execution-0.3.0 db/migrate/20160118124600_create_remote_execution_features.rb