Sha256: 1da9ac65a4861308868f6ec1c3321536f3dbcb5cbae5c7af7d3f197983a7575e

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

class CreateConfigTemplates < ActiveRecord::Migration
  def self.up
    create_table :config_templates do |t|
      t.string :name
      t.text :template
      t.boolean :snippet
      t.references :template_kind
      t.timestamps
    end
  end

  def self.down
    drop_table :config_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/20101121080425_create_config_templates.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20101121080425_create_config_templates.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20101121080425_create_config_templates.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20101121080425_create_config_templates.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20101121080425_create_config_templates.rb