My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 132: rake substruct:db:bootstrap not working with postgresql
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by kar...@gmail.com, Sep 2, 2008
What steps will reproduce the problem?
1. create and configure postgresql db
2. rake substruct:db:bootstrap
3.

What is the expected output? What do you see instead?
expected: NO error messages.
actual: (creates some tables....)
-- add_index("order_addresses", ["first_name", "last_name"], {:name=>"name"})
rake aborted!
PGError: FEHLER:  Relation »name« existiert bereits
: CREATE  INDEX "name" ON "order_addresses" ("first_name", "last_name")

What version of the product are you using? On what operating system?

substruct-1.0a6, postgresql-8.3, Ubuntu 

Please provide any additional information below.

I think it's not possible to have multiple indexes of the same name in the
DB. The supplied db/schema.rb creates an index called "name" for a number
of tables.

Oct 30, 2008
#2 rogerpack2005
there was a post recently to the group on postgres compat--does that fix it?
Oct 30, 2008
#3 kar...@gmail.com
It's fixed by the patch in #138.


Powered by Google Project Hosting