aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorMax Lapshin <max@maxidoors.ru>2009-04-20 19:47:31 +0400
committerPratik Naik <pratiknaik@gmail.com>2009-04-21 11:44:13 +0100
commitf3ac4f387dd748db349ec217030d2b13260516f1 (patch)
tree9f7bebcd267c68ff929f516700e91149552daab9 /activerecord/test/schema/schema.rb
parent64b33b6cf9db508d2c12394cc1a3f36c91fb2eed (diff)
downloadrails-f3ac4f387dd748db349ec217030d2b13260516f1.tar.gz
rails-f3ac4f387dd748db349ec217030d2b13260516f1.tar.bz2
rails-f3ac4f387dd748db349ec217030d2b13260516f1.zip
Fixed dumping from postgresql columns in index in wrong order. [#2515 state:resolved]
Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 3b073b0888..98e6d192a5 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -118,6 +118,8 @@ ActiveRecord::Schema.define do
t.integer :rating, :default => 1
end
+ add_index :companies, [:firm_id, :type, :rating, :ruby_type], :name => "company_index"
+
create_table :computers, :force => true do |t|
t.integer :developer, :null => false
t.integer :extendedWarranty, :null => false