Sha256: 07fe1ef8adad13a5a165002e15a7aeb470dcc95191dba90e7b7ee04a1c9d8412

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 Bytes

Contents

class CreateOsDefaultTemplates < ActiveRecord::Migration
  def self.up
    create_table :os_default_templates do |t|
      t.references :config_template
      t.references :template_kind
      t.references :operatingsystem

      t.timestamps
    end
  end

  def self.down
    drop_table :os_default_templates
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/db/migrate/20101123153303_create_os_default_templates.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20101123153303_create_os_default_templates.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20101123153303_create_os_default_templates.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20101123153303_create_os_default_templates.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20101123153303_create_os_default_templates.rb