Sha256: d98bcd109198466e0b6ff1cbe27438efaf517d15d70ef817b3d3547161016a85
Contents?: true
Size: 372 Bytes
Versions: 9
Compression:
Stored size: 372 Bytes
Contents
class CreateTemplateParts < ActiveRecord::Migration def self.up create_table :template_parts do |t| t.column :template_id, :integer t.column :name, :string t.column :filter_id, :string end add_index :template_parts, :template_id, :name => 'template_parts_on_template_id' end def self.down drop_table :template_parts end end
Version data entries
9 entries across 9 versions & 1 rubygems