added migration to add a primary key on nodes id and version - should be run after...
[rails.git] / db / migrate / 015_add_primary_key_on_nodes_id_version.rb
1 class AddPrimaryKeyOnNodesIdVersion < ActiveRecord::Migration
2
3   #Migration will fail to run unless rake db:node_version has been run previously
4   def self.up
5     add_primary_key "nodes", ["id", "version"] 
6   end
7
8   def self.down
9   end
10 end