Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] Rails 2.3 schema_format :sql should behave like schema_format :ruby

#5889

This backports the patch in #5412 to 2-3-stable.

Reported by Gaius Centus Novus · October 29th, 2010 @ 07:10 PM

State: open
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Gaius Centus Novus
    Gaius Centus Novus

    Hmm, can't seem to upload a file here. It's posted as a Gist: http://gist.github.com/654031

    October 29th, 2010 @ 07:13 PM

  2. Mick Staugaard
  3. Mick Staugaard
  4. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 1st, 2010 @ 05:02 PM

  5. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    February 2nd, 2011 @ 04:20 PM

  6. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 2nd, 2011 @ 04:20 PM

  7. Brad Langhorst
    Brad Langhorst

    I think this should be applied...

    February 16th, 2011 @ 05:58 PM

  8. Brad Langhorst
    Brad Langhorst

    i'm attaching a fresh patch that applies to 2.3.9 (use -R)
    the current one fails to apply because of the ^mysql vs "mysql"

    February 16th, 2011 @ 07:24 PM

  9. Brad Langhorst
    Brad Langhorst

    updated the patch so that it uses the logic in test:clone_structure for db:structure:load instead of executing the lines in the structure file. test:clone_structure now uses db:structure:load just like test:clone does to db:schema:load

    fixed things so that setup loads the environment before trying to use it where necessary (db:reset and db:setup)

    added respect for the PGUSER environment variable, eliminating the -U from dump and load statements (needed for trust and ident authentication)

    this applies to 2.3.11

    April 6th, 2011 @ 04:36 PM

  10. Greg Hazel
    Greg Hazel
    • State changed from stale to open

    [state:open]

    April 26th, 2011 @ 11:14 AM

  11. Greg Hazel