Permalink
Browse files

Shorten index name.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 7aaf486 commit 50be89b609a5d37ed0ab2e3ddbbea8082989a772 @jeremy jeremy committed Aug 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/fixtures/db_definitions/schema.rb
View
2 activerecord/test/fixtures/db_definitions/schema.rb
@@ -48,5 +48,5 @@ def create_table(*args, &block)
t.column :source_id, :integer, :null => false
t.column :sink_id, :integer, :null => false
end
- add_index :edges, [:source_id, :sink_id], :unique => true
+ add_index :edges, [:source_id, :sink_id], :unique => true, :name => 'unique_edge_index'
end

0 comments on commit 50be89b

Please sign in to comment.