Sha256: 8dec99df93ca1964dae6117fd9d94aa4604442500dd925eb8d9d07c1ffe68790
Contents?: true
Size: 690 Bytes
Versions: 16
Compression:
Stored size: 690 Bytes
Contents
class CreateTemplateInput < ActiveRecord::Migration[4.2] def change create_table :template_inputs do |t| t.string :name, :null => false, :limit => 255 t.boolean :required, :null => false, :default => false t.string :input_type, :null => false, :limit => 255 t.string :fact_name, :limit => 255 t.string :variable_name, :limit => 255 t.string :puppet_class_name, :limit => 255 t.string :puppet_parameter_name, :limit => 255 t.text :description t.integer :template_id t.timestamps :null => true end add_foreign_key :template_inputs, :templates, :name => 'templates_template_id_fk', :column => 'template_id' end end
Version data entries
16 entries across 16 versions & 1 rubygems