To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 10 / 10f74e3a18ae17108789fde8071c8bf836627534.svn-base @ 912:5e80956cc792

History | View | Annotate | Download (525 Bytes)

1 909:cbb26bc654de Chris
class CreateChangesetParents < ActiveRecord::Migration
2
  def self.up
3
    create_table :changeset_parents, :id => false do |t|
4
      t.column :changeset_id, :integer, :null => false
5
      t.column :parent_id, :integer, :null => false
6
    end
7
    add_index :changeset_parents, [:changeset_id], :unique => false, :name => :changeset_parents_changeset_ids
8
    add_index :changeset_parents, [:parent_id], :unique => false, :name => :changeset_parents_parent_ids
9
  end
10
11
  def self.down
12
     drop_table :changeset_parents
13
  end
14
end