Sha256: 356947ec9713053909e3f49742b22970c46e83e7512df42ab58dc7bca54a5803
Contents?: true
Size: 580 Bytes
Versions: 141
Compression:
Stored size: 580 Bytes
Contents
class CreateTemplateInputSets < ActiveRecord::Migration[4.2] def change create_table :foreign_input_sets do |t| t.integer :template_id, :null => false t.integer :target_template_id, :null => false t.boolean :include_all, :null => false, :default => true t.text :include t.text :exclude end add_index :foreign_input_sets, :template_id add_foreign_key :foreign_input_sets, :templates add_index :foreign_input_sets, :target_template_id add_foreign_key :foreign_input_sets, :templates, :column => :target_template_id end end
Version data entries
141 entries across 141 versions & 1 rubygems