Skip to content

Commit 97bc196

Browse files
committed
Fix PK key
1 parent 62fecf9 commit 97bc196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/db/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def force_add_index(table_name, columns, options = {})
1919
t.datetime "updated_at"
2020
end
2121

22-
force_add_index "nodes", [:id], :name => "node_id", :unique => true
22+
force_add_index "nodes", [:uuid], :name => "node_id", :unique => true
2323

2424
create_table "node_hierarchies", :id => false, :force => true do |t|
2525
t.string "ancestor_id", :null => false

0 commit comments

Comments
 (0)