diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-16 18:22:51 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-16 18:22:51 +0000 |
commit | 50be89b609a5d37ed0ab2e3ddbbea8082989a772 (patch) | |
tree | 73afa94808f1214b5fd7468c3dce431662817b74 /activerecord | |
parent | 7aaf4867d2d7c1adea419052f069dab542af13b9 (diff) | |
download | rails-50be89b609a5d37ed0ab2e3ddbbea8082989a772.tar.gz rails-50be89b609a5d37ed0ab2e3ddbbea8082989a772.tar.bz2 rails-50be89b609a5d37ed0ab2e3ddbbea8082989a772.zip |
Shorten index name.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb index f565b74564..e06c14b6ae 100644 --- a/activerecord/test/fixtures/db_definitions/schema.rb +++ b/activerecord/test/fixtures/db_definitions/schema.rb @@ -48,5 +48,5 @@ ActiveRecord::Schema.define do 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 |