Sha256: af809ee2ad7139723b8e87a9b979148d5d561d787176f3a7652f04085676dd4f

Contents?: true

Size: 157 Bytes

Versions: 4

Compression:

Stored size: 157 Bytes

Contents

class AddAncestryToProjects < ActiveRecord::Migration
  def change
    add_column :projects, :ancestry, :string
    add_index :projects, :ancestry
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
basepack-1.0.1 spec/dummy_app/db/migrate/20131222155101_add_ancestry_to_projects.rb
basepack-1.0.0 spec/dummy_app/db/migrate/20131222155101_add_ancestry_to_projects.rb
basepack-1.0.0.pre.0 spec/dummy_app/db/migrate/20131222155101_add_ancestry_to_projects.rb
basepack-0.2.0 spec/dummy_app/db/migrate/20131222155101_add_ancestry_to_projects.rb